ogr2ogr -f GeoJSON output.geojson PG:"dbname=youdatabase user=postgresuser password=postgrespassword" -sql "select * from youtable"
PostGISに格納されているデータをGeoJSONへ変換する

ogr2ogr -f GeoJSON output.geojson PG:"dbname=youdatabase user=postgresuser password=postgrespassword" -sql "select * from youtable"
コメント