Exporting dive sites as XML
douglas.junkins at gmail.com
Thu Apr 11 15:35:41 PDT 2019
I’m going to throw an idea out for feedback — you don’t have to be gentle.
One solution to this would be to give preference to those dive sites that are tied to a dive in your dive log. The idea would be you could have a large number of sites imported that have zero dives associated with them, but once you either associate a dive with one of those sites, or create a site yourself that is associated with a dive, those sites would not be replaced by an imported site at the same geographic location.
With this, the user (e.g. Dirk) could create several sites with the same name that have slightly different geographical locations and those would be stored in his personal dive site table and any sites imported with the same geographical coordinates would be ignored. Also, if you translate the name, description or notes of the site into your native language, any imported sites at the same location would also be ignored.
Ideally the user will be able to search for sites that are near a particularly lat/long. If so, those that are already associated with dives in their log could be highlighted in some way as the preferred sites to use or edit.
> On Apr 11, 2019, at 2:53 PM, Hartley Horwitz <hhrwtz at gmail.com> wrote:
> ---------- Forwarded message ----------
> From: Robert Helling <helling at atdotde.de <mailto:helling at atdotde.de>>
> To: Dirk Hohndel <dirk at hohndel.org <mailto:dirk at hohndel.org>>
> Cc: Doug Junkins <douglas.junkins at gmail.com <mailto:douglas.junkins at gmail.com>>, "subsurface at subsurface-divelog.org <mailto:subsurface at subsurface-divelog.org>" <subsurface at subsurface-divelog.org <mailto:subsurface at subsurface-divelog.org>>
> Date: Thu, 11 Apr 2019 11:13:35 +0200
> Subject: Re: Exporting dive sites as XML
> this is really a tough one. Let’s keep in mind in which direction this (if it takes off at all) might go to: Rather than sharing your own dive sites between a few of your own log files (or maybe with your wife or your close friends), this whole dive site management becomes really powerful as soon as some big dive site collections are created (like all dive sites in a country, a continent or even globally) with the collections shared essentially between all Subsurface users.
> This is exactly how I would like things to go -- I'd gladly share my dive sites in my usual dive locations, but I'd really like to get a copy of someone else's dive sites for a trip to a location I've never been. That would be really powerful.
> These collection could also be used to figure out where it is actually worth going to. Another aspect is of course language: We might want to remember the langue of a dive site description so that I can decide to only import those that are in a language that I can understand.
> I'd import the dive sites in my personal log, even if they aren't in my native language. If it is a dive site that I actual use, I'd probably translate or re-write the description to fit my needs.
> subsurface mailing list
> subsurface at subsurface-divelog.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the subsurface