I've watched a few tutorials and every one that explains how to select the map and export it as an osm file have options in the export window for that. I'm using chrome on a mac and I'm presented with an export button only which directs me to a url.

If I need to use another OS, let me know. Thx.

asked 04 Jun '14, 14:57

zenmasterfoo's gravatar image

zenmasterfoo
11112
accept rate: 0%

Can you link to some of the tutorials? The site design did change last year; maybe they predate that?

(04 Jun '14, 14:59) SomeoneElse ♦

First row on screen has (as of 04 June 2014): OpenStreetMap logo - green "Edit" button - green "History" button - green "Export" button. That's the one you want, not the "share" button on the right margin.

permanent link

answered 04 Jun '14, 15:05

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
71.9k846511118
accept rate: 24%

Thanks frederick, I used that export button. Maybe the right question is how do I get the OSM file from the XML that the export button spits out?

This is what I get: http://api.openstreetmap.org/api/0.6/map?bbox=-93.7889,41.4486,-93.4082,41.7068

(04 Jun '14, 15:09) zenmasterfoo

I'm trying to import this to cityengine

(04 Jun '14, 15:19) zenmasterfoo
2

An OSM file is nothing more than an XML file with the file extension .osm

(04 Jun '14, 15:20) cartinus

That does look like quite a large area:

http://owl.apis.dev.openstreetmap.org/?box=yes&bbox=-93.7889,41.4486,-93.4082,41.7068#map=10/41.5778/-93.5986

What I suspect is happening is that the editing API (which is what the tutorial is suggesting that you use) is refusing to serve quite so much data. Using a data extract (maybe a per-city one if it exists), or cutting down a larger one with Osmosis if it doesn't, would be better. See "country and area extracts" here:

http://wiki.openstreetmap.org/wiki/Planet.osm#Downloading

(04 Jun '14, 15:23) SomeoneElse ♦
2

For a large area, you can just click on the Overpass link below the export button instead of the export button itself. It gives you exactly the data the editing API would have given you.

(05 Jun '14, 07:49) Roland Olbricht
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

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:

×565

question asked: 04 Jun '14, 14:57

question was seen: 5,241 times

last updated: 05 Jun '14, 07:49

powered by OSQA