This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

how can I export to xml? I only find .osm

0

I am also trying to export to an XML file. I am using a very small map. I just get EXPORT and it automatically exports to an .osm file. I do not see the option for XML.

asked 29 Oct '13, 16:00

llcotton44's gravatar image

llcotton44
26113
accept rate: 0%

edited 29 Oct '13, 20:17

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


2 Answers:

3

.osm is the file extension you get by default for XML files from the OSM website's "export" function:

alt text

answered 29 Oct '13, 16:46

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

edited 29 Oct '13, 19:53

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

1

I was able to open the file, thank you. I was expecting street names to be included in the spreadsheet. Do I have do something else to get street names?

(29 Oct '13, 18:41) llcotton44
2

This is not a spreadsheet, it is raw OSM data. See OSM XML for an explanation. It contains everything also contained in the database, including street names.

(29 Oct '13, 18:51) scai ♦

I am including the row from the download version generator copyright attribution license minlat minlon maxlat maxlon id visible version2 changeset timestamp user uid lat lon k v id3 visible4 version5 changeset6 timestamp7 user8 uid9 ref k10 v11 id12 visible13 version14 changeset15 timestamp16 user17 uid18 type ref19 role k20 v21

what am I doing wrong to not get street names?

(29 Oct '13, 18:53) llcotton44

1

I made this so hard. Include the osm file in Argis and all the info is there. thank you

answered 29 Oct '13, 19:04

llcotton44's gravatar image

llcotton44
26113
accept rate: 0%

Source code available on GitHub .