I'm trying to code an interface that allows a user to draw a vector shape on openstreetmap, which is then converted to a WKT string, processed by the server and sent of as a WFS query to emapsite (which provide the Ordnance Survey data, including a veru detailed vector layer of the UK). However the issue I'm having is that when I draw a polygon around all of the UK (which should obviously return data), I'm not getting data returned (as in the server says there are no vectors there). However when I draw a polygon in the south-west corner of Africa (just off the coast of Nigeria), I'm getting a huge amount of data returned. Ordnance Survey uses EPSG:27700 (OSM uses EPSG:90013), which I don't really understand, but I imagine that I'm not doing projection conversions that are necessary. code below:




Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.