Selon Dirk Vermeer <[email protected]>: > 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?
See the SEPARATOR layer creation option documented in http://gdal.org/ogr/drv_csv.html . For example : ogr2ogr -f CSV dest.csv src.shp -lco SEPARATOR=SEMICOLON > > Thank you > > Dirk > > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
