[mapguide-users] Filter features before create the map
Micho Gar
michogar at gmail.com
Wed Apr 8 03:23:05 EDT 2009
Thanks Kenneth, I would triying the last one. I will review the process that
you say.
2009/4/8 Kenneth Skovhede, GEOGRAF A/S <ks at geograf.dk>
> With "load the features", do you mean:
> * select them ?
> * create a temporary featuresource and display them?
> * add a filter to a layer, and display that?
>
> If you meant the last one, you should save a copy of the filtered
> LayerDefinition to the session repo.
> Then create a copy of the MapDefinition, alter the layer's resourceid to
> point at the temp layer.
> Then do the same with the WebLayout, and start the viewer with the temp
> WebLayout.
>
> A basic outline of the startup process can be seen here:
>
> http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI/samples/AddInitialLayer
>
> The example uses the MaestroAPI, but the approach is the same, regardless
> of the API.
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> Micho Gar skrev:
>
> Hi all,
>
> I'm trying to filter the features before load the map. I created a basic
> filter, but do not know how to load only the fetaures filtered.
>
> Thanks.
>
>
> --
> # michogar
> # Analista Programador SIG
> # GNU/Linux Counter 462666
>
> Una visión personal:
> http://michogar.blogspot.com
>
> El dia a dia:
> http://twitter.com/michogar
>
>
> ------------------------------
>
> _______________________________________________
> mapguide-users mailing listmapguide-users at lists.osgeo.orghttp://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
>
>
--
# michogar
# Analista Programador SIG
# GNU/Linux Counter 462666
Una visión personal:
http://michogar.blogspot.com
El dia a dia:
http://twitter.com/michogar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090408/8c46b745/attachment.html
More information about the mapguide-users
mailing list