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

Hi, I'm currently doing my undergraduate thesis where I compare Protocol Buffers and Flatbuffers as serialization formats for raw OSM data in map-based Web GIS applications. The client makes a request to the server who respond with OSM data. My question is, what are the typical data sizes (KB or MB) for this kind of architecture? Is there any max/min size of what is typically sent? I imagine you wouldnt send the whole Planet.osm to the client. Is there a way for me to generate these test files given a max and min size? Any answers who point me in the right direction is very appreciated. I feel like im overwhelmed with information and cant seem to find an article discussing this.

asked 07 Mar '18, 15:46

Johan%20R%C3%B6nkk%C3%B6's gravatar image

Johan Rönkkö
accept rate: 0%

edited 12 Mar '18, 22:03

aseerel4c26's gravatar image

aseerel4c26 ♦

The OSM (editing) API currently returns data in the standard OSM XML representation and limits responses both in geographic extent and size, see capabilities and map endpoint.

If you simply want to retrieve the same area in multiple formats is something you should look at. has downloads in pbf format for individual countries.

permanent link

answered 10 Mar '18, 08:03

SimonPoole's gravatar image

SimonPoole ♦
accept rate: 18%

edited 13 Mar '18, 07:52

scai's gravatar image

scai ♦

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: 07 Mar '18, 15:46

question was seen: 1,876 times

last updated: 13 Mar '18, 07:52

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