[mapguide-users] WMS questions

Brian Flood BFLOOD at SPATIALDATALOGIC.COM
Thu Mar 30 13:58:46 EST 2006


thanks

It looks like you can't publish a Map as a WMS resource (or am I missing the
obvious again)? Are there plans to do this in the future?

I may have found a solution to my GIF problem, at least in regards to GMaps.
If you set it up to act like the hybrid overlay, GMaps will apply the DX
transparency transform on the tile if it's IE.

also, can anyone shed some light on the text distortion of this request:
http://12.144.53.43/mapguide/mapagent/mapagent.fcgi?REQUEST=GetMap&SERVICE=W
MS&VERSION=1.1.1&LAYERS=Layers/Zoning_2005&STYLES=default&FORMAT=image/PNG&B
GCOLOR=0xFFFFFF&SRS=EPSG:4326&BBOX=-74.794921875,40.413496049701955,-74.7509
765625,40.44694705960048&WIDTH=256&HEIGHT=256

The bounding box should not govern how the text is drawn, right? 

lastly, I read a post that the parameter values are case sensitive but the
MGOS seem overly so. For instance, the image format must be "image/gif" or
"image/PNG" to work on the WMS request. IMO, and I know the spec says
otherwise, these should all be case insensitive. I know "image/png" works in
other WMS servers...

cheers
brian



-----Original Message-----
From: Traian Stanev [mailto:traian.stanev at autodesk.com] 
Sent: Wednesday, March 29, 2006 4:03 PM
To: Brian Flood; users at mapguide.osgeo.org
Subject: RE: [mapguide-users] WMS questions


Aah, I see why you want to turn off the antialiasing now. We don't do
anything special with the GIF palette and I'm not aware of GD (the
library we use to write GIF) doing any optimization when saving the file
out. We didn't really concentrate on getting super quality GIFs out,
since we got 32 bit PNG compositing to work well in all browsers using
some trick workaround that Alain found. 

Traian 

-----Original Message-----
From: Brian Flood [mailto:BFLOOD at SPATIALDATALOGIC.COM] 
Sent: Wednesday, March 29, 2006 3:42 PM
To: 'users at mapguide.osgeo.org'
Subject: RE: [mapguide-users] WMS questions


thanks

via the Author...

also, after closer inspection turning off the outline does not fix the
issue, it just makes it harder to see. (on the right side this time)
http://12.144.53.43/mapguide/mapagent/mapagent.fcgi?REQUEST=GetMap&SERVI
CE=W
MS&VERSION=1.1.1&LAYERS=Layers/Zoning_2005&STYLES=default&FORMAT=image/g
if&B
GCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:4326&BBOX=-74.7894287109375,40
.447
992135544304,-74.78805541992187,40.449037195237594&WIDTH=256&HEIGHT=256&
reas
pect=false

Note the dithering of the GIF image as well (I need transparency in all
browsers so no png). Not much you can do there I guess. Are you guys
optimizing the GIF palette? I know the default GIF codec in .Net does
not
(unless this is changed in 2.0). The antialiasing and non default
palette
colors would look a lot better if this occurred. 

cheers
brian



-----Original Message-----
From: Thomas M. Tuerke [mailto:thomas.m.tuerke at autodesk.com] 
Sent: Wednesday, March 29, 2006 3:30 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] WMS questions

mapguide.osgeo's Project Tracker (left panel) is the place to enter
suggestions, defects, and enhancements.

BTW, were you thinking of controlling (anti)aliasing by the author (in
studio) or by the client (via WMS parameter)?

- Thomas

-----Original Message-----
From: Brian Flood [mailto:BFLOOD at SPATIALDATALOGIC.COM] 
Sent: Wednesday, March 29, 2006 12:27 PM
To: 'users at mapguide.osgeo.org'
Subject: RE: [mapguide-users] WMS questions

thanks Traian

1) If you happen to know, how would I go about doing this?

2) yes, this was it. Turning off the outline prevents this from
happening
although, as you stated, this is not a very good work around. 

brian

-----Original Message-----
From: Traian Stanev [mailto:traian.stanev at autodesk.com] 
Sent: Wednesday, March 29, 2006 3:19 PM
To: Brian Flood
Subject: RE: [mapguide-users] WMS questions

1) No. Currently there is no way to turn off antialiased drawing. You
can
enter this as an enhancement request.
 
2) My guess is that this may be caused by a polygon layer that spans
many of
your tiles and is getting clipped to the extent you request, resulting
in
the black lines. The WMS serving component uses a map rendering call
that
does this kind of clipping. May be we should switch it to not clip, like
what the tiled AJAX viewer uses. Or fix the polygon clipper to not
generate
polygon segments that parallel the image bounds. Anyways, this will be
fixed. As a workaround (not a perfect one), you can try turning off the
outline of that polygon layer.
 
 
Traian

________________________________

From: Brian Flood [mailto:BFLOOD at SPATIALDATALOGIC.COM] 
Sent: Wednesday, March 29, 2006 3:02 PM
To: 'users at mapguide.osgeo.org'
Subject: [mapguide-users] WMS questions



hello all

 

1) Is there anyway to turn off anti-alias drawing (per layer
preferably)?

 

2) I keep getting a solid black line on the left and top edges of images
returned. When tiling requests together (think Google Maps custom
layer),
this creates an unwanted grid pattern. Any thoughts?

 

cheers

brian


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org






More information about the Mapguide-users mailing list