[PATCH 0/3] added URI support on Windows

Dirk Hohndel dirk at hohndel.org
Tue Jan 15 10:38:07 PST 2013

"Lubomir I. Ivanov" <neolit123 at gmail.com> writes:
>> Let me guess... this could then also be used to rather easily implement
>> the other way of doing GPS location visualization... turning the
>> Location text into a link to a Google Map...
>> Is this something you are working on?
> i definitely have something like that in mind...
> opening a dive info dialog could have a [view map] button that simply
> opens a browser and shows the dive location on google maps as a maker,
> that even has text passed from subsurface.
> having a list of selected dives can have the [view dives on map] action:
> by doing so, selected dive location can appear as multiple makers.
> now, to my understanding multiple markers require a little bit of
> backend, since the default per "URL API" only allows one marker using
> "q=".
> so something in these lines has to be done (view source):
> http://econym.org.uk/gmap/example_plotpoints.htm?q=Hello%20world@53,-2&q=My%20Place@53.5,-2.5
> would it be an option to have a http://subsurface.hohndel.org/map.htm ?

I'll need to look into the implementation details but am certainly open
to doing that.

> also, i'm a bit concerned about URL lengths, so these have to be investigated.
> if these don't meet our requirements, then perhaps the POST method
> with some sort of data structure has to be used to a PHP script,
> instead.

I'm sure we can setup a little web service that digests POST requests.
That's actually something that Pierre has already done for the
webservice that works with the Subsurface companion app for Android so
my bet is that he could easily adapt that for this purpose...


More information about the subsurface mailing list