Problem/Motivation

Hey, I have been playing around with the tool. One of the difficulties is pulling in the live data: finding the relevant nodes in Overpass for the first time.
The most effective method imho is to use Overpass online and export the results directly from that tool, eg. as JSON or raw OSM data.

What would be an effective method to import those results in the Drupal module? Any idea? Do you consider adding this feature?

Comments

Rodeo.be created an issue. See original summary.

Rodeo.be’s picture

Issue summary: View changes
tbcs’s picture

Have you tried using the bundled "Overpass Queries" module? This allows you to take a working overpass query and save it, and import nodes from it. It's also useful for running the import on a cron job, for instance if the node information changes.

Rodeo.be’s picture

Well, I would like to import between 100k en 300k nodes and them keep them up to date with the OSM database. A challenge I can imagine :-)

Importing the nodes

Downloading them using overpass is difficult. The overpass queries on my website freeze in most of the cases. I wondered whether I could import the nodes in a different way, eg by uploading a geoJSON / text file / xml file instead (I can get a list of these nodes without using overpass)

Keeping the list up to date

With already >10k osm nodes on the site, the admin/content/osm_node/sync option does not work either. Will check this in the coming weeks.

tbcs’s picture

This is good feedback. We are just starting on a new project keeping about that number in sync, so I will have to do some load testing anyway. I will update this issue as I work on it.