geotiff problem since update
Frank Warmerdam
warmerdam at POBOX.COM
Fri Mar 23 22:39:38 PDT 2007
William Reid wrote:
> The TAB file has this. (originates from EDX software for doing RF
> predictions, so if I find the problem I would like to help clue them in
> as well)
>
> !table
> !version 300
> !charset WindowsLatin1
>
> Definition Table
> File "Carters2.tif"
> Type "RASTER"
> (-78.784164,38.19123) (0,0) Label "",
> (-78.782352,37.789336) (0,1200) Label "",
> (-78.117974,38.19123) (1600,0) Label "",
> (-78.119787,37.789336) (1600,1200) Label ""
> CoordSys Earth Projection 1, 104
> Units "degree"
William,
Ah! That could explain it. The handling of TAB files for georeferencing
of TIFFs has no doubt changed. At the point where gdalinfo reports the
GCPs associated with your image, do the following to "warp to north up":
gdalwarp your.tif your_simple.tif
In fact your image is already *almost* north up so this shouldn't change
it much, but it will turn it into a geotiff with simple "world file like"
information. The output file should work fine with mapserver.
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 | President OSGeo, http://osgeo.org
More information about the MapServer-users
mailing list