[Mapserver-users] Problem with raster images
Martin Sarsale
lists at runa.sytes.net
Fri Dec 6 10:42:59 PST 2002
Ed: I don't have the TFW file, but the TIFF is geoTIFF.
Can I build the TFW from the geoTIFF? or I should recompile mapserver to use the geotiff?
On Fri, 6 Dec 2002 13:27:52 -0500
"Ed McNierney" <ed at topozone.com> wrote:
> Martin -
>
> Do you have a world file (.TFW) of the same root name as the TIF file in the same directory? You need to have the geographic reference information to go with the TIF so MapServer knows how to locate it geographically. If you don't have such a file, you need one. If you do have such a file, could you post the contents? It's a six-line text file.
>
> - Ed
>
> Ed McNierney
> President and Chief Mapmaker
> TopoZone.com / Maps a la carte, Inc.
> 73 Princeton Street, Suite 305
> North Chelmsford, MA 01863
> ed at topozone.com
> (978) 251-4242
>
> -----Original Message-----
> From: Martin Sarsale [mailto:lists at runa.sytes.net]
> Sent: Friday, December 06, 2002 1:18 PM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [Mapserver-users] Problem with raster images
>
>
> Im trying to configure mapserver to show a background image but it's not working and Im not sure why:
> my ex1.map has:
> LAYER # Shaded Relief Raster
> NAME "coso"
> DATA "jul.tif"
> STATUS ON
> TYPE RASTER
> END
>
> but when I render the map, it shows all the other layers except this one. I've tried moving the file (jul.tif) to the same dir than ex1.map and the shapepath dir, but it still doesn't works.
>
> Then, I straced mapserver and I found that it nevers try to open the file jul.tif, so I guess there's a configuration problem, but I've no idea where it is.
>
> Some extra info:
>
> ------------
>
> ../mapserv -v
> MapServer version 3.6.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE
>
> ------------
>
> NAME P1EX1
> EXTENT 4571854.02353 5982849.309224 4577998.955481 5978889.343811
> SIZE 400 300
> SHAPEPATH "/opt/runa/mapserver/shapes/"
>
> LAYER # start of the "states" layer object
> NAME "states"
> DATA "cari-amb"
> STATUS DEFAULT
> TYPE POLYGON
> CLASS
> # COLOR 220 220 220
> OUTLINECOLOR 0 0 0
> END # end of class object
> END # end of layer object
> LAYER # start of the "states" layer object
> NAME "states"
> DATA "cari-lot"
> STATUS DEFAULT
> TYPE POLYGON
> CLASS
> # COLOR 220 220 220
> OUTLINECOLOR 200 0 0
> END # end of class object
> END # end of layer object
> LAYER # Shaded Relief Raster
> NAME "coso"
> DATA "jul.tif"
> STATUS ON
> TYPE RASTER
> END
>
> END # end of map file
> ----------
>
> pd: Where can I find a log with mapserv errors?
>
>
> thanks!
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> Re
More information about the MapServer-users
mailing list