NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I have downloaded the planet.osm as XML and am looking to break this down into smaller maps so that my computer may process them. I think that I will be able to handle at least 1 degree by 1 degree (i.e. W160 to W159 & N89 to N90 and so forth), but it is very tedious to do this in osmosis with command line. Can anyone think of a method through which I could automate the process?

Thank you,

asked 10 Jul '12, 18:47

somedude's gravatar image

accept rate: 0%

edited 11 Jul '12, 14:48

srbrook's gravatar image


There are several special-use programs that will split the planet into many small bits at the same time. One of them is (reads XML only, makes equal-sized squares, no support for relations); another is (reads PBF as well, makes variable-sizes squares based on how much data is in them).

permanent link

answered 10 Jul '12, 19:08

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

Not a direct answer to your question, but just in case you're not aware - there are a number of places where regularly updated planet extracts are available. Depending on what you want to do with the data, it might be easier using one or more of those than trying to process the whole planet.

permanent link

answered 10 Jul '12, 23:14

SomeoneElse's gravatar image

SomeoneElse ♦
accept rate: 16%

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 10 Jul '12, 18:47

question was seen: 2,922 times

last updated: 11 Jul '12, 14:48

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum