[Mapserver-users] GeoTiff's
Lowell Filak
lfilak at medinaco.org
Tue Dec 2 08:16:05 PST 2003
As a test you can temporarily ignore & comment out the projection
information and then set the map extent to the extents of the tif and
that will give you a starting point.
To calculate the extents use the wld file coordinates as (I think) the
min x & max y and use the actual_image_size * the map_units_per_pixel
figure from the wld file to calculate the max x and min y values.
HTH
Lowell
The following message was sent by "Andy Green" <green at fboweb.com> on
Tue, 2 Dec 2003 09:59:47 -0500.
> Ok, I've done that (renamed it from .tfw to .wld), but I'm still running
> into trouble with the map not being in the location it should be, which
> makes me think there COULD be a problem with the projection...
>
> But the .TIF is in the LCC projection, and it's the only layer in the
> map, so I've set the map's projection to be LCC as well. Shouldn't that
> solve my problems as far as reprojection is concerned?
>
> Andy, green at fboweb.com
>
> PS: Thanks for responding...! So far at this point, ANY help is
> greatly appreciated! :-)
>
>
> -----Original Message-----
> From: Lowell Filak [mailto:lfilak at medinaco.org]
> Sent: Tuesday, December 02, 2003 9:34 AM
> To: Andy Green; 'Mapserver List'
> Subject: Re: [Mapserver-users] GeoTiff's
>
> In the past we have had to rename the tfw's to wld for it to work.
> This assumes there is no reprojection required.
>
> Lowell
>
> The following message was sent by "Andy Green" <green at fboweb.com> on
> Mon, 1 Dec 2003 23:45:44 -0500.
>
> > I have a Geotiff layer. it's called Sample.tif. The vendor provided a
> > .TFW file, called sample.tfw.
> >
> > Do I have to do anything special to get the Mapserver to recognize the
> > .tfw file? Do I have to rename it to sample.wld?
> >
> > How does that all work?
> >
> > Andy, green at fboweb.com
> >
> >
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list