Serve GeoTIFF with Mapserver

Steven De Vriendt gisaalter at GMAIL.COM
Fri Mar 31 04:20:35 EST 2006


Norman

You can find a zip file containing the geotiff and tfw file on this url:

http://www.9880.be/topo/topo.zip

Thanks for helping out !

Steven

On 3/31/06, Norman Barker <nbarker at rsinc.com> wrote:
>
>
>
>
>  ------------------------------
>
> *From:* Steven De Vriendt [mailto:gisaalter at gmail.com]
> *Sent:* Friday, March 31, 2006 10:06 AM
> *To:* Norman Barker
> *Cc:* MAPSERVER-USERS at lists.umn.edu
> *Subject:* Re: [UMN_MAPSERVER-USERS] Serve GeoTIFF with Mapserver
>
>
>
>
>
> Norman, thanks for your quick reply. I've did some cut and paste work
> based on your tutorial, thanks !
>
> This is my mapfile, I think 10meg is quite big for posting here, so I
> think I have to leave you with this mapfile...Thanks for helping out !
>
>
>
> MAP
> NAME DEMO
> STATUS ON
> SIZE 500 500
> SYMBOLSET ../etc/symbols.sym
> EXTENT 77336.359625 189988.500250 90937.297125 201812.968625
> UNITS METERS
> SHAPEPATH "/ms4w/apps/chameleon/samples/data/topo"
> IMAGECOLOR 125 125 125
> FONTSET ../etc/fonts.txt
> TRANSPARENT FALSE
>
> PROJECTION
>  "init=epsg:31300"
> END
>
> OUTPUTFORMAT
>     NAME GEOTIFF
>     DRIVER "GDAL/GTiff"
>     MIMETYPE "image/tiff"
>     IMAGEMODE "RGB"
>     EXTENSION "tif"
> END
>
>
> WEB
>   IMAGEPATH "c:/ms4w/tmp/ms_tmp/"
>   IMAGEURL "/ms_tmp/"
>  METADATA
>   "wms_title" "Aalter_WMS"
>   "wms_onlineresource" "http://10.109.2.100/cgi-bin/mapserv.exe?map=/ms4w/apps/chameleon/samples/map/wmsserver.map
> &"
>   "wcs_description" "Orthospot mosaic"
>   "wcs_name" "TOPO"
>   "wcs_label" "Topokaart"
>    "ows_srs" "EPSG:31300"
>   "ows_extent" "77336.359625 189988.500250 90937.297125 201812.968625"
>   "wcs_resolution" "381 381"
>   "wcs_bandcount" "1"
>   "wcs_formats" "GEOTIFF"
>   "wcs_nativeformat" "8-bit GeoTIF"
>
>
>  END
> END
>
>   LAYER
>      NAME topokaart
>      DATA t136n.tif
>      TYPE RASTER
>      STATUS ON
>      PROCESSING "SCALE=AUTO"
>      DUMP TRUE
>      METADATA
>
>          "wms_title" "AALTER"
>       END
>      TRANSPARENCY 0
>      OFFSITE 255 255 255
>     PROJECTION
>   "init=epsg:31300"
>     END
>
>  END
>
>
>
> END
>
>
>
>
>
>
>
>
>
>
> On 3/31/06, *Norman Barker* <nbarker at rsinc.com> wrote:
>
>
>
>
>  ------------------------------
>
> *From:* UMN MapServer Users List [mailto: MAPSERVER-USERS at LISTS.UMN.EDU] *On
> Behalf Of *Steven De Vriendt
> *Sent:* Friday, March 31, 2006 9:21 AM
> *To:* MAPSERVER-USERS at LISTS.UMN.EDU
> *Subject:* [UMN_MAPSERVER-USERS] Serve GeoTIFF with Mapserver
>
>
>
> Hi,
>
>
>
> Related to the raster serving images question, I'd like to ask if there's
> a reference
>
> for serving geotiff files ? What do I need to specify more in the map file
>
> for letting mapserver to do this. I've tried with the WCS tutorials but I
>
> think I'm missing out on something because I can't see my geotiff...
>
>
>
> Steven,
>
>
>
> Any chance you can post your map file, and a sample (small) geotiff?  I
> have used MapServer WCS a lot, and it is very good / stable.
>
>
>
> Gail Millin and myself wrote a tutorial here
> http://mapserver.gis.umn.edu/docs/howto/WCSServerFormatHowTo that may be
> of use as well.
>
>
>
> Norman
>
>
>
> Hi Steven,
>
>
>
> You seem to be mixed up between a WMS and WCS (see the processing option
> in your map file, and the geotiff format with RGB), you can send the 10mb
> tiff to me directly (not to the list) and I will see if I can get it
> working, and post back the map file.  I think the more WCS map file examples
> we can get out the more it will be adopted.
>
>
>
> Norman
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060331/faf252a9/attachment.html


More information about the mapserver-users mailing list