[mapguide-users] Rendering defect?
Traian Stanev
traian.stanev at autodesk.com
Wed Apr 1 13:11:41 EDT 2009
If the polygon is clipped geometrically before rendering, like we see in the screenshot, there will be a border. If it is not clipped geometrically before rendering, like when one uses the RenderMap API, then there will not be the artifact we see. I understand that it is undesirable to see the border lines even if the polygon is clipped geometrically -- however this is not possible without a code change, while the suggestion I gave can potentially remove the problem without any code changes.
Traian
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Dave Wilson
Sent: Wednesday, April 01, 2009 1:01 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Rendering defect?
I don't think the issue is so much about the clipping, it's about the false border that's introduced. Users don't want a false border on the clipped polygon.
Dave
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Traian Stanev
Sent: Wednesday, April 01, 2009 10:41 AM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Rendering defect?
There are APIs in the rendering service for both clipped and unclipped rendering. RenderDynamicOverlay clips, while RenderMap doesn't. I'm not sure which one Fusion uses though. You can try manually issuing a RenderMap to see if you get the result you want. Using the un-clipped rendering carries a performance penalty.
Traian
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Andreas Morf
Sent: Wednesday, April 01, 2009 12:14 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Rendering defect?
Exactly, that's what I wanted to express - I'm not an native speaker
I want to be able to switch off that current behavior of MG
Andreas
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-
> bounces at lists.osgeo.org] On Behalf Of Dave Wilson
> Sent: Wednesday, April 01, 2009 5:52 PM
> To: MapGuide Users Mail List
> Subject: RE: [mapguide-users] Rendering defect?
>
> To clarify,
>
> Are you saying that around the borders of the frame an edge is
> generated for the polygon even though the polygon extends past the
> visible region of the frame suggesting to the user that the polygon is
> completely visible when it's actually not?
>
> I would argue this is a design deficiency, but that is how it was
> implemented.
>
> I would log an enhancement trac ticket asking that polygons not be
> clipped by the map frame.
>
> Regards,
> Dave
>
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-
> bounces at lists.osgeo.org] On Behalf Of Andreas Morf
> Sent: Wednesday, April 01, 2009 9:21 AM
> To: mapguide-users at lists.osgeo.org
> Subject: [mapguide-users] Rendering defect?
>
> There is a strange behaviour of MGOS 2.0.2 when rendering polygons with
> a
> <CompositeTypeStyle>: clipped edges of the polygons (which may be
> borders of the map in a fusion-viewers) are also drawn according the
> instructions in the <LineUsage> of the <SimpleSymbolDefinition>.
> In my opinion this is not a correct behavior of the rendering service!
>
> Attached there is a small sample rendered image.
>
> Is this a case for a ticket?
> Any comments?
> _______________________________________________
> 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
_______________________________________________
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
More information about the mapguide-users
mailing list