jimjonesbr / lod4wfs

Server application for publishing Geographic Linked Open Datasets via Web Feature Services.
MIT License
13 stars 7 forks source link

Normal GeoJson #26

Closed nicky508 closed 7 years ago

nicky508 commented 7 years ago

GeoJson only works through JSONP, however other WFS application provide GeoJson in a plain Json way. Would it be possible to implement a plain GeoJson way instead of the mandatory JSONP way. This makes it possible to handle LOD4WFS maps as normal WFS maps through uniform GeoJson..

jimjonesbr commented 7 years ago

Hello there! Thanks for reporting the issue. I just submitted a quick fix that might solve your issue. After you update your source code, try the following request:

http://localhost:8088/lod4wfs/wfs?service=wfs&version=1.0.0&request=GetFeature&typename=fda:gb_codes&outputformat=text/javascript&format_options=geojson

Just use "geojson" instead of "callback:loadgeojson".

Let me know if it works for you. I'm still recovering from a surgery, so I'm unable to do any major change till next week.

nicky508 commented 7 years ago

Nice, it works. Thanks, for you fast fix. Get healthy!

jimjonesbr commented 7 years ago

Great!