[FWTools] Reproject CSV Data

Frank Warmerdam warmerdam at pobox.com
Mon Jul 20 11:08:09 EST 2009


ernst_meier at gmx.de wrote:
> Hi,
> 
> i want to reproject some CSV-Data with ogr2ogr but i get only the same result as in my input.
> 
> Is it possible to reproject CSV to CSV?

Ernst,

Does OGR recognise the geometries in the CSV file?  You can determine
this by listing the features in the layer with ogrinfo and see if they
have properly formatted geometries associated with them.

If so, does OGR know the coordinate system?  Most likely not since this
is not read by the CSV driver.

What ogr2ogr commandline did you use?  Did you specify the source and
destination coordinate system?

It is *possible* to reproject from csv to csv with ogr2ogr.

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 FWTools mailing list