[mapserver-users] entities one upon the other
Hello, I have a polygon layer with entities, one located upon the other. The result that I have is: The entity located upon, hides the entity underneath. Is it possible to configure mapfile in such a way that where the entities are located ones upon the others, the colour becomes evidenced and different to the case in which the entities aren't located ones upon the others? I cannot use a special class for the small entities and I don't reorder the shapefile by the size Thank in advance Leonardo ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] entities one upon the other
Hello, I have a polygon layer with entities, one located upon the other. The result that I have is: The entity located upon, hides the entity underneath. Is it possible to configure mapfile in such a way that where the entities are located ones upon the others, the colour becomes evidenced and different to the case in which the entities aren't located ones upon the others? I cannot use a special class for the small entities and I don't reorder the shapefile by the size Thank in advance Leonardo ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] entities one upon the other
if you're using the AGG rendering backend, you can set an opacity on your polygon styles, in which case you should see varying opacity the more features are piled one upon another. STYLE COLOR r g b OPACITY 50 END regards, thomas www.camptocamp.com +33 5 16 57 01 02 On Thu, Nov 12, 2009 at 15:32, Leonardo Olivieri leonardo.olivi...@imteam.it wrote: Hello, I have a polygon layer with entities, one located upon the other. The result that I have is: The entity located upon, hides the entity underneath. Is it possible to configure mapfile in such a way that where the entities are located ones upon the others, the colour becomes evidenced and different to the case in which the entities aren't located ones upon the others? Thank in advance Leonardo ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] entities one upon the other
Hello, I have a polygon layer with entities, one located upon the other. The result that I have is: The entity located upon, hides the entity underneath. Is it possible to configure mapfile in such a way that where the entities are located ones upon the others, the colour becomes evidenced and different to the case in which the entities aren't located ones upon the others? Thank in advance Leonardo ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] entities one upon the other
You have a few options based on what you know about ahead of time: 1) If you know the stacking order ahead of time you can create separate layers that force the stacking to happen properly. 2) If you don't know the stacking order ahead of time, you can try using patterned fills instead of opaque fills. From: Leonardo Olivieri leonardo.olivi...@imteam.it To: mapserver-users@lists.osgeo.org Sent: Thu, November 12, 2009 8:32:40 AM Subject: [mapserver-users] entities one upon the other Hello, I have a polygon layer with entities, one located upon the other. The result that I have is: The entity located upon, hides the entity underneath. Is it possible to configure mapfile in such a way that where the entities are located ones upon the others, the colour becomes evidenced and different to the case in which the entities aren't located ones upon the others? Thank in advance Leonardo ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] entities one upon the other
Hello, perhaps some other solutions for your problem: - use a special class for the small entities, that has to be defined as the last class in the Layer-Definition and so will be drawn upon the other classes - for database-layers: use a order-by-clause to get the result ordered by their sice (desc), so the large entities will be drawn first - for shape-layers: reorder the Shapefile by the size of the entities Regards Ludwig Hello, I have a polygon layer with entities, one located upon the other. The result that I have is: The entity located upon, hides the entity underneath. Is it possible to configure mapfile in such a way that where the entities are located ones upon the others, the colour becomes evidenced and different to the case in which the entities aren't located ones upon the others? Thank in advance Leonardo ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users