Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I'm using http://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

like image 554
NullPointerException Avatar asked Dec 14 '11 15:12

NullPointerException


1 Answers

As the message says, if you need to process large amount of data, you generally have two options:

  1. Generate smaller requests, and later merge them before processing (this is probably not an ideal method, generally).
  2. Download planet.osm, which is a database dump of the whole of OpenStreetMap, and process it. Since it is a huge file (several GB), the first step when processing this file is usually to extract the part which is interesting for you, and there are already preprocessed extracts available (e.g. on Geofabrik).
like image 92
Mormegil Avatar answered Nov 09 '22 00:11

Mormegil



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!