[mapguide-users] GetFeaturesKml and GetLayerKml

alucas alucas at srtec.com
Thu Nov 13 03:22:45 EST 2008


Hi Jason,

Actually, I can use this operations calling directly the agent as well from
the web extensions API (i.e Java) from the MgKmlService. For my current
project, I need to publish one entire layer and some features from this
layer. For now, publish the layer via MgKmlService::GetLayerKml(...) works
fine. Otherwise, GetFeaturesKml(...) does not work for me or it does the
same that GetLayerKml.

So, my next step is create a filter for the layer and then call GetLayerKml
in order to see if it only export the filtered features.

P.D: Sorry for my english.

Thanks.


JasonBirch wrote:
> 
> These functions aren't actually supposed to be called directly be the
> user.
> 
> http://trac.osgeo.org/mapguide/wiki/MapGuideRfc4
> 
> There are quite a few other limitations here, such as being
> session-based (if the user saves in Google Earth, it'll break when the
> session expires), etc.
> 
> I'd personally recommend hand-coding the KML that you emit.  There is a
> sample app here with source included that shows how to do this:
> 
> http://data.mapguide.com/mapguide/DynamicKml/GoogleEarth.php
> 
> Jason
> 
> -----Original Message-----
> From: alucas
> Subject: [mapguide-users] GetFeaturesKml and GetLayerKml
> 
> What is the diference between these methods? How can I get only some
> features from my layer and then export to kml? I suposed that with
> GetFeaturesKml I was able to filter features in a layer...
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://www.nabble.com/GetFeaturesKml-and-GetLayerKml-tp20459874p20476499.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list