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

Typical data sizes of raw OSM data for map-based WEB GIS applications

0

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


One Answer:

4

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.

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

Source code available on GitHub .