Get Site Data

This service returns a map and a list of locations within the buffer specified for a given species (in this case Mytilus edulis - NBNSYS0000176602).
In this example, x,y coordinates and a buffer distance are specified.

Click here to view the source code.

Click here to view the request to the server.

Click here to view the returned XML file.

Results


DatasetCount:
RecordCount:


Locations

Request to Server

POST /ws/webservice HTTP/1.0 Host: www.nbnws.net User-Agent: NuSOAP/0.7.2 (1.94) Content-Type: text/xml; charset=UTF-8 SOAPAction: "http://webservices.searchnbn.net/service/GetSiteData" Content-Length: 855 <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:nbnq="http://webservices.searchnbn.net/query"><SOAP-ENV:Body><OneSiteDataRequest xmlns="http://webservices.searchnbn.net/query"> <GeographicalFilter> <Buffer xmlns="http://webservices.searchnbn.net/data"> <Point srs="osgb_BNG" x="231500" y="328500" /> <Distance>5000</Distance> </Buffer> <MapSettings height="400" width="400" fillColour="#ffffff" fillTransparency="0" /> <OverlayRule>overlaps</OverlayRule> </GeographicalFilter> <TaxonVersionKey>NBNSYS0000176602</TaxonVersionKey> </OneSiteDataRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
Back to the top

The Returned XML File

<?xml version="1.0" encoding="utf-8"?>

Source code for this page