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

Hi,

We try to tune the rendering of admin_level data in OSM Carto:

https://github.com/gravitystorm/openstreetmap-carto/issues/3678

but we need some stats about specific admin level distribution in the world (it's important for us to have global data, since rendering on OSMF servers covers the whole planet). How could we create a spreadsheet showing the size (area) or length of each admin level polygons? Unfortunately I'm not a coder.

Probably PBF analysis would be more convenient and versatile, but maybe a script using PostgreSQL/PostGIS features might be easier to write. I guess Overpass online is too limited for such queries, since many times I get errors about too much used memory, but maybe I'm wrong.

asked 12 Feb '19, 23:22

kocio's gravatar image

kocio
2.1k12341
accept rate: 20%

closed 17 Feb '19, 00:13

The question has been closed for the following reason "Resolved" by kocio 17 Feb '19, 00:13


permanent link

answered 16 Feb '19, 11:15

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

of course i can help.

just contaced carto team.

walter

https://github.com/gravitystorm/openstreetmap-carto/issues/3678

permanent link

answered 17 Feb '19, 00:15

wambacher's gravatar image

wambacher
31113
accept rate: 0%

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:

×26
×19
×18
×10
×8

question asked: 12 Feb '19, 23:22

question was seen: 1,429 times

last updated: 17 Feb '19, 00:15

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