[Mapserver-users] Raster layer and Projection
Pericles Nacionales
nacional at biosci.cbs.umn.edu
Tue Dec 10 08:44:34 PST 2002
Frauke,
Is it because your output map is in latlong while your raster layer isn't?
You either have to reproject the raster layer beforehand or use proj and
gdal to reproject it on-the-fly.
Pericles S. Nacionales
nacional at biosci.umn.edu
On Tue, 10 Dec 2002 frauke.trurnit at gmx.de wrote:
> Hello list,
>
> I've some problems with rasterlayer. I hava a 8bit-tif and a tfw world file
> in the same directory. In the Browser however no map appears. What's wrong
> with the mapfile?
>
> In addition an error message appears in the Browser, if I use the
> projection indicated down.
> Error message:
> msProcessProjection(): Projection library error. unknown projection id
>
>
> The world file looks like that:
> 1.00000000000000000
> 0.0
> 0.0
> -1.00000000000000000
> 509854.76027950307
> 5408094.4232678544
>
> My mapfile:
> NAME "Raster-Stuttgart"
> STATUS ON
> EXTENT 9.1351 48.8274 9.2707 48.7373
> UNITS dd
> SIZE 500 500
> SHAPEPATH "/www/projects/raster/data/raster/"
>
> IMAGECOLOR 230 230 230
> IMAGETYPE GIF
>
> #PROJECTION
> # proj=UTM
> # ellps=WGS84
> # datum=WGS84
> # zone=32
> # north
> # no_defs
> #END
>
> WEB
> TEMPLATE "./raster.html"
> IMAGEPATH "/usr/local/httpd/htdocs/ms_temp/"
> IMAGEURL "http://172.23.71.157/ms_temp/"
> END
>
> #Maßstab--------------------------------------------------------------------
> SCALEBAR
> STATUS ON
> POSITION ll
> STYLE 0 #Stil 0:s/w Sektionen
> SIZE 200 5
> COLOR 0 0 0 #Farbe scalebar
> OUTLINECOLOR 0 0 0 #Umrissfarbe für Intervalle
> IMAGECOLOR 255 255 255
> UNITS kilometers
> INTERVALS 4 #Intervallanzahl (default=4)
> LABEL
> SIZE small
> COLOR 0 0 0
> END
> END # Scalebar
>
> #HTML LGENDE--------------------------------------------------------------
> LEGEND
> STATUS ON
> KEYSIZE 18 12
> LABEL
> TYPE TRUETYPE
> FONT arial
> COLOR 0 0 0
> SIZE 12
> ANTIALIAS TRUE #Kantenglättung
> END
> TEMPLATE "../legende.html"
> END #legend
>
> #LAYER DEFINITIONEN---------------------------------------------------------
> LAYER
> NAME "Stuttgart"
> DATA "stgt_d7517_unk.tif"
> TYPE Raster
> STATUS ON
> END
>
> END #mapfile
>
> Frauke Trurnit
>
> --
> +++ GMX - Mail, Messaging & more http://www.gmx.net +++
> NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
>
> _______________________________________________
> 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