GPXSee icon indicating copy to clipboard operation
GPXSee copied to clipboard

Create a link to Google Streetview based on the Cursor Coordinates

Open Blittr opened this issue 2 years ago • 8 comments

Dear GPXSee team, would it be possible to create a link to Google Streetview based on the cursor coordinates when clicking a certain point on the map? The advantage is that you can easily see via Streetview what that point on the map actually looks like (if available). Because "Show cursor coordinates" is available within GPXSee, creating a link is (I hope) not difficult.

For instance, after clicking on the map at the Banff pedestrian bridge, I will get a link to google streetview based on the coordinates of that point (via right mouse button context menu).

http://maps.google.com/maps?q=&layer=c&cbll=51.172287134280076,-115.56827008724214

Thank you and best regards.

Blittr avatar Nov 04 '21 18:11 Blittr

Although technically possible, "hard-linking" with some online service like Google street view is out of scope of GPXSee. But you can of course create your own fork with such a feature.

tumic0 avatar Nov 04 '21 22:11 tumic0

Hi, thank you for your reply. I did not mean a "hard-linking" to Google Streetview. My intention was to show a window with a link to streetview on which you can click yourself. Without clicking, nothing happens. GPXSee can currently show the coordinates of the cursor, but you cannot use this data. I really think this is an improvement because you can get extra information in relation to your gpx file. Namely: what does the environment of my gpx file look like. A satellite view (possible in GPXSee) is less informative than Streetview.

Blittr avatar Nov 05 '21 12:11 Blittr

By "hard-linking" I mean that there is hardcoded some URL to a (proprietary) service. Such URLs may change/disappear at any time and make the feature in GPXSee broken. A solution could be some configuration-based menu that would allow you to use any custom action (url, command) with the coordinates based on some "actions files" similar to the map files. Something like:

<action>
    <name>Google street view</name>
    <url>http://maps.google.com/maps?layer=c&amp;cbll=$lon,$lat</url>
</action>

But the question is, if it is worth doing it... I will have a look how much work it would take and if more people are interrested in such feature, I will eventually implement it.

tumic0 avatar Nov 06 '21 09:11 tumic0

Thank you, that solution would be very nice :-)

Blittr avatar Nov 06 '21 10:11 Blittr

+1, I'd use that too

Tux avatar Nov 07 '21 12:11 Tux

Hi Martin, would it be possible to copy the cursor coordinates when right click? Pasting this in Google Street View will also show the landscape of the location. Showing that point of the map is very attractive for investigating the area. For instance: road signs, road surface, the amount of traffic, a view over the landscape. That everything is often impossible to make out from the map only. Thank you and best regards

Blittr avatar May 02 '22 09:05 Blittr

Coordinates copy is already implemented, use SHIFT + left mouse click.

tumic0 avatar May 02 '22 11:05 tumic0

Thank you Martin! Apologies, I actually see it in the changelog (7.37). Did not read it properly :-)

Blittr avatar May 04 '22 21:05 Blittr