[gdal-dev] Problem in using gdaltransform

Klokan Petr Přidal klokan at klokan.cz
Wed Oct 29 09:33:44 EDT 2008


Dear Kai,

The coordinates itself are expected on the standard input not as parameter...

Use command:
gdaltransform -s_srs EPSG:28992 -t_srs EPSG:31370

and after it is running type in the values followed by Enter
177502 311865

It will print the transformed coordinates.

In case you need to transform a text file with coordinates use the
pipes or input/output forwarding...
example:
gdaltransform -s_srs EPSG:28992 -t_srs EPSG:31370 <input.txt >output.txt

Best regards

Klokan


On Wed, Oct 29, 2008 at 2:17 PM, Kai Behncke <Kai-Behncke at gmx.de> wrote:
> Dear users,
>
> I have got a problem using gdaltransform on Windows XP (Fwtools 2.2.6).
>
> If I try the example from http://www.gdal.org/gdaltransform.html
>
> using gdaltransform -s_srs EPSG:28992 -t_srs EPSG:31370 177502 311865
>
>
> ....I always get:
> ERROR 4: `177502' does not exist in the file system,
> and is not recognised as a supported dataset name.
>
>
> ....what kinds of dataset are accepted?
> Is there a way to type in coordinates in the line?
>
> Thank you very much in advance, Kai
> --
> GMX Download-Spiele: Preizsturz! Alle Puzzle-Spiele Deluxe über 60% billiger.
> http://games.entertainment.gmx.net/de/entertainment/games/download/puzzle/index.html
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>


More information about the gdal-dev mailing list