Re: ogr2ogr: csv to shpefile (newby question)
Frank Koormann <[email protected]>
| Newsgroups | gmane.comp.gis.freegis |
|---|---|
| Message-ID | <[email protected]> |
Tomas, * Tomas Zajc <[email protected]> [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 -- Frank Koormann <[email protected]> Professional Service around Free Software (http://intevation.net/) FreeGIS Project (http://freegis.org/)