Robert Osfield writes:
> The error I'm seeing looks like a flipping around the Y axis,
> rather than a small shift you report. I used the 4k imagery as Dmitry and
you used.
> After sending my last post yesterday it occured to me that perhaps its
GDAL that is the problem,
> as your code looked fine, relying upon GDAL to get the data correctly.
> The fact that you aren't see the the Y axis flip perhaps could another
hint that
> the problem is in GDAL, but has been fixed already.
The problem is that GDAL has no way of knowing
The georef of the image
< in his case the 'Y step' >
This is a common problem when importing from 'image' formats,
which can have origin at UR or LL left of image, instead of GIS formats
You can add georef
http://www.gdal.org/gdal_translate.html
or a make .tfw or .wld file to help GDAL out
http://gdal.maptools.org/frmt_various.html#WLD
Note the negative pixel Y size parameter
You can also use the GDAL .vrt system
http://www.gdal.org/gdal_vrttut.html
HTH
Norman
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/