On Wed, Feb 29, 2012 at 9:54 AM, Dirk Vermeer <d...@labela.nl> wrote:
> Not sure if this is the right way to ask a question...
> I am wondering if there is an option in ogr2ogr to use a custom delimiter in 
> the conversion of shapefiles to csv with ogr2ogr. The csv outfile has a comma 
> as the default delimiter, but what I need is a semicolon as delimiter.
> Is this possible or do I have to write my own script to do this?

did you check out the SEPARATOR option [1]?
SEPARATOR=COMMA/SEMICOLON/TAB (Starting with GDAL 1.7.0): Field
separator character. Default value : COMMA

[1] http://www.gdal.org/ogr/drv_csv.html

-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to