[gdal-dev] SHP to CSV

Mullins, Steven Steven.Mullins at dmme.virginia.gov
Thu Nov 20 15:49:09 EST 2008


Frank,

That makes sense ;).  I just threw a perl script togther (using Geo::GDAL) to do it instead.

Thanks,

Steve

-----Original Message-----
From: Frank Warmerdam [mailto:warmerdam at pobox.com]
Sent: Thu, November 20, 2008 11:22 AM
To: Mullins, Steven
Cc: gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] SHP to CSV


Mullins, Steven wrote:
> Using: GDAL 1.6.0dev, FWTools 2.2.1, released 2008/06/17
> 
> 
> ogr2ogr -f csv test_geo geology-all.shp -lco GEOMETRY=AS_XY
> 
> Dumps a CSV file with the attributes of the shape, but with no
> coordinate fields per the "GEOMETRY=AS_XY" options.  The shape 
> does have point geometry.  
> 
> Any ideas why this would not work?

Steve,

The GEOMETRY=AS_XY support was only implemented within the last couple
weeks and is not in the released FWTools (date June 2008).

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list