[mapguide-users] WMS Projections and Transperancy

Wim Blanken w.blanken at sunside.nl
Mon Feb 19 11:18:17 EST 2007


Hello Scott,

This is a problem I also had. The only way to get transparency working with
WMS Mapserver is with PNG production. My Mapserver Mapfile has the following
parameters:

MAP
  EXTENT 10000 305000 280000 619000
  IMAGECOLOR 100 100 100
  IMAGETYPE png
  INTERLACE TRUE
  SHAPEPATH "/ms4w/geodata"
  SIZE 860 590
  STATUS ON
  TRANSPARENT TRUE
  UNITS METERS
  NAME "DEMO"

  OUTPUTFORMAT
    NAME png
    MIMETYPE image/png
    DRIVER GD/PNG
    EXTENSION png
    IMAGEMODE PC256
    TRANSPARENT TRUE
  END

And I use the following wms request:

http://192.168.1.107:8080/cgi-bin/mapserv.exe?map=/ms4w/Apache/htdocs/mapfil
es/testwms.map&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:28992&WIDTH=512&HEIGHT=
512&LAYERS=spoorwegen&TRANSPARENT=TRUE&FORMAT=image/png

Mind the image/png parameter. And I think the specification of the OUTPUT
parameter in the mapfile is also obliged.

With gif I had more problems. The only way I managed to get gif transparency
is using a label with the color gray (f.e. 100 100 100). Very strange and
Therefore I now use only png with WMS Mapserver.

Regards,

Wim Blanken
The Netherlands




-----Oorspronkelijk bericht-----
Van: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] Namens Scott Hameister
Verzonden: maandag 19 februari 2007 16:41
Aan: 'MapGuide Users Mail List'
Onderwerp: RE: [mapguide-users] WMS Projections and Transperancy

I'll assume by the silence that WMS is LL84 Only and do not project in MGOS
and that transparency is not yet supported...please if you know otherwise
please let me know...

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Scott Hameister
Sent: Thursday, February 15, 2007 9:44 PM
To: 'MapGuide Users Mail List'
Subject: [mapguide-users] WMS Projections and Transperancy

Am I missing something Still????
Are We able to Author WMS services into our Maps that have Coordinate
Systems Assigned to them...or do we Have to map in LL84 in order to use WMS
services.....

If We can Author WMS layers into maps with Coordinate Systems Could someone
Please Help me??????

Example: 
	Using SRS=EPSG:26916 (UTM 16N) and
	
http://terraservice.net/ogccapabilities.ashx?version=1.1.1&service=wms 

Also I noticed that even in Latitude in Longitude Mode My WMS does not come
in with Transparancy...


_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.18.2/692 - Release Date: 18-2-2007
16:35



More information about the mapguide-users mailing list