Re: GridMap BoundingBox
Hi
I'm struggling to use BoundingBox in a GridMap query. Can someone help?
Thanks
Mark
Exception thrown by GridMapQuery.processGeographicalFitler(). Shape not defined in <GeographicalFilter> node.
Request
POST /ws/webservice HTTP/1.0
Host: www.nbnws.net
User-Agent: NuSOAP/0.9.5 (1.123)
Content-Type: text/xml; charset=ISO-8859-1
SOAPAction: "http://webservices.searchnbn.net/service/GetGridMap"
Content-Length: 1305
<?xml version="1.0" encoding="ISO-8859-1"?><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><GridMapRequest
xmlns="http://webservices.searchnbn.net/query"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<TaxonVersionKey>NHMSYS0000309499</TaxonVersionKey>
<Resolution>_2km</Resolution>
<GridMapSettings>
<Width>500</Width>
<Height>500</Height>
<Grid>Grid_10km</Grid>
<Background>OSMap</Background>
<Region>GB</Region>
<GeographicalFilter>
<BoundingBox
srs="EPSG_27700"
maxx="520700.0"
maxy="281300.0"
minx="519700.0"
miny="279800.0" />
</GeographicalFilter>
</GridMapSettings>
<Classification>
<Band border="#FF0000" fill="#FF0000" from="1900" to="1970" />
<Band border="#00FF00" fill="#00FF00" from="1971" to="1995" />
<Band border="#0000FF" fill="#0000FF" from="1996" to="2006" />
</Classification>
<DatasetList>
<DatasetKey>GA000144</DatasetKey>
</DatasetList>
</GridMapRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>