1

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

2

Re: NBN Error messages

Thanks James,

glad you found an exception you like :). We've come across your second example recently and it is proving difficult to deal with.  It seems to be a memory issue when lots of data has been extracted by the query - hence you got it for a big polygon.  We haven't yet sussed out how to turn it into a nice message yet since it isn't being picked up as an OutOfMemory exception :/.

Jon