NopMap wrote:

Hi!


Frank Warmerdam wrote:
You need to specify the corners in the coordinate system of the
image.  So the values should be the meter based projected coordinates
like 1102062,6818226.


Is this also true for -projwin? From the documentation I got the impression
that -srcwin requires meters while -projwin accepted the coordinates in
lat/lon??

Nop,

-srcwin takes the locations in pixel/line coordinate system.  -projwin
takes it in the coordinate system of the image, which might be projected
or geographic depending on the image.  But from the gdalinfo report I can
see your image is projected.

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

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to