I prefer to use the mapguide-rest tool to pull KML.
https://github.com/jumpinjackie/mapguide-rest

You have more control and can render other types as well (i.e. geojson)


On Thu, Feb 2, 2023 at 2:40 AM Hadis Alinia <hadissaali...@gmail.com> wrote:

> Hi,
>
> I want to export the layers based on their layer definition to KML/KMZ.
> Using GetLayerKml I can download the layers. In this case, I can see the
> features in the KML but the properties and attributes of the features are
> not included. Even I used Getfeaturekml but it returns an empty KML file
> with no feature.
>
> Searching in the previous questions/answers about this I couldn't find the
> solution. I found this URL
> http://data.mapguide.com/mapguide/DynamicKml/GoogleEarth.php but it's not
> opening.
> Do you have some sample codes or applications with the source code that
> shows how to do it?
>
> Thank you
>
> Regards,
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapguide-users
>
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to