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

You requested too many nodes (limit is 50000). Either request a smaller area, or use planet.osm

0

I'm using https://www.openstreetmap.org/ export utility to generate a .osm (xml map file) of an area, to later generate a .map file with osmosis, but i can't extract the .osm because i got this error:

"You requested too many nodes (limit is 50000). Either request a smaller area, or use planet.osm"

How can i generate maps of more than 50.000 nodes? how to use planet.osm? i'm blocked :S

asked 14 Dec '11, 15:30

AndroidUser99's gravatar image

AndroidUser99
1506812
accept rate: 0%


One Answer:

5

See the wiki sections on Extracts and Osmosis to find out how to download an extract covering the area you want (I tend to use the Geofabrik ones) and Osmosis to cut out the area you want.

answered 14 Dec '11, 16:16

EdLoach's gravatar image

EdLoach ♦
19.5k16156280
accept rate: 22%

i'm blocked, i readed the documentation but i can't understand something. i have spain.osm.pbf, and i want the area of barcelona city, but i have NO IDEA of how to generate barcelona.osm........ i'm in the same point as the begining –

(14 Dec '11, 16:18) AndroidUser99
4

If you have spain.osm.pbf the next step is to get Osmosis running. You will need command line options something like: --read-pbf file=spain.osm.pbf --bounding-box top=41.499 left=1.982 bottom=41.238 right=2.349 --write-osm file=barcelona.osm Though you might want to check the top/left/bottom/right are where you want them.

(14 Dec '11, 16:24) EdLoach ♦

Source code available on GitHub .