Created
January 15, 2015 10:08
-
-
Save bertbalcaen/f634e9841f6ea668e640 to your computer and use it in GitHub Desktop.
Convert geometry from an OpenStreetMap Postgress database into GeoJSON
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT ST_AsGeoJSON(ST_Transform(geometry, 4326)), area FROM osm_buildings WHERE id = 1374; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment