Re: NBN Error messages
Hi,
Just tried to do a query off France - and got back a very tidy error:
Exception thrown by PolygonQuery.getPointFromLatLong(). The WGS84 lat/long coordinates supplied (-4.682665451280027,48.009852545538294) fall outside of the British and Irish national grids. The NBN Gateway doesn't yet operate outside this area
Excellent ! :D
Tried for what I suspect is too big a polygon off the UK and got:
RuntimeException thrown by PolygonQuery.setQueryElement().
Not quite so helpful !
Query was:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><SpeciesListRequest status="4" xmlns="http://webservices.searchnbn.net/query"><GeographicalFilter><BoundingBox srs="EPSG_4326" minx="-5.8935012119030477" miny="49.922070205415828" maxx="-5.1282320705311317" maxy="50.36689203902398" xmlns="http://webservices.searchnbn.net/data" /><MapSettings /></GeographicalFilter></SpeciesListRequest></soap:Body></soap:Envelope>
Just one for the back burner to tidy up in your idle moments ;)
Thanks
James