SASGIS - SAS.Планета
View Issue Details
0003910SAS.Планета[All Projects] Хотелкаpublic20-03-2025 20:0123-03-2025 08:23
MontoyaSat 
zed 
normalmajorhave not tried
closedno change required 
Windows7Ultimate
.Nightly 
 
0003910: modification of KML import
Correct KML file code dukla.kml

I need to correctly assign coordinates even if syntax is
<coordinates>
49.41694166,21.69508611,0
</coordinates>

Спасибо

No tags attached.
? dukla.kml (584) 20-03-2025 20:01
http://www.sasgis.org/mantis/file_download.php?file_id=2637&type=bug
png 1.png (63,745) 21-03-2025 17:30
http://www.sasgis.org/mantis/file_download.php?file_id=2638&type=bug
png
Issue History
20-03-2025 20:01MontoyaSatNew Issue
20-03-2025 20:01MontoyaSatFile Added: dukla.kml
21-03-2025 17:30zedFile Added: 1.png
21-03-2025 17:32zedNote Added: 0020531
21-03-2025 17:32zedAssigned To => zed
21-03-2025 17:32zedStatusnew => feedback
23-03-2025 06:04MontoyaSatNote Added: 0020532
23-03-2025 06:04MontoyaSatStatusfeedback => assigned
23-03-2025 08:16zedNote Added: 0020533
23-03-2025 08:23zedStatusassigned => closed
23-03-2025 08:23zedResolutionopen => no change required

Notes
(0020531)
zed   
21-03-2025 17:32   
I have no problem importing your kml file. Maybe you are using an outdated version of SAS?
(0020532)
MontoyaSat   
23-03-2025 06:04   
SAS.Planet.Nightly.250204.10747

KML correct coordinates
<coordinates>
21.69508611,49.41694166,0
</coordinates>

I need this coordinates
<coordinates>
49.41694166,21.69508611,0
</coordinates>

If it doesn't work.
There is another type of file that has such a simple code where you could put on 49.41694166,21.69508611 using CTRL+V

what syntax they have CSV, JSON ?
(0020533)
zed   
23-03-2025 08:16   
In the KML standard, coordinates must be specified in the following order: longitude, latitude, and altitude. The same applies to the GeoJSON format.

If you need a different order, you can use the CSV format, where you can define the fields by name in the header (first line). For example:

LAT,LON,NAME
49.41694166,21.69508611,Mark name

The available fields for the CSV format are described here.