Hello,
We are running a javascript script (developed for us by Matthew Moy de Vitry who worked on the water-fountains.org project) in the server side nodejs environment that relies on dependent npm modules.
The npm module we use to interface with the overpass is query-overpass and the npm module it uses to convert OSM JSON to a standard geojson collect is osmtogeojson.
Is this the best way to query overpass for osm nodes and build a geojson collection in the nodejs environment ?
Best regards,
Stuart
Le 10.01.20 à 09:33, European Water Project a écrit :
Is this the best way to query overpass for osm nodes and build a geojson collection in the nodejs environment ?
for one shoot : maybe, I don't known this tools. but to keep a uptodate database : not. Database can be keep up-to-date via diff and you can of course filter diff to only keep fountains. what does the server do with the result? I thought it was every user/app doing a query with a limited bbox around.
Regards, Marc
Hi Marc,
I store geojson files on server as client side overpass querying is not sufficiently reliable - in addition to the fact that it is apparently frowned upon.
Best regards,
Stuart
On Mon, Jan 20, 2020, 20:25 marc marc marc_marc_irc@hotmail.com wrote:
Le 10.01.20 à 09:33, European Water Project a écrit :
Is this the best way to query overpass for osm nodes and build a geojson collection in the nodejs environment ?
for one shoot : maybe, I don't known this tools. but to keep a uptodate database : not. Database can be keep up-to-date via diff and you can of course filter diff to only keep fountains. what does the server do with the result? I thought it was every user/app doing a query with a limited bbox around.
Regards, Marc _______________________________________________ talk-ch mailing list talk-ch@openstreetmap.ch http://lists.openstreetmap.ch/mailman/listinfo/talk-ch