StreetView (Google or Bing) in MapInfo Pro

730 views
Skip to first unread message

Peter Horsbøll Møller

unread,
Sep 21, 2018, 4:43:56 AM9/21/18
to mapi...@googlegroups.com

Hi

 

Have any of you come across a MapBasic tool that integrates with a StreetView service, such as Google StreetView or Bing StreetView?

It must work in 64 bit MapInfo Pro

 

I have come across a few potential candidates, like:

https://www.mastersoft.net/webmaps/12.0/dev/index.html

- seems only to work in 32 bit Pro and their email bounces

 

http://www.mapperg.com/

- seems to only view maps, not StreetView images.

 

Any other suggestions?

 

Thanks

 

Peter Horsbøll Møller

Pitney Bowes

 

Etore Bellino

unread,
Sep 21, 2018, 7:09:52 AM9/21/18
to MapInfo-L
Sorry Peter,

Just view maps with OSM.....


--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapinfo-l+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Uffe Kousgaard

unread,
Sep 21, 2018, 7:19:30 AM9/21/18
to mapi...@googlegroups.com
Hi,

OSM is not a streetview service and I am not even sure the ZIP file below (created by me) is 64-bit compatible.

Regards
Uffe Kousgaard

Uffe Kousgaard

unread,
Sep 21, 2018, 7:23:14 AM9/21/18
to mapi...@googlegroups.com
How about if you, Peter, created "Mapillary for MapInfo" ?
https://www.mapillary.com/arcgis

Regards
Uffe Kousgaard
--

Etore Bellino

unread,
Sep 21, 2018, 7:28:00 AM9/21/18
to MapInfo-L
Uffe,
I use it in windows 10 64 bits.
Thank you 
Congratulations

Bo Victor Thomsen

unread,
Sep 21, 2018, 8:52:13 AM9/21/18
to mapi...@googlegroups.com
Hi Peter -

I made such a tool when I was working at Geograf (geograf.dk) back in 2010.

It worked by starting a browser window using a .net dll (IIRC). And some specific javascript, that could communicate with a MapBasic program.
The result was that you had 2-way communication between the MI map window and the streetview html window:

- Point at a position inside the MI map window with a vector tool and the program would show the same position and direction in the streetview window.
- Move around in the streetview window and the marker in the MI map window would be updated with the current position and streetview orientation.

However, I don't think Geograf ever tried to resell it. Go figure. And now it's 8 years behind current versions. But the code was fairly standard MapBasic around ver. 10.5 And the C# was .net around ver 4. 

Regards    
Bo Victor Thomsen
LIFA A/S, Denmark

--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapinfo-l+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Med venlig hilsen

Bo Victor Thomsen

Warren Vick

unread,
Sep 21, 2018, 10:15:20 AM9/21/18
to mapi...@googlegroups.com

Hi Peter,

 

I think the only way of accessing Google StreetView imagery is via a browser and their API, although it may not need to be a fully blown browser. It could be an application with a simple window using Chromium or some other browser engine. In terms of use, something like this would be subject to the free use level or need a subscription to Google Maps.

 

As Bo mentions, it’s then a case of implementing communication between MapInfo Pro and the “mini-browser” application. At it’s simplest, this would be just latitude/longitude/direction. This would allow a symbol, emulating peg man to be show in the MapInfo mapper and when he’s moved or faces a new direction, the updated details are sent over to update the StreetView. In my experience, controlling the Google StreetView window can sometimes be tricky and Google often seems to break things on new releases. This is easy to respond to with a web-based application, but less so for a locally installed application.

 

In terms of a “private StreetView”, I’ve been casually messing around with Nikon and GoPro 360degree cameras over the past year or so. These are not too expensive now and much cheaper than the high-spec equipment used by Google et al. They can export (or be processed to) equirectangular panoramic images which can be viewed in a number of APIs. One API I really like is an open source one called Pannellum (https://pannellum.org/). Below is a link to a panoramic image I took. You can pan around, zoom with the wheel and go full screen. The camera (a GoPro Fusion 360) is mounted on a suction-cup tripod on top of my car and I automatically took a photo every 5 seconds for my journey from the office to home. The images are pretty decent… good enough to see through my sunroof and note that I’m losing my hair. The only thing that’s annoying me about the GoPro at the moment is that during the fusion of the front and rear fish-eye images (it’s essentially two cameras in one unit) into a single panoramic, the GPS coordinate data in the EXIF header is rounded and the photos cannot be accurately geolocated. GoPro don’t seem to be taking the bug seriously so my hobby project is on hold until they do.

 

http://atlas1.viaeuropa.uk.com/360pano/

 

Regards,

Warren Vick

--

--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to

Sancarn

unread,
Sep 21, 2018, 11:00:33 AM9/21/18
to mapi...@googlegroups.com
One could quite easily implement such a tool using InstantStreetView:


You just need h,p and z rotation co-ordinates and latlng coords. If you do actually want to build it fully within MapInfo, you can likely query the street map images using the HTTP API. You wouldn't necessarily require javascript at all. For instance there are unofficial Python and Ruby clients already.

Sancarn

unread,
Sep 21, 2018, 11:11:46 AM9/21/18
to MapInfo-L


On Friday, September 21, 2018 at 9:43:56 AM UTC+1, Peter Horsbøll Møller wrote:

Warren Vick

unread,
Sep 21, 2018, 12:00:55 PM9/21/18
to mapi...@googlegroups.com

That’s fine to grab a static view, but I think the idea is to have an interactive StreetView window controlled by Pro.

 

By the way, those Python and Ruby library projects for access to the Google Maps API don’t seem to support StreetView. This should be no surprise given it’s far more complicated that, say, a geocode transaction.

 

Regards,

Warren Vick

--

Tom

unread,
Sep 21, 2018, 12:38:31 PM9/21/18
to MapInfo-L
My quick solution was just to add a HotLink expression to an existing property gazetteer and nodes on a street network:

"https://www.google.com/maps?cbll=" & latitude & "," & longitude & "&cbp=12,0,0,0,5&layer=c"

Could the HotLink function be fired off programmatically based on reading the lat,long from an arbitrary map click? OK, it's not nice and integrated but at least it means you don't have the complexity of pulling a browser window into MapInfo.

Tom


On Friday, September 21, 2018 at 9:43:56 AM UTC+1, Peter Horsbøll Møller wrote:

Greg

unread,
Sep 21, 2018, 2:45:18 PM9/21/18
to MapInfo-L
You might want to look at how the go2streetview plug-in works in QGIS. https://github.com/enricofer/go2streetview

Sancarn

unread,
Sep 29, 2018, 7:24:12 PM9/29/18
to MapInfo-L
Indeed, this one does though:
https://github.com/amrfaissal/googlemaps-services/blob/master/lib/googlemaps/services/streetview.rb
Still though, not what you'd need. More ideally you'd need a panorama image, but I can't see a google API way to even get that image...

With C# one could theoretically get an Internet Explorer window and embed it in a Pro window... How much control you'll have over street view though is fairly unknown... You could at least register some events... But in general it doesn't seem like even the JavaScript API supports much control over street view sadly...

Warren Vick

unread,
Sep 30, 2018, 5:20:05 AM9/30/18
to mapi...@googlegroups.com

From a quick inspection of the code, that project just grabs static StreetView images from the GoogleMaps API too.

 

Technical matters aside, I doubt if Google would licence access to their StreetView imagery outside their own APIs.

Peter Horsbøll Møller

unread,
Sep 20, 2019, 8:23:29 AM9/20/19
to mapi...@googlegroups.com

Hi

 

I just noticed that Kalu has published a basic StreetView tool to the MapInfo Marketplace.

Check it out via the Marketplace App in MapInfo Pro 17.0.2 or via the web site.

 

Peter Horsbøll Møller

Pitney Bowes

 

From: mapi...@googlegroups.com <mapi...@googlegroups.com> On Behalf Of Warren Vick
Sent: 30. september 2018 11:20
To: mapi...@googlegroups.com
Subject: RE: [MI-L] Re: StreetView (Google or Bing) in MapInfo Pro

 

CAUTION: THIS EMAIL IS FROM AN EXTERNAL SOURCE. Internet links, office documents or other attachments may contain viruses. Do not click on a link, open or enable any file unless you trust the sender.

Reply all
Reply to author
Forward
0 new messages