Waypoints type list (xml icon and type)

Started by Comawhite, August 19, 2019, 12:13:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Comawhite

Dear Orux,



I would like to get the list of all existing waypoints types (ex : dog , church etc...) Together with it's associated Icon number. This is to be able to display the correct symbol onto an external app (from an OruxMaps gpx).

List might looks like :

dog = 46

Church = 54

Quad = 83

... For all known type.

I think this file already exists in your software code.



Thank you.



 <wpt lat="xxx" lon="yyy">

<name><![CDATA[xxxxx0]]></name>

<sym>Waypoint</sym>

<type>Chien</type>

<extensions>

<om:ext type="ICON" subtype="0">46</om:ext>

</om:oruxmapsextensions>

</extensions>

</wpt>

orux

#1
Quote from: Comawhite post_id=39040 time=1566166385 user_id=7764
Dear Orux,



I would like to get the list of all existing waypoints types (ex : dog , church etc...) Together with it's associated Icon number. This is to be able to display the correct symbol onto an external app (from an OruxMaps gpx).

List might looks like :

dog = 46

Church = 54

Quad = 83

... For all known type.

I think this file already exists in your software code.



Thank you.



 <wpt lat="xxx" lon="yyy">

<name><![CDATA[xxxxx0]]></name>

<sym>Waypoint</sym>

<type>Chien</type>

<extensions>

<om:ext type="ICON" subtype="0">46</om:ext>

</om:oruxmapsextensions>

</extensions>

</wpt>



type 1-->      <item>Waypoint</item>
type 2-->        <item>Geocache</item>
...        <item>Photo</item>
        <item>Airport</item>
        <item>Bar</item>
        <item>Beach</item>
        <item>Bridge</item>
        <item>Campground</item>
        <item>Car</item>
        <item>City</item>
        <item>Crossing</item>
        <item>Dam</item>
        <item>Danger Area</item>
        <item>Drinking Water</item>
        <item>Finishing Point</item>
        <item>Fishing Area</item>
        <item>Forest</item>
        <item>Gas Station</item>
        <item>Glider Area</item>
        <item>Golf</item>
        <item>Heliport</item>
        <item>Hotel</item>
        <item>Hunting Area</item>
        <item>Information</item>
        <item>Marina</item>
        <item>Mine</item>
        <item>Parachute Area</item>
        <item>Park</item>
        <item>Parking Area</item>
        <item>Picnic Area</item>
        <item>Residence</item>
        <item>Restaurant</item>
        <item>Restroom</item>
        <item>Scenic Area</item>
        <item>School</item>
        <item>Shopping Center</item>
        <item>Shower</item>
        <item>Starting Point</item>
        <item>Skiing Area</item>
        <item>Summit</item>
        <item>Swimming Area</item>
        <item>Telephone</item>
        <item>Tunnel</item>
        <item>Ultralight Area</item>
        <item>Person</item>
        <item>Dog</item>
        <item>Dot</item>
        <item>Polygon</item>
        <item>Alarm</item>
        <item>Ambulance</item>
        <item>Antenna</item>
        <item>ATM</item>
        <item>Ship</item>
        <item>Church</item>
        <item>Bike</item>
        <item>Bowling</item>
        <item>Buoy</item>
        <item>Snorkel</item>
        <item>Bus</item>
        <item>Horse</item>
        <item>Desert</item>
        <item>Truck</item>
        <item>Bell</item>
        <item>Cannon</item>
        <item>House</item>
        <item>Castle</item>
        <item>Cinema</item>
        <item>Circus</item>
        <item>Handicapped</item>
        <item>Lighthouse</item>
        <item>Air balloon</item>
        <item>Washing</item>
        <item>Library</item>
        <item>Mail</item>
        <item>Market</item>
        <item>Mecanic</item>
        <item>Motorcicle</item>
        <item>Wall</item>
        <item>Music</item>
        <item>Bird</item>
        <item>Persons</item>
        <item>Police</item>
        <item>Quad</item>
        <item>Skate</item>
        <item>Submarine</item>
        <item>Target</item>
        <item>Tram</item>
        <item>Cattle</item>
        <item>Wind</item>

Comawhite

#2
Perfect thank you!