[mapguide-users] WMS Polygon clipping problems

Andy Morsell amorsell at spatialgis.com
Mon May 22 23:35:04 EDT 2006


Regarding people making tiles on their own: with Google Maps, if one wants
to add their own layers, they have to use the GTileLayer interface.  By
definition the Google Maps API automatically makes one call to the layer
source per 256x256 pixel tile.  I don't think there is a way to override
this and instead use a visible extent overlay.  It does look like you might
be able to change the tile size, but you are stuck with tiles regardless.
So, if using MGOS as the source, we have to use one WMS call per tile or
possibly use the GETTILEIMAGE operation.  I have not experimented much with
the latter and would rather stick with WMS calls anyway for conformity.
 

Andy 


  _____  

From: Traian Stanev [mailto:traian.stanev at autodesk.com] 
Sent: Monday, May 22, 2006 5:33 PM
To: users at mapguide.osgeo.org; users at mapguide.osgeo.org
Subject: RE: [mapguide-users] WMS Polygon clipping problems




OK. I'll check what can be done. It's really a one line change when it comes
down to it, but I'm not sure what other code calls that function that might
be affected. Since people seem to make tiles on their own, the change is
probably worth the performance loss this change entails...

Traian


-----Original Message-----
From:   Andy Morsell [mailto:amorsell at spatialgis.com]
Sent:   Mon 5/22/2006 8:22 PM
To:     users at mapguide.osgeo.org
Cc:    
Subject:        RE: [mapguide-users] WMS Polygon clipping problems

Traian,
This is specific to WMS.  The screenshot is from Google Maps where the tiles
are individual WMS calls to MapGuide Open Source.

Thanks.


Andy


  _____ 

From: Traian Stanev [mailto:traian.stanev at autodesk.com]
Sent: Monday, May 22, 2006 4:58 PM
To: users at mapguide.osgeo.org; users at mapguide.osgeo.org
Subject: RE: [mapguide-users] WMS Polygon clipping problems




This is strange. For WMS I can see how it would happen. However, for a
regular  tiled map, we turn off polygon clipping to avoid this. Are you
using a regular tiled map or is this screenshot from WMS?

Traian


-----Original Message-----
From:   Andy Morsell [mailto:amorsell at spatialgis.com]
Sent:   Mon 5/22/2006 6:28 PM
To:     users at mapguide.osgeo.org
Cc:   
Subject:        [mapguide-users] WMS Polygon clipping problems

There is an older thread on this topic at:
https://mapguide.osgeo.org/servlets/ReadMsg?list=users
<https://mapguide.osgeo.org/servlets/ReadMsg?list=users
<https://mapguide.osgeo.org/servlets/ReadMsg?list=users&msgNo=488>
&msgNo=488>
&msgNo=488

I am experiencing this problem as well when working in a tiled environment.
This screenshot illustrates the problem where there are several large
polygons that have boundaries drawn at the clipping edges.  I did not see an
issue in Project Tracker about this and just wanted to re-raise the issue to
ensure that it is addressed soon.

Thank you.

Andy Morsell, P.E.
Spatial Integrators, Inc.
http://www.SpatialGIS.com









-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20060522/7cb14d0c/attachment.html


More information about the Mapguide-users mailing list