Data are stored in a MySql db with no spatial data. instead there is a uri of gazetteer service which will return spatial data in json format.


build a timeline webgis application (openlayers ??) with these data.

My problem is how to proceed ..

Is there a framework which can produce on the fly GeoJSON data out of the box ?

  • PostGIS can ... – Nicklas Avén Dec 2 '14 at 20:16
  • PostGIS can convert GeoJSon to spatial but it can not fetch the JSON data fromn the gazeteer .... :-( – gpio Dec 3 '14 at 7:59

I probably find the answer or at least a point to start from.

There is already work done on serving on the fly a spatial layer through geoJson. https://github.com/bmcbride/PHP-Database-GeoJSON

In my case I will change the code so as get the layer attributes from the db & the location from the external gazetteer & build on the fly a GeoJSON response.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.