mixed geometry layers
Steve Lime
steve.lime at DNR.STATE.MN.US
Tue Jan 24 06:58:20 PST 2006
Sorry, I tend to think pure MapServer first. The solution would be to:
- introduce a layer type of MIXED
- and style TYPES (point/line/polygon)
Then in code (msDrawShape) if the layer type is MIXED you'd assign a virtual layer type based on the shape type, and skip styles of the wrong type.
Of course, OGC could embrace the concept of logical layer groups as well so that user interfaces could be built in much the same way as pure MapServer approaches do...
Steve
>>> "Eijnden, B. van den (Bart)" <b.vdeijnden at AGI.RWS.MINVENW.NL> 01/24/06 12:23 AM >>>
Hi Steve,
but what about the OGC interfaces? I don't think you can mix there right
now.
Also, if you look at the OGC model, it does take into account mixed geometry
layers. For instance with SLD, you have different symbolizers
(PointSymbolizer, PolygonSymbolizer etc.) which can be applied to the same
layer.
Best regards,
Bart
-----Oorspronkelijk bericht-----
Van: Steve Lime [mailto:steve.lime at dnr.state.mn.us]
Verzonden: dinsdag 24 januari 2006 6:12
Aan: Eijnden, B. van den (Bart); MAPSERVER-USERS at LISTS.UMN.EDU
Onderwerp: Re: [UMN_MAPSERVER-USERS] mixed geometry layers
Hi Bart: No, there are no plans to do so. I'm not sure it's worth the effort
since at some level you have to differentiate between feature types to
symbolize them, and a layer seems a reasonable place to do that. Many of the
newer client development environments (and even MapServer HTML legends)
allow you to take advantage of MapServer groups and there's no limitation
there on mixing layer types within a group. So it should be easy to have a
checkbox or radio button to toggle multiple layers with different types.
Steve
>>> "Eijnden, B. van den (Bart)" <b.vdeijnden at AGI.RWS.MINVENW.NL> 01/23/06
4:58 AM >>>
Hi list,
are there any plans for Mapserver to support mixed geometry layers (eg
points, lines and polygons), assuming the attributes are the same so they
belong to the same featuretype?
We have a lot of datasets in which there are points, lines and polygons, and
now they all have to be treated as separate layers which is very confusing
for users.
Best regards,
Bart
Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te
informeren. Wij adviseren u om bij twijfel over de juistheid of de
volledigheid van de mail contact met afzender op te nemen.
This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************
Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te
informeren. Wij adviseren u om bij twijfel over de juistheid of de
volledigheid van de mail contact met afzender op te nemen.
This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************
More information about the MapServer-users
mailing list