J'enfonce certainement des portes ouvertes, mais voici enfin la manip
qui a fonctionné :
wget -O bourgogne.osm
'http://overpass-api.de/api/interpreter?data=rel[name="Bourgogne"]["disused:admin_level"=4];(._;>);out
geom;
ogr2ogr -a_srs "EPSG:4326" -t_srs "EPSG:2154" -f PostgreSQL
PG:"host=xxxx dbname=xxxx" -lco schema=xxxx -nln bourgogne_region_old
-nlt multipolygon -sql "select name from multipolygons where
name='Bourgogne'" bourgogne.osm
J'ai bien mon multipolygone dans ma base PostGIS. Nickel. Si ça peut servir…
Merci pour votre aide.
Samy
_______________________________________________
Talk-fr mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/talk-fr