Problem with map file serving WMS - tiff
Bart van den Eijnden (OSGIS)
bartvde at OSGIS.NL
Mon Apr 16 00:51:35 PDT 2007
What kind of values are in the location column of your tileindex dbf? Are
these relative or absolute paths?
Best regards,
Bart
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl
--------- Oorspronkelijk bericht --------
Van: Steven De Vriendt <gisaalter at GMAIL.COM>
Naar: MAPSERVER-USERS at LISTS.UMN.EDU <MAPSERVER-USERS at LISTS.UMN.EDU>
Onderwerp: [UMN_MAPSERVER-USERS] Problem with map file serving WMS - tiff
Datum: 16/04/07 05:45
> Below is my map-file for serving a tiff file using mapserver
WMS-capabilities.
> Yet, I'm unsuccesfull finding out why it doesn't work.
> Can someone have a look at it and correct it where I've gone wrong ?
> Thanks !
>
> MAP
> NAME TIFF_TEST
> STATUS ON
> SIZE 500 500
> SYMBOLSET ../etc/symbols.sym
> EXTENT 77336.359625 189988.500250 90937.297125 201812.968625
> UNITS METERS
> IMAGECOLOR 255 255 255
> FONTSET ../etc/fonts.txt
> TRANSPARENT FALSE
>
> WEB
> IMAGEPATH "/ms4w/apps/chameleon/samples/data/topo"
> IMAGEURL "/ms_tmp/"
> METADATA
> "wms_abstract" "Demo for Geotiff"
> "wms_title" "WMS Demo Server"
> "wms_onlineresource"
>
"http://0.0.0.0:8888/cgi-bin/mapserv.exe?map=/ms4w/apps/chameleon/samples/map/wmsserver_tiff.map&"
> "wms_srs" "EPSG:31300"
>
> END
> END
>
> OUTPUTFORMAT
> NAME GEOTIFF
> DRIVER "GDAL/GTiff"
> MIMETYPE "image/tiff"
> IMAGEMODE "PC256"
> EXTENSION "tif"
> END
>
>
> PROJECTION
> "init=epsg:31300"
> END
>
> LAYER
> NAME "hillshade_rough"
>
> TILEINDEX
"/ms4w/apps/chameleon/samples/data/topo/shpindex.shp"
> TILEITEM "location"
> TYPE RASTER
> STATUS ON
> # display layer only in map scales of 100000 and smaller, means
> scale values > 100000
> MINSCALE 100000
>
> METADATA
> "WMS_TITLE" "topokaarten"
> "WMS_ABSTRACT" "agiv vlaanderen"
> "WMS_SRS" "EPSG:31300"
> END
> PROJECTION
> "init=epsg:31300"
> END
>
> END
>
>
More information about the MapServer-users
mailing list