Home PageFacebookRSS News Feed
PocketGPS
Web
SatNav,GPS,Navigation
Pocket GPS World - SatNavs | GPS | Speed Cameras: Forums

Pocket GPS World :: View topic - How do I show a location on an online Garmin map as a URL?
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in for private messagesLog in for private messages   Log inLog in 

How do I show a location on an online Garmin map as a URL?

 
Post new topic   Reply to topic    Pocket GPS World Forum Index -> Garmin Portable Navigation Devices
View previous topic :: View next topic  
Author Message
Privateer
Pocket GPS Moderator
Pocket GPS Moderator


Joined: 30/12/2002 17:36:20
Posts: 4908
Location: Oxfordshire, England, UK

PostPosted: Tue Aug 21, 2018 10:44 am    Post subject: How do I show a location on an online Garmin map as a URL? Reply with quote

Hi,

I create my own POIs and keep them in master lists as .xlsx excel files. Each master list has a number of columns for longitude, latitude, POI name, POI telephone number, incremental ID, creation date, last updated, confirmation date, etc.

I also have columns where formulas creates URLs to show the location of the POI on Google maps and also TomTom. The reason to do this is to show the actual location of the POI (Google) and ensure that the POI is on a road that TomTom is aware of.

I would like to do the same for Garmin, which uses Here Maps. However despite Googling I've not found how to write a URL to point to a location on a Here map. Here're some examples of URLs for Google and TomTom, together with the formula for creating the URL:

Google Maps URL
https://www.google.com/maps/place/4913'52.2%22N+214'01.2%22W/@49.231168,-2.233678,17z/
data=!3m1!4b1!4m5!3m4!1s0x0:0x0!8m2!3d49.231168!4d-2.233678
Code:
="https://www.google.com/maps/search/?api=1&query="&B2&","&C2


TomTom MyDrive URL
https://mydrive.tomtom.com/en_gb/#mode=search+viewport=49.231168,-2.233678,16,0,
-0+search=%7B%22input%22:%22Jersey%20Pearl,%20main%20entrance%22,%22coords
%22:%5B49.231168,-2.233678%5D%7D+ver=3
Code:
="https://mydrive.tomtom.com/en_gb/#mode=search+viewport="&B2&","&C2&",16,0,-0+search=
%7B%22input%22:%22"&SUBSTITUTE(D2, " ", "%20")&"%22,%22coords%22:%5B"&B2&","&C2&"%5D%7D+ver=3"

NB. The above URLs and formulas do actually work, but I've had to add extra carriage returns to allow them to display nicely in the forum. If you want to try or use them them then copy them and remove the carriage returns.

Key to above
Cell Description
B2 = Latitude
C2 = Longitude
D2 = Name of POI

Can anybody help me to do the same for Here maps so that Excel can create URLs to show whether a POI is on a road known to Here?

Regards,
_________________
Robert.
iPhone 6s Plus, iOS 14.0.1: iOS CamerAlert v2.0.7
TomTom GO Mobile iOS 2.3.1; TomTom (UK & ROI and Europe) iOS apps v1.29
Garmin Camper 770 LMT-D
Back to top
View user's profile Send private message Send e-mail
Kremmen
Pocket GPS Verifier
Pocket GPS Verifier


Joined: Mar 03, 2006
Posts: 6911
Location: Reading

PostPosted: Tue Aug 21, 2018 11:12 am    Post subject: Reply with quote

Looks heavy weather to me:

https://developers.google.com/maps/documentation/urls/guide
_________________
Satnav:
Garmin DS61 LMT-D (In the car)
Garmin 2599 LMT-D (Indoor test rig)
DashCam:
Viofo A119 V3
Back to top
View user's profile Send private message
Privateer
Pocket GPS Moderator
Pocket GPS Moderator


Joined: 30/12/2002 17:36:20
Posts: 4908
Location: Oxfordshire, England, UK

PostPosted: Tue Aug 21, 2018 12:19 pm    Post subject: Reply with quote

Thanks K,

I'm happy with the URL to link to a location on Google maps, it's Here Maps (for Garmin) that I want to create a URL to show a location.

Regards,
_________________
Robert.
iPhone 6s Plus, iOS 14.0.1: iOS CamerAlert v2.0.7
TomTom GO Mobile iOS 2.3.1; TomTom (UK & ROI and Europe) iOS apps v1.29
Garmin Camper 770 LMT-D
Back to top
View user's profile Send private message Send e-mail
Kremmen
Pocket GPS Verifier
Pocket GPS Verifier


Joined: Mar 03, 2006
Posts: 6911
Location: Reading

PostPosted: Tue Aug 21, 2018 12:56 pm    Post subject: Reply with quote

I'm confused Smile

Where are you looking for the URL to go to, the Garmin device ?
_________________
Satnav:
Garmin DS61 LMT-D (In the car)
Garmin 2599 LMT-D (Indoor test rig)
DashCam:
Viofo A119 V3
Back to top
View user's profile Send private message
M8TJT
The Other Tired Old Man
The Other Tired Old Man


Joined: Apr 04, 2006
Posts: 10118
Location: Bexhill, South Sussex, UK

PostPosted: Tue Aug 21, 2018 2:46 pm    Post subject: Reply with quote

In his excel file I guess K, as are the links to the Google and TT maps.
Back to top
View user's profile Send private message
dales
Frequent Visitor


Joined: May 04, 2008
Posts: 745
Location: Knaresborough, North Yorkshire.

PostPosted: Tue Aug 21, 2018 3:01 pm    Post subject: Reply with quote

Is this what you mean??

https://wego.here.com/?map=54.00562,-1.45049,17,normal

Where you have lat, lon and zoom level.

Dales
_________________
nuvi 2599LMT-D, oregon 700, basecamp, memory-map.
Back to top
View user's profile Send private message
M8TJT
The Other Tired Old Man
The Other Tired Old Man


Joined: Apr 04, 2006
Posts: 10118
Location: Bexhill, South Sussex, UK

PostPosted: Tue Aug 21, 2018 4:02 pm    Post subject: Reply with quote

But no position marker dales?
Back to top
View user's profile Send private message
pcaouolte
Frequent Visitor


Joined: Dec 27, 2006
Posts: 998
Location: South Lincs, UK.

PostPosted: Tue Aug 21, 2018 7:28 pm    Post subject: Reply with quote

If you want a position marker:
https://wego.here.com/location/?map=54.00562,-1.45049,normal

If you also want to name the marker (at the top left of the screen):
https://wego.here.com/location/?map=54.00562,-1.45049,normal&msg=Name%20of%20POI

You can omit the ,normal if you wish.
_________________
Paul
Back to top
View user's profile Send private message
MaFt
Pocket GPS Staff
Pocket GPS Staff


Joined: Aug 31, 2005
Posts: 14964
Location: Bradford, West Yorkshire

PostPosted: Wed Aug 22, 2018 10:35 am    Post subject: Reply with quote

pcaouolte wrote:
If you want a position marker:
https://wego.here.com/location/?map=54.00562,-1.45049,normal

If you also want to name the marker (at the top left of the screen):
https://wego.here.com/location/?map=54.00562,-1.45049,normal&msg=Name%20of%20POI

You can omit the ,normal if you wish.


Well you did better than me! I gave up after a while - just couldn't figure out a way to get it to work...

ALthough I did realise that I need to update the mobile POI site to replace 'Nokia mas' with Here maps!!

This info will be very helpful!
Back to top
View user's profile Send private message Visit poster's website
MaFt
Pocket GPS Staff
Pocket GPS Staff


Joined: Aug 31, 2005
Posts: 14964
Location: Bradford, West Yorkshire

PostPosted: Wed Aug 22, 2018 10:39 am    Post subject: Reply with quote

Blimey, the base of the POI marker moves around a lot depending on the zoom level!
Back to top
View user's profile Send private message Visit poster's website
pcaouolte
Frequent Visitor


Joined: Dec 27, 2006
Posts: 998
Location: South Lincs, UK.

PostPosted: Wed Aug 22, 2018 10:55 am    Post subject: Reply with quote

MaFt wrote:
Blimey, the base of the POI marker moves around a lot depending on the zoom level!

Yes it does. I think that the default zoom level is 15 when displaying the marker and the marker only seems to be displayed in the right place when using zoom level 15 or above. If you want to include the zoom level in the link you can use:

https://wego.here.com/location/?map=54.00562,-1.45049,15,normal

If you use any number other than 15 it seems to display the chosen zoom level briefly and then revert to zoom level 15 when it displays the marker.
_________________
Paul
Back to top
View user's profile Send private message
Privateer
Pocket GPS Moderator
Pocket GPS Moderator


Joined: 30/12/2002 17:36:20
Posts: 4908
Location: Oxfordshire, England, UK

PostPosted: Wed Aug 22, 2018 12:28 pm    Post subject: Reply with quote

Thank you K, M, dales, and pcaouolte! Not Worthy

Using the following Excel cells:

B2 49.231168 (latitude)
C2 -2.233678 (longitude)
D2 Jersey Pearl, main entrance (POI name)

I use the Excel SUBSTITUTE function on the POI name text (cell D2) to replace spaces with %20 for Expanded URL Encoding.

Here's the Excel formula
Code:
="https://wego.here.com/location/?map=
"&B2&","&C2&",normal&msg="&SUBSTITUTE(D2, " ", "%20")

Which creates the following URL to show a named location on the Here Map
Code:
https://wego.here.com/location/?map=
49.231168,-2.233678,normal&msg=Jersey%20Pearl,%20main%20entrance

Once again, many thanks for your help!

Regards,
_________________
Robert.
iPhone 6s Plus, iOS 14.0.1: iOS CamerAlert v2.0.7
TomTom GO Mobile iOS 2.3.1; TomTom (UK & ROI and Europe) iOS apps v1.29
Garmin Camper 770 LMT-D
Back to top
View user's profile Send private message Send e-mail
Privateer
Pocket GPS Moderator
Pocket GPS Moderator


Joined: 30/12/2002 17:36:20
Posts: 4908
Location: Oxfordshire, England, UK

PostPosted: Wed Aug 22, 2018 12:33 pm    Post subject: Reply with quote

MaFt wrote:
This info will be very helpful!

+1 Thumbs Up

So MaFt, will you be adding Here Maps to the various PGPSW map options for showing POIs and cameras?

Regards,
_________________
Robert.
iPhone 6s Plus, iOS 14.0.1: iOS CamerAlert v2.0.7
TomTom GO Mobile iOS 2.3.1; TomTom (UK & ROI and Europe) iOS apps v1.29
Garmin Camper 770 LMT-D
Back to top
View user's profile Send private message Send e-mail
MaFt
Pocket GPS Staff
Pocket GPS Staff


Joined: Aug 31, 2005
Posts: 14964
Location: Bradford, West Yorkshire

PostPosted: Wed Aug 22, 2018 9:12 pm    Post subject: Reply with quote

Privateer wrote:
MaFt wrote:
This info will be very helpful!

+1 Thumbs Up

So MaFt, will you be adding Here Maps to the various PGPSW map options for showing POIs and cameras?

Regards,


Once I've got today's database released. School holidays, autism and crash-course swimming lessons really mess with work schedules!!!
Back to top
View user's profile Send private message Visit poster's website
MaFt
Pocket GPS Staff
Pocket GPS Staff


Joined: Aug 31, 2005
Posts: 14964
Location: Bradford, West Yorkshire

PostPosted: Wed Aug 22, 2018 9:41 pm    Post subject: Reply with quote

Here maps is now on the mobilepoi site.

The mobile version of the site seems to place the POI marker better than the desktop...

MaFt
Back to top
View user's profile Send private message Visit poster's website







Posted: Today    Post subject: Pocket GPS Advertising

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pocket GPS World Forum Index -> Garmin Portable Navigation Devices All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Make a Donation



CamerAlert Database

Click here for the PocketGPSWorld.com Speed Camera Database

Download Speed Camera Database
21.055 (31 May 23)



WORLDWIDE SPEED CAMERA SPOTTERS WANTED!

Click here to submit camera positions to the PocketGPSWorld.com Speed Camera Database


12mth Subscriber memberships awarded every week for verified new camera reports!

Submit Speed Camera Locations Now


CamerAlert Apps



iOS QR Code






Android QR Code







Terms & Privacy


GPS Shopping