[Freegis-list] ogr2ogr: csv to shpefile (newby question)

Ken Waters ken.waters at noaa.gov
Thu Dec 29 22:41:56 CET 2005


I use gen2shp and then txt2dbf, also freeware and available for either 
Windoze or Linux/Unix.  This two-step process works just fine for 
creating fully compatible shapefiles.  If you need for the process to be 
repeatable then just call the routines in a scripting language (like 
Perl), as I do.  I do all of that, creating real-time shapefiles in both 
operating systems.

Ken

>>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
> 
>  
>


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005




More information about the Freegis-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)