[OSM-talk] Global Admin Boundary Extracts

2014-03-31 Thread James Conkling
Hi all,

I've been trying to find the best way to extract global admin boundaries
for admin_level 2 - 4 (or more, depending on size).  Up until now, XAPI has
been my go-to, but that seems to tap out at anything more than 10 or 20
degrees square.

[moreover, and this might be due to a mistake on my part, not XAPI's, after
extracting and using osm2pgsql, the planet_osm_polygon table is often
incomplete, though planet_osm_line is complete.  Every time I experiment w/
semi-large (country-size) XAPI extracts, the results are slightly different]

Anyone have any pointers on how to get global extracts (extracts of large
areas, even if the resulting file is not itself large)?  Thanks for the
pointers.
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Global Admin Boundary Extracts

2014-03-31 Thread Christian Quest
Are you looking for all admin boundaries level 2-4 worldwide or just
country by country ?

FYI, if you take only France, admin_level 4 represents more than 4MB of
compressed data.

What do you want to get at the end exactly ?
OSM raw data to work on or geometries in a PostGIS database ?

You may try overpass-API, but due to the size of the result, it may just
giveup too.



2014-03-31 18:08 GMT+02:00 James Conkling james.lane.conkl...@gmail.com:

 Hi all,

 I've been trying to find the best way to extract global admin boundaries
 for admin_level 2 - 4 (or more, depending on size).  Up until now, XAPI has
 been my go-to, but that seems to tap out at anything more than 10 or 20
 degrees square.

 [moreover, and this might be due to a mistake on my part, not XAPI's,
 after extracting and using osm2pgsql, the planet_osm_polygon table is often
 incomplete, though planet_osm_line is complete.  Every time I experiment w/
 semi-large (country-size) XAPI extracts, the results are slightly different]

 Anyone have any pointers on how to get global extracts (extracts of large
 areas, even if the resulting file is not itself large)?  Thanks for the
 pointers.

 ___
 talk mailing list
 talk@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk




-- 
Christian Quest - OpenStreetMap France
Conférence State Of The Map France du 4 au 6 avril à
Parishttp://openstreetmap.fr/sotmfr
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Global Admin Boundary Extracts

2014-03-31 Thread Martin Koppenhoefer


 Am 31/mar/2014 um 19:19 schrieb Christian Quest cqu...@openstreetmap.fr:
 
 You may try overpass-API, but due to the size of the result, it may just 
 giveup too.


Get the planet from planet.osm.org and filter it with Osmosis.

Cheers,
Martin
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk