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, 23:22

kocio's gravatar image

kocio
1.7k11935
accept rate: 19%

closed 17 Feb, 00:13

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


permanent link

answered 16 Feb, 11:15

SimonPoole's gravatar image

SimonPoole ♦
38.4k13286610
accept rate: 19%

of course i can help.

just contaced carto team.

walter

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

permanent link

answered 17 Feb, 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:

×18
×17
×15
×8
×7

question asked: 12 Feb, 23:22

question was seen: 342 times

last updated: 17 Feb, 00:15

powered by OSQA