[Talk-us] Moving historic railroad ways from OSM to OpenHistoricalMap
Paul Norman
penorman at mac.com
Thu Apr 2 20:27:25 UTC 2015
On 3/29/2015 5:00 AM, Mark Bradley wrote:
> Can I export these ways from OSM and then import them into OHM?
The main technical problem with moving data from one OSM API to another
(e.g. OSM to OHM, OSM to dev server, OSM to OpenGeoFiction) is making
sure to get rid of the OSM IDs, as the other APIs will need to generate
their own.
There are clever ways to do this, but one simple way is to put what you
want to move on its own layer in JOSM, convert the layer to GPX, and
convert it from GPX back to OSM. This leaves you with a completely new
way with an identical geometry. You can then copy the tags over.
This works best with a small number of long complex ways.
The correct way to do this would be to extract the ways into a file,
invert all the IDs and ID references in the file, and upload it to the
other API.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-us/attachments/20150402/b26b1fd2/attachment.html>
More information about the Talk-us
mailing list