geotiff problem since update

William Reid wer at CSTONE.NET
Sat Mar 24 00:48:06 EDT 2007


Frank.

You are a gentlemen and a scholar!  Thank you so much for all you do!

-=Bill


Frank Warmerdam wrote:

> 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,



More information about the mapserver-users mailing list