Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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:

http://pastebin.com/wi4CUAmc

share|improve this question
    
Use Openlayers you can re-project your requests on the fly - see gis.stackexchange.com/questions/8196/… –  Mapperz Jun 3 '13 at 14:07
    
Can you post some of your code - your other question would get better answers gis.stackexchange.com/questions/62531/… or live link to what you have been trying. –  Mapperz Jun 3 '13 at 14:11
    
which server are you using –  iant Jun 3 '13 at 14:14
    
pastebin: pastebin.com/wi4CUAmc –  James Williams Jun 3 '13 at 14:17
1  
looks like you need proj4js to make epsg:27700 work and you don't seem to actually use the variable anyway –  iant Jun 4 '13 at 7:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.