1

Re: Polygon and EPSG_4326

I am new to NBN web services and I have been looking at and modifying some of the examples available on the site. I have run into a problem with polygons as in the user defined polygons (http://data.nbn.org.uk/nbnexamples/ws-speciesListUserPoly.jsp) - the examples given all use the default spatial reference system  EPSG_27700 and when I try to create a Polygon based on EPSG_4326 I get the error message:

javax.xml.ws.soap.SOAPFaultException: Incorrect coordinate reference value in MultiPartPolygon.setCoordRef(), should be either: osgb_BNG or osni_ING, you provided: EPSG_4326

Does this mean that Polygon does not yet support EPSG_4326? Or am I doing something wrong? If I supply the same location as OSGB_BNG then I get the results I expect...

Marion

===
Marion Edwards
Web Developer/Applications Programmer
The Open University