OpenStreetMap

Merge POI-database with OSM extracts - Which ID?

Posted by GoemonGPS on 17 August 2010 in English (English)

I have different own POI databases that I like to merge with OSM data. I have converted my data to OSM XML files and megr them with osmosis. So far it works, but I wonder if there are any restrictions to the node ID number. Which number ranges are safe to use and will never have a conflict with extracts frm planet.osm file?

PS: the additional data I use are SRTM contours, geocache way-points and other location based POIs. I pack it into GPSmid on my phone.

Comment from iandees on 17 August 2010 at 12:47

Data that has not been loaded into the OSM database yet should use negative ID numbers. There are no "safe" positive ID ranges as they will all be used eventually.

Hide this comment

Comment from onion on 18 August 2010 at 08:03

Use negative numbers in your generated file. Then for example load in with josm, upload and now save the osm file, then you should have proper id numbers if that is all you need.

Hide this comment

Leave a comment

Parsed with Markdown

  • Headings

    # Heading
    ## Subheading

  • Unordered list

    * First item
    * Second item

  • Ordered list

    1. First item
    2. Second item

  • Link

    [Text](URL)
  • Image

    ![Alt text](URL)

Login to leave a comment