Hi Team,
I'm struggling a bit with the transformation of a klm file into GPS format.
For my software, I trace in geoportail the influence of the archaeological diagnosis in the "Web Mercato" format to be in the same coordinate format as OpenStreet Map.
I export the polygon points in a KML file format.
In Lazarus, I use the LazMapView library to display this diagnostic extent on the OpenStreetMap basemaps. Manually, it works with manual transformation of the file into GPS format.
The GPS file is a format taken from walkers' GPS to display their route.
I did a rewind but when converting the last line of coordinates, it gives me crap. It also adds the “Index” and “points” information to me.
I assume this is created by my end of file sign. You can see it when you use the reel.
I go through several steps to get to the GPS.
The shit is in my last Button_OnClick loop.
Do you have a clue because my loop does what I want but shit on the last line of the TStringlist.. The mouth starts on line 120 of the main_unit
The KML file to load is "Etion2.kml" for conversion.
THANKS
Fanch