[mapserver-users] Re: Problems with Mapserver as WMS service (jpeg)

Jörg Thomsen jt at mapmedia.de
Sun Oct 30 15:23:58 EDT 2011


Hi,

perhaps it is the 'status OFF?'

Jörg

Am 30.10.2011 16:16, schrieb Chrishelring:
> Hi,
> 
> below is a snipped part of the map file. I´ve removed the layers that is
> working but kept the one which is not (the orto2011 layer). If you need the
> complete map file I´ll send it.
> 
> The layer is a ECW raster file (complete mosaiced ECW of the municipality
> i´m working in). When I try to use the WMS service in ArcGIS og Mapinfo the
> layer is just showing "white" / nothing.
> 
> The map-file is auto-generated in our webgis solution.
> 
>  
> map
> name ''
> status ON
> size 830 475
>  
> projection
>  "init=epsg:25832"
> end
> shapepath
> 'E:\spatialsuite\sites\test-webgis\appbase\wwwroot\WEB-INF\data\shp'
> units meters
> maxsize 10000
> extent 713000 6173000 720000 6180000
> fontset
> 'E:\spatialsuite\sites\test-webgis\appbase\wwwroot\WEB-INF\resources/fonts/fontset.txt'
> symbolset
> 'E:\spatialsuite\sites\test-webgis\appbase\wwwroot\WEB-INF\resources/symbols/symbols3_5.txt'
> imagecolor 255 255 255
> datapattern '.*'
> templatepattern '.*'
> imagetype png24
>  
> outputformat
>   name 'jpeg24'
>   mimetype "image/jpeg"
>   driver "agg/JPEG"
>   imagemode RGB
>   extension "jpeg"
>   formatoption "QUALITY=80 INTERLACE=ON"
> end
>  
> outputformat
>   name 'jpeg24_gd'
>   mimetype "image/jpg"
>   driver "GD/JPEG"
>   imagemode RGB
>   extension "jpg"
>   formatoption "QUALITY=90"
> end
>  
> outputformat
>   name 'png24'
>   mimetype "image/png"
>   driver "AGG/PNG"
>   imagemode RGB
>   extension "png"
> end
>  
> outputformat
>   name 'gif'
>   mimetype "image/gif"
>   driver "GD/GIF"
>   imagemode PC256
>   extension "gif"
>   transparent ON
> end
>  
> outputformat
>   name 'imagemap'
>   mimetype "text/html"
>   driver imagemap
> end
>  
> web
>   template
> 'E:\spatialsuite\sites\test-webgis\appbase\wwwroot\WEB-INF\tmp/mapserver.html'
>   minscale 100
>   imagepath 'E:\spatialsuite\sites\test-webgis\appbase\wwwroot\tmp\'
>   log
> 'E:\spatialsuite\sites\test-webgis\appbase\wwwroot\WEB-INF\log\mapserver.log'
>   empty '[cbinfo.emptypage]'
>  
>   metadata
>  "wms_title"  "Rødovre Kommunes WMS service - Test" 
>            "wms_onlineresource"
> "http://test-webgis:9180/wms?servicename=rk-wms&" 
>            "wms_srs" "epsg:32632 epsg:23032 epsg:25832" 
>            "wms_feature_info_mime_type" "text/xml"
>            "wms_server_version" "1.1.1"            
>            "wms_extent" "713000 6173000 720000 6180000"
>   end
> end
>  
> querymap
>   status ON
>   style SELECTED
> end
>  
> legend
>   status OFF
>   keysize 15 10
>   position ul
>   imagecolor 255 255 255
>  
>   label
>     type TRUETYPE
>     antialias true
>     font arial
>     size 8
>     color 0 0 0
>   end
> end
>  
> reference
>   status OFF
>   size 140 96
> 
>  #            <extent>708960.416667 6167500.000000 720189.583333
> 6175200.000000</extent>
>   extent 713000 6173000 720000 6180000
>   color -1 -1 -1
>   outlinecolor 210 136 0
>   image
> 'E:\spatialsuite\sites\test-webgis\appbase\wwwroot/images/custom/test/oversigt1.gif'
> end
>  
> scalebar
>   status OFF
>   imagecolor 255 255 255
>  
>   label
>     type BITMAP
>     outlinecolor 255 255 255
>     size medium
>     color 0 0 0
>   end
>   size 200 5
>   color 255 255 255
>   backgroundcolor 0 0 0
>   outlinecolor 0 0 0
>   intervals 5
>   position ll
>   transparent false
>   units meters
> end
> 
>  #Imported from
> E:\spatialsuite\sites\test-webgis\appbase\wwwroot\WEB-INF\config\themes\custom\theme-orto-2011-gwc.xml
>  
> layer
>   name 'orto2011'
>   status off
>   type RASTER
>  
>   class
>     name 'Luftfoto 2011'
>   end
>   data 'E:\spatialsuite\data\ortofoto\orto2011\Kommune\Rodovre_2011.ecw'
>   transparency 100
>  
>   metadata
>  "wms_extent" "713000 6173000 720000 6180000"
> "wms_title" "orto2011"
> "wms_group_title" "orto2011"
> "wms_srs" "EPSG:25832"
>   end
>   group 'theme-orto-2011-gwc'
>  
>   projection
>  "init=EPSG:25832"
>   end
> end
> end
> 
> 
> 
> 
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problems-with-Mapserver-as-WMS-service-jpeg-tp6941932p6945688.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Aufwind durch Wissen!

Qualifizierte Open Source Schulungen bei der
http://www.foss-akademie.de/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_________________________________________________

MapMedia
Kartographie und raumbezogene Informationssysteme

Gillweg 3, 14193 Berlin
fon: +49 30 89 06 82-70
fax: +49 30 89 09 53-21
mail: jt at mapmedia.de
net:  www.mapmedia.de
_________________________________________________



Geschäftsführer: G. v. Tschirnhaus, J. Thomsen, P. Stamm
Registergericht, Berlin - Amtsgericht Charlottenburg,
HRB 89625, Umsatzsteuer-Identnummer: DE 813794062


More information about the mapserver-users mailing list