[mapserver-dev] MS RFC 68: Support for combining features from multiple layers (Call for discussion)

Tamas Szekeres szekerest at gmail.com
Thu Feb 10 18:04:52 EST 2011


Hi Frank,

Thanks for the quick response, see my comments inline below:


>  1) I would be more comfortable if you didn't need to modify the behavior
>    of the source layers.  Why not have the aggregate layer have a list of
>    the source layers, insteading of marking source layers with the
>    target layer that will consume them?
>
>
Technically I don't see too much difference between these 2 versions.
However placing the reference at the source would make it easier to
override the vtable of the source to delegate the control when accessing the
features from the source layer. We should make sure that the feaure
preprocessing will take place in the first access of WhichShapes from any of
these layers. (Considering that the feature query is happening in reverse
layer order as the drawing operations)



>  2) Are you planning to use the functions in maptree.c as a generic quad
>    tree or are you hoping to take advantage of .qix files for shapefile
>    sources?
>
>
I intend to use that in memory to speed up the query based on a rectangle
area of interest during the clustering operation.


>  3) Are you planning to do clustering for dissimilar features from
>    different sources?  At the core I don't understand why the clustering
>    needs to have multiple source layers.  It seems like combining
>    features from multiple layers and clustering features should be
>    distinct operations.
>
>
Negotiating features from multiple layers is a part of the recent
specification we rely on. In fact expect to create a new layer to serve the
combined features with different symbology as the source features, labeled
based on different (aggregate) attributes. In this regard there's no
meaningful difference whether to use one layer or multiple layers as feature
data sources since a new layer is required in any case. According to our
specification I intend to support the point layers only.
I don't really understand why combining and clustering would be different in
our term.

Best regards,

Tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20110211/254798ea/attachment-0001.html


More information about the mapserver-dev mailing list