nextcloud / nextcloud/maps

import favorites

Open
#1,205 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: :star: favorites
Dominant language
JavaScript
Stars
598
Forks
113
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing how Maps currently handles GPS-track GPX files with the exported favorites GPX example in the issue. Done means a new Nextcloud Maps instance can import waypoint favorites while retaining their names, coordinates, times, types, and descriptions; verify this with a representative file.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.