[Feature request] Export Geolocations
I use the Map View plugin to plan hiking trips by organizing geolocations in Obsidian. It would be incredibly useful to have the ability to export these geolocations to other formats, such as GPX as a waypoint. This feature would allow me to reuse the data with other services like GaiaGPS for offline navigation and Suunto watches for tracking and navigation.
I'm not very familiar with these services, can you elaborate how you envision this feature to work? e.g. what would such a GPX include?
GPX is a common file format used by many geographic applications, including Google Maps My Maps, Google Earth, Gaia GPS, and more. Supporting GPX means you can then easily use Obsidian markers / way points / trails on these platforms. Many of these apps also support other / enhanced features such as offline (hiking) maps, making them ideal for remote areas where internet connectivity may be limited.
For example, when planning a hiking trip, you could store all your desired locations in Obsidian and then export them as a GPX file to a hiking planning tool like Gaia GPS. With Gaia GPS, you can download multiple maps and layers for offline use, and then use your exported GPX file to plot your route and navigate using the downloaded data.
Google Maps My Maps offers another great use case. You can export your GPX file to My Maps and create custom maps, add markers, and share them with others. This is particularly useful for planning group trips or sharing favorite locations.
Supporting GPX would be a valuable addition to the plugin, enhancing its versatility and making it more compatible with other popular tools. This feature would allow us to keep our geolocations organized within Obsidian while maintaining the flexibility to use them in various other (more specialized) applications. Many other tools also support GPX export, which would expand the ecosystem significantly.
Sorry I guess my question wasn't phrased very well. Regarding support for GPX input, see for example here and here. It's definitely one of the next big things on my plate for Map View, I just can't tell when I'll be able to get around to it. What I was trying to ask relates to GPX export, which I don't remember coming up. What I tried to ask is how do you envision the Map View UI to do such an export, and what would the resulting GPX include. Would you save a filter as GPX (similarly to how you save a filter right now), for example? Would such a GPX include just the points on the map -- and if so, what data should they have (I assume they need a label of some sort)? I'm familiar with GPX only for drawing routes, so the concept of plotting individual points and exporting them to GPX is new to me.
Sorry for the late reply. I was on a hiking holiday during the conversation and forgot about this thread afterwards.
I have only had experience with GPX points. From a user's point of view, the minimum viable product is to export coordinates and the name/description. I am not sure if GPX supports the concept of labels/tags as a separate field, but it could be included in the name/description as well.
From a UI perspective, I can imagine a complete hierarchical list of all notes that contain map view points. Invalid map view points that cannot be exported should be greyed out. There should also be a "select all" option for each hierarchical node. This would naturally add a "select all" option for the root node, as well as any notes that are in a folder.