0

Hi folks, I have a self-tailored line shapefile from Mapzen and a self-generated point shapefile, which match perfectly after testing in QGIS. Now, I would like to convert both shapefiles into an OSM file, either .pbf or .xml

I found the link, but got confused which tool is better for such a conversion.

P.S.: I tried on Merkaartor on Windows, and all versions (0.18.2 and 0.18.3) cannot load my files.

Thank you very much for your time.

asked 07 Jun '17, 15:55

gchen36's gravatar image

gchen36
11112
accept rate: 0%

JOSM works!

(07 Jun '17, 17:55) gchen36

One Answer:
0

Hi

I can tell you the process for JOSM in Windows. Download and install JOSM. Open it. Go to Edit --> Preference --> Plugins Search for the "OpenData" plugin. Check the box beside it and press ok to download and install it. Drag and drop the shape file into JOSM and press Ctrl + S to save it as an OSM file. This OSM file itself is a XML file. Just change the .osm to .xml and you are good to go.

Check the below links for more:

https://gis.stackexchange.com/questions/177371/how-to-convert-osm-file-into-xml

http://wiki.openstreetmap.org/wiki/OSM_XML

permanent link

answered 08 Jun '17, 05:52

mmahmud's gravatar image

mmahmud
6085924
accept rate: 3%

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×585
×74

question asked: 07 Jun '17, 15:55

question was seen: 1,953 times

last updated: 08 Jun '17, 05:52

powered by OSQA