How to get google map from inside dynamo

revit
python
dynamo

#1

Im trying to get the web page for google map with my project coordinates in the correct location. Im not sure if that is even possible cant find anything on internet. The end game is to have a google image on the cover sheet of a project.


#2

Check out the GIS2BIM package.

On his Github you can find alot examples.
Check out this blog: http://revitstructure-nl.blogspot.com/?m=1

Hope this helped


#3

I’ve tried the GIS2BIM package it not very flexible. There’s one node: GetLocationdataNetherlands. would work great, but it uses a Netherlands website to work.


#4

Could you upload a graph (with errors)? i’ve never experienced any errors with it


#5

Hey,

Here’s some stuff that’s being tried…

I use Open Street Map, it’s free, seems quite comprehensive globally and gets building footprints as closed Polycurves.

Hope that helps,

Mark


#6

2018-12-07_12h15_12 2018-12-07_12h15_22

These are results of the GIS2BIM package. it can import BAG, BGT, Air photo’s or combinations if combined. basicly the same as @Mark.Ackerley suggests.


#7

It works, but uses google api.
Takes me to this site and says:
“The Google Maps Platform server rejected your request. You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account”


#8

i think you should bind the lat and lon from GIS2BIM.GetRevitSiteLocation directly to GIS2BIM.GoogleStaticMapsAPI ?


#9

Hi,

As stated in the post I linked to…

I seemed required to sign up and give credit card details to google to get it working.

Instead I went to a basic website to get lat/long and plugged those in manually.

You will see that in the graph in the link and the dyn that is attached.

Hope that helps,

Mark

Edit: @Schasfoortyoeri’s link is great, the BILT presentation http://www.3bm.cloud/dutchrevitblog/1.4%20GIS%20to%20BIM%20Using%20Dynamo%20Presentation has a node which imports images at scale… very interesting :slight_smile:


#10

If your question was solved please mark your thread as solved. If not, there are graphs for exactly what you are trying to do here: https://github.com/DutchSailor/GIS2BIM


#11

I dont wanna use API because that requires purchasing.


#12

What do you mean? i’ve used alot of those scripts and i didnt have to parchuse anything…
what area do you want to import? if by any chance the Netherlands its free for sure.


#13

Maybe @MaartenVroegindeweij (the developer of the package) can help us out here.


#14

Its the USA needed not the Netherlands.


#15

@Mark.Ackerley

How did you surpass the paywall?
I remember you did in some kinda way


#16

Hey,

That’s right, if you want to use the location node there is a sign up which requires credit card details but no money, to lever the google developer location search.

If you’re not bothered about such a nice input you can just use a lat / long website and put the numbers in manually.

As for the initial question, google aerial maps are copyrighted, I presume the sketchup tieup meant they were happy for their info to be exported but I haven’t found an open source provider of aerial photos.

If anyone has, I would be very interested :slight_smile:

Hope that’s of interest,

Mark