NOTICE: help.openstreetmap.org 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ö
11112
accept rate: 0%

edited 12 Mar '18, 22:03

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


The OSM (editing) API currently returns data in the standard OSM XML representation and limits responses both in geographic extent and size, see https://wiki.openstreetmap.org/wiki/API_v0.6 capabilities and map endpoint.

If you simply want to retrieve the same area in multiple formats https://extract.bbbike.org/ is something you should look at. http://download.geofabrik.de/ has downloads in pbf format for individual countries.

permanent link

answered 10 Mar '18, 08:03

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 13 Mar '18, 07:52

scai's gravatar image

scai ♦
33.3k21309459

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:

×230
×56
×30
×7
×4

question asked: 07 Mar '18, 15:46

question was seen: 1,767 times

last updated: 13 Mar '18, 07:52

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