Export 1 line as KMZ, it breaks into 3 - how to prevent?
Swoody
Global Mapper UserTrusted User
I have one line. When I export it to KMZ using the following settings, the resulting file has broken the line into 3 lines.
I am not 'tiling" the data or using any 'export bounds'. Why would this happen? Can I prevent it from happening? Unfortunately I cannot upload this particular KMZ. When I create a random line and export it, it does not break into multiple lines. Do not know what is difference might be. Thanks in advance for any suggestions!
Using v18.1 (latest build)
Flummoxed in NC,
Sara
I am not 'tiling" the data or using any 'export bounds'. Why would this happen? Can I prevent it from happening? Unfortunately I cannot upload this particular KMZ. When I create a random line and export it, it does not break into multiple lines. Do not know what is difference might be. Thanks in advance for any suggestions!
Using v18.1 (latest build)
Flummoxed in NC,
Sara
Answers
-
Hello Sara,
The original line has 20,474 vertices. When exporting to KML/KMZ, Global Mapper breaks the line up into segments of 8,092 vertices or fewer. This was done two years ago due to limitations and performance issues in Google Earth. If you want to make sure that you preserve the single line feature, you can select the line in the Digitizer and use the Vertex Editing | SIMPLIFY function to reduce the number of vertices.
Cheers,
Bob -
bmg_bob! Thank you! Wish you folks would consider changing it back, or at least give the user the choice of whether to chop them into smaller units. I have never (ever) had issues in Google Earth with lines that have many vertices. Truly, not once, in all these years. Only time I have performance issues with Google Earth is with too many placemarks, but never an issue with lines and vertices.
Unfortunately it is never an option for us to simplify lines - in fact I many times need to add MORE vertices, to "ground" lines and polygons, so they do not visually "float" above or below ground level (using 'Clamped to ground' altitude mode), when we use them in our aerial camera overlay.
Thank you for the information!
Sara -
Swoody said:bmg_bob! Thank you! Wish you folks would consider changing it back, or at least give the user the choice of whether to chop them into smaller units. I have never (ever) had issues in Google Earth with lines that have many vertices. Truly, not once, in all these years. Only time I have performance issues with Google Earth is with too many placemarks, but never an issue with lines and vertices.
Unfortunately it is never an option for us to simplify lines - in fact I many times need to add MORE vertices, to "ground" lines and polygons, so they do not visually "float" above or below ground level (using 'Clamped to ground' altitude mode), when we use them in our aerial camera overlay.
I have been doing some testing with Google Earth, and what I am seeing is that line features that contain more than about 65,000 vertices are not handled properly. They show up in the feature list, but are not visible on the display. Are you seeing something different? If so, can you post a sample file that can be displayed in Google Earth despite having line features with greater than 65,000 vertices? Thanks.
Cheers,
Bob -
Hi bmg_bob,
Thanks for testing! I cannot publicly post my sample, but if there is somewhere I can privately upload it to show you? I am viewing a file in Google Earth which has 187,023 vertices, made up of 19 interconnected lines. They are all displaying at the same time with no issue. Is the issue (you speak of) if all vertices are contained on ONE line? As a test, I added 100,000 extra vertices to a single line in Global Mapper, but unfortunately it then exports them as multiple lines. So I can't truly test in Google Earth. But that sample (108873 vertex) also has no issues when loaded in Google Earth.
Also - if you see the issue starting around 65,000, maybe Global Mapper would consider raising the max above 8,000.
Thanks!
Sara -
Swoody said:Hi bmg_bob,
I am viewing a file in Google Earth which has 187,023 vertices, made up of 19 interconnected lines. They are all displaying at the same time with no issue. Is the issue (you speak of) if all vertices are contained on ONE line?
Cheers,
Bob
-
bmg_bob said:I will also be adding an option to the KML/KMZ Export Options that will enable or disable the feature splitting function, but is not implemented yet.
Cheers,
Bob
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 345 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 639 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 417 Projection Questions
- 827 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 178 Announcement and News
- 918 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 570 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 239 How I use Global Mapper
- 107 Global Mapper Forum Website