Created
March 12, 2013 09:15
-
-
Save jsanz/5141420 to your computer and use it in GitHub Desktop.
From CartoDB to DXF, with all my love to CAD users
This file contains hidden or 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
# With the GeoJSON OGR driver one can use the CartoDB SQL API to create any OGR supported format output | |
# OGR Formats: http://gdal.org/ogr/ogr_formats.html | |
# CartoDB SQL API: http://developers.cartodb.com/documentation/sql-api.html | |
# This sample creates a DXF making a "select the_geom from meteo" from my account at CartoDB | |
ogr2ogr -skipfailures -f DXF out.dxf "http://xurxosanz.cartodb.com/api/v2/sql?q=select%20the_geom%20from%20meteo&format=GeoJSON" OGRGeoJSON |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment