kml export not quite right
davehale23
Global Mapper User
Using Global Mapper v 11.01
Build Time Nov 24 2009 07:01:34
When exporting KMLs with "Save LOS to KML file" from the "Path Profile/Line of Sight" tool, the 'Sight Line' isn't quite right. The best way to see this issue is to export a rather long path with F1. (see attached) You will see that the F1 line starts out below the 'Sight Line' but then in the middle, goes above it. I believe that this is an issue with the way that Google Earth is handling this . . .
<name>Sight Line</name>
<styleUrl>#line1</styleUrl>
<LineString>
<altitudeMode>absolute</altitudeMode>
<extrude>0</extrude>
<coordinates>
-105.2159790000,39.5468432991,2256.718
-105.3110200000,39.8871429991,2379.714
</coordinates>
</LineString>
I have seen this issue in lines that I have created in KMLs. When you stretch the line above a certain distance, the line seems to droop. It might not be correctly accounting for earth curvature?
Since you are specifying each point for the F1 line like this . . .
<LineString>
<altitudeMode>absolute</altitudeMode>
<extrude>0</extrude>
<coordinates>
-105.2159790000,39.5468432991,2256.718
-105.2160527324,39.5471073019,2255.898
-105.2161264647,39.5473713048,2255.614
-105.2162001971,39.5476353077,2255.419
.....
-105.3108725353,39.8866149933,2378.44
-105.3109462676,39.8868789962,2379.039
-105.3110200000,39.8871429991,2379.714
</coordinates>
</LineString>
Google Earth is placing each point in the exactly correct location. I believe that if you specify each 'Sight Line' point using a similar method, all will look well.
thanks
-dave
Build Time Nov 24 2009 07:01:34
When exporting KMLs with "Save LOS to KML file" from the "Path Profile/Line of Sight" tool, the 'Sight Line' isn't quite right. The best way to see this issue is to export a rather long path with F1. (see attached) You will see that the F1 line starts out below the 'Sight Line' but then in the middle, goes above it. I believe that this is an issue with the way that Google Earth is handling this . . .
<name>Sight Line</name>
<styleUrl>#line1</styleUrl>
<LineString>
<altitudeMode>absolute</altitudeMode>
<extrude>0</extrude>
<coordinates>
-105.2159790000,39.5468432991,2256.718
-105.3110200000,39.8871429991,2379.714
</coordinates>
</LineString>
I have seen this issue in lines that I have created in KMLs. When you stretch the line above a certain distance, the line seems to droop. It might not be correctly accounting for earth curvature?
Since you are specifying each point for the F1 line like this . . .
<LineString>
<altitudeMode>absolute</altitudeMode>
<extrude>0</extrude>
<coordinates>
-105.2159790000,39.5468432991,2256.718
-105.2160527324,39.5471073019,2255.898
-105.2161264647,39.5473713048,2255.614
-105.2162001971,39.5476353077,2255.419
.....
-105.3108725353,39.8866149933,2378.44
-105.3109462676,39.8868789962,2379.039
-105.3110200000,39.8871429991,2379.714
</coordinates>
</LineString>
Google Earth is placing each point in the exactly correct location. I believe that if you specify each 'Sight Line' point using a similar method, all will look well.
thanks
-dave
Comments
-
Dave,
I have updated the KML save from the path profile dialog to store more points along the line of sight so that Google Earth will display it properly. I have placed a new build at http://www.globalmapper.com/global_mapper11.zip with the change for you to try. Simply download that file and extract the contents into your existing v11.xx installation folder to give it a try. If you are using the 64-bit v11 version there is a new build at http://www.globalmapper.com/global_mapper11_64bit.zip .
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 345 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 636 GM Script Language
- 54 User Scripts
- 114 GPS Features
- 417 Projection Questions
- 826 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 178 Announcement and News
- 913 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 569 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 238 How I use Global Mapper
- 107 Global Mapper Forum Website