[FWTools] Reproject CSV Data

Ernst Meier ernst_meier at gmx.de
Mon Jul 20 12:30:19 EST 2009


Here ist my Data: test.csv

RW,HW,PNR
2572617.12,5644342.59,"1001"

My test.vrt:

<OGRVRTDataSource>
    <OGRVRTLayer name="test">
        <SrcDataSource>test.csv</SrcDataSource>
        <GeometryType>wkbPoint</GeometryType>
        <GeometryField encoding="PointFromColumns" x="RW" y="HW"/>
    </OGRVRTLayer>
</OGRVRTDataSource>


and here ist my commandline:

ogr2ogr -s_srs "epsg:31466" -t_srs "epsg:25832" -f "CSV" test_etrs.csv test.vrt

and the result:

RW,HW,PNR
2584617.12,5653342.59,1001

I tried cs2cs but i need an extra field for (PNR) identfication.

Ernst
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01


More information about the FWTools mailing list