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

[closed] admin_level data analysis

0

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


2 Answers:

1

answered 16 Feb '19, 11:15

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

1

of course i can help.

just contaced carto team.

walter

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

answered 17 Feb '19, 00:15

wambacher's gravatar image

wambacher
31113
accept rate: 0%

Source code available on GitHub .