Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kml, kmz, gpz] Custom symbols support for imported kmz places. #2785

Open
vng opened this issue Jun 20, 2022 · 12 comments · May be fixed by #2795
Open

[kml, kmz, gpz] Custom symbols support for imported kmz places. #2785

vng opened this issue Jun 20, 2022 · 12 comments · May be fixed by #2795
Assignees
Labels
Bookmarks and Tracks Bookmarks, imported tracks, and KML, KMZ, KMB, GPX, GPZ import or export

Comments

@vng
Copy link
Member

vng commented Jun 20, 2022

Please, attach small kmz examples with custom icons from different use-cases (apps, services) here.

@vng vng added the Bookmarks and Tracks Bookmarks, imported tracks, and KML, KMZ, KMB, GPX, GPZ import or export label Jun 20, 2022
@vng vng self-assigned this Jun 20, 2022
@biodranik biodranik changed the title [kml, kmz] Custom symbols support for imported kmz places. [kml, kmz, gpz] Custom symbols support for imported kmz places. Jun 20, 2022
@utack
Copy link
Contributor

utack commented Apr 22, 2023

This is what Google My Maps does when you click "export as kmz"
It would be great to have support for those icons, or at least have an importer that uses the average color of the custom png as pin color

Seoul to Busan and Beyond (SBB).kmz.zip

@biodranik
Copy link
Member

biodranik commented Mar 25, 2024

@0709wiwiwi
Copy link

0709wiwiwi commented May 25, 2024

In a gpx waypoint the gpx sym text triggers the associated icon to display.
IF no matching icon is available the receiver shows the default icon instead.
In a gpz file additonally transfer the expected icon image to be displayed.

Transfer navigation & images & icons by gpz

Usage of gpz

@biodranik
Copy link
Member

Thanks! Can you please paste the gpx code example here directly?

@0709wiwiwi
Copy link

0709wiwiwi commented May 25, 2024

A single gpx waypoint example.

Single waypoint example

  • The gpz version.

The attached gpz file contains a gpx file as well a (photo_image) png icon and a linked full size photo jpg image.
BOM_GPZ.gpz.txt

Locus map app accepts the import as zip or gpz file.
The gpx viewer app supports the import as gpz file.

To know both apps by default do already support the most popular Garmin gpx sym icons.
The current gpx viewer by the unsupported gpx sym Bareldonk_kapel does not show the gpz (photo_image) png icon.
Locus map 4.25.1.3 BETA by the sym Bareldonk_kapel autodisplays the (photo_image) png icon by the same gpz import.

Kapel

Anyway in both apps you can manually promote any linked image as usefull map thumbnail.

  • The kmz version.

The attached kmz file contains a klm file as well a (photo_image) png icon and a linked full size photo jpg image.
BOM_KMZ.kmz.txt

image

@biodranik
Copy link
Member

Good! I remember there was a list of known/recognized icons already somewhere, right?

@0709wiwiwi
Copy link

0709wiwiwi commented May 25, 2024

The most widely used in gps units are the Garmin sym with associated Icons. Garmin.zip
Source: https://www.javawa.nl/wpsymbols.html & https://www.javawa.nl/downloads/sym/symbolen.gpx
Notice Copyright: Garmin Corporation.
The gpx viewer app does not use the original Garmin icon images.
The associated icon images are probably (re)constructed by:
https://mapicons.mapsmarker.com/author/nico.mollet/

Copyright icons.
Apps only need to support some of the most popular gpx sym with free icon designs.
The app user decides whether or not to transfer any (free) (icon) image into a gpz file.

@ZeljkoBG
Copy link

ZeljkoBG commented Jun 6, 2024

Good! I remember there was a list of known/recognized icons already somewhere, right?

There are millions of free icons on the Internet

@0709wiwiwi
Copy link

0709wiwiwi commented Sep 12, 2024

Transfer and display ANY wpt png map icon by a gpz(zip) file.
A demo using gpz(zip) is now possible in Locus map 4.26
However, you still must compile the gpz file production manually.

  • Place ALL the png icons associated with the gpx sym in the gpz root.
    (Both the app own internal png icons as well as each external png icon)
  • Compress the gpx file together with the png icons into a gpz(zip) file.
  • Locus map 4.26 import shows ANY map icon.
    Thumbnail map icons

@0709wiwiwi
Copy link

0709wiwiwi commented Sep 14, 2024

A possible result as shown in Locus ... transfer ANY icon ... or logo.
Tap a waypoint and find usefull extra information attached.

5r_wpt-be_navtrk-ORGAPIN.gpz.txt

Orgapin

@0709wiwiwi
Copy link

0709wiwiwi commented Oct 3, 2024

Examples by kmz.

Organic_map_red ear_yellow_logo_wpt_purple_trk.kmz.txt

Import in Locus 4.26 or Android GE or desktop GE Pro.

  • Contains Track LineStyle:
    Trk color and width and an image in description. (Display in GE Pro_Locus)

  • Contains Waypoint IconStyle
    Custom icons change color scale heading set hotSpot and an image in description of waypoint Kapel.

Organic_Placemark.kmz.txt

Organic icon, set color, set size, set heading & set hotSpot.

Organic_Placemark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bookmarks and Tracks Bookmarks, imported tracks, and KML, KMZ, KMB, GPX, GPZ import or export
Projects
None yet
5 participants