[Freegis-list] ogr2ogr: csv to shpefile (newby question)
Bart van den Eijnden
bartvde at xs4all.nl
Thu Dec 29 18:52:29 CET 2005
Use the virtual spatial data option for your source (this can be csv):
http://www.gdal.org/ogr/drv_vrt.html
Anyway, this question would be better addressed on the gdal-dev list.
Best regards,
Bart
Frank Koormann wrote:
>Tomas,
>
>* Tomas Zajc <tzajc at conae.gov.ar> [051228 23:27]:
>
>
>>I'm not getting the error message any more but I'm not geting the three files
>>either. Is there any way of getting th .shx .shp an .dbf from a csv with
>>ogr2ogr?
>>
>>
>
>No: http://gdal.maptools.org/ogr/drv_csv.html
>
>"OGR supports reading and writing non-spatial tabular data stored in
>text CSV files."
>
>
>
>>Is there any other (command line) application that can convert csv to
>>shapefiles? gen2shp only convert generate files that can't contain
>>attributes.
>>
>>
>
>But it shouldn't be that hard to cut the coordinates and the attributes
>from your csv into two different tables. Apply gen2shp to generate
>the geometry files and in a second step run e.g. ogr2ogr to create
>the dbase attributes.
>
>HTH,
>
> Frank Koormann
>
>
>
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl
More information about the Freegis-list
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)