RouteConverter icon indicating copy to clipboard operation
RouteConverter copied to clipboard

[FEATURE REQUEST] different waypoint icons

Open Smig0l opened this issue 1 year ago • 1 comments

Hi! i am editing a .kml file exported from GoogleEarth. i noticed that the icons that were like these: image

are defaulted to black circles: image

Is it possible to customize these icons like the one from GoogleEarth? Analyzing the kml file i see that a waypoint is composed like this:

		<Placemark>
			<name>Cerro al Lambro</name>
			<styleUrl>#icon-1899-0288D1-nodesc</styleUrl>
			<Point>
				<coordinates>9.341593100000001,45.33097180000001,0</coordinates>
			</Point>
		</Placemark>

So we can simply parse and read <styleUrl>#icon-1899-0288D1-nodesc</styleUrl> ?

Thanks!

Smig0l avatar Aug 06 '24 15:08 Smig0l

The styleUrl is already parsed

https://github.com/cpesch/RouteConverter/blob/cd34ccbdc43cd0071321ba10efdff2a1de710d94/navigation-formats/src/main/java/slash/navigation/kml/KmlFormat.java#L153

but to determine the route characteristics, i.e. where its a Track, Route, or Waypoint list.

What exactly do you propose? That the visual representation inside of RouteConverter matches that of Google Earth?

cpesch avatar Aug 27 '24 13:08 cpesch