<div dir="ltr">I prefer to use the mapguide-rest tool to pull KML. <div><a href="https://github.com/jumpinjackie/mapguide-rest">https://github.com/jumpinjackie/mapguide-rest</a><br></div><div><br></div><div>You have more control and can render other types as well (i.e. geojson)</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 2, 2023 at 2:40 AM Hadis Alinia <<a href="mailto:hadissaalinia@gmail.com">hadissaalinia@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi, <div><br></div><div>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.</div><div><br></div><div>Searching in the previous questions/answers about this I couldn't find the solution. I found this URL <a rel="nofollow" href="http://data.mapguide.com/mapguide/DynamicKml/GoogleEarth.php" style="font-family:courier,"courier new",monospace;font-size:14px;white-space:pre-wrap;outline:0px;color:rgb(57,115,66)" target="_blank">http://data.mapguide.com/mapguide/DynamicKml/GoogleEarth.php</a> but it's not opening.<br></div><div>Do you have some sample codes or applications with the source code that shows how to do it?</div><div><div><br></div><div>Thank you</div><div><br></div><div>Regards,</div><div><br></div><div><div><br></div></div></div></div></div></div>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapguide-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</blockquote></div>