Active
Project:
OpenStreetMap
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2021 at 14:29 UTC
Updated:
23 Jun 2021 at 13:10 UTC
Jump to comment: Most recent
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
Comment #2
Rodeo.be commentedComment #3
tbcs commentedHave 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.
Comment #4
Rodeo.be commentedWell, 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.
Comment #5
tbcs commentedThis 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.