nextcloud / maps

🌍🌏🌎 The whole world fits inside your cloud!
https://apps.nextcloud.com/apps/maps
GNU Affero General Public License v3.0
480 stars 88 forks source link

import favorites #1205

Open Ilav1 opened 4 months ago

Ilav1 commented 4 months ago

Is your feature request related to a problem? Please describe. I export some favorites (single ponts) in Maps (e.g. 2024-02-05 16_05_55 (+01_00) filtered-favorites.gpx). Now I want to import these favorites in a new nextcloud instance. I didn't find any option to import these file. Other files are shown directly in the app (e.g. GPS-tracks).

The favorites are stored like these file:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<gpx version="1.1" creator="Nextcloud Maps 1.3.1" xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
  <metadata>
    <name>favourites</name>
  </metadata>
  <wpt lat="51.3559473" lon="7.4734477365678">
   <name>NAME</name>
   <time>2023-12-30T15:34:38Z</time>
   <type>Personal List</type>
   <desc></desc>
  </wpt>
</gpx>

Describe the solution you'd like Possibility to import favorites.

amalgame21 commented 1 week ago

Same problem here. Why the exported favorites cannot be imported as favorite? When put the file in the map directory, they were categorized in "My Tracks". When it is enabled, the timestamp is displayed as place name, and all information such as description and color etc are lost, which is totally messed up.