# ogr2ogr -f "GeoJSON" output.geojson PG:"dbname=mydb user=postgres password=postgres host=localhost" "table_name"
PostGISのデータをGeoJSONに出力する

# ogr2ogr -f "GeoJSON" output.geojson PG:"dbname=mydb user=postgres password=postgres host=localhost" "table_name"
コメント