Is there a way to create a layer that covers Google Maps blocks

for example this is the google map,

enter image description here

and this is the layer that i want to create enter image description here

since i cant use snap on google maps im trying to work around it and find a way to automatically create those blocks

  • Possible duplicate of QGIS raster to vector with shapefile feed procedure – Martin Hügi Aug 22 '17 at 8:14
  • @MartinHügi Google maps layer is a Tile Layer so I think that solution won't work here – Hicham Zouarhi Aug 22 '17 at 8:51
  • 2
    You could export the current Google canvas content to tif, and re-add that as a new layer to QGIS. – AndreJ Aug 22 '17 at 11:07
  • Welcome to gis.stackexchange! Please note that a good question on this site is expected to show some degree of research on your part, i.e. what you have tried and - if applicable - code so far. For more info, you can check our faq. – underdark Aug 22 '17 at 17:45

I think the best thing to do is to switch to OpenStreetMap and download the vector data you need then do your processing.

if the area you need is small you can directly download it using QGIS : Vector -> OpenStreetMap -> Download OSM Data , or if it's too big you can either download it from one of the repositories ( like Geofabrik ) or use overpass API provided by OpenStreetMap

|improve this answer|||||

I would either suggest downloading OpenStreetMap data either online as extracts for larger files (Geofabrik, Metro Extracts or HOT OpenStreetMap for a unique area) or within QGIS for smaller files (Vector - OpenStreetMap - Download OSM Data).

This will provide you with vector data that you could edit yourself or use as a basemap to trace over the specific area you want to show. Creating a shapefile and then manually digitising the Google Maps blocks for the site in question.

For either this will allow you to style the resulting vectors in a similar blue/turquoise overlay that is shown in the image above. Some tinkering would be needed to get it looking just as you want but this shouldn't be too difficult.

edit - previous answer didn't show hence similarity, mine offers some clarity in further digitising that could be done so will not delete.

|improve this answer|||||
  • You have the same answer as @Hicham Zourahi – Mapperz Aug 22 '17 at 13:58

Thanks for your efforts but i managed to get the result i want this way:

  • Vector -> OpenLayersMap -> DownloadData (this will download the google maps that has been loaded in your current screen)

  • add your OSM layer and choose Lines

  • save the Lines layer as a SHP file

  • select all lines and from Vector -> Geometry Tools -> Single parts to multi part

  • Create a fixed distance buffer to the newly added multipart - this is a bit tricky since i have experienced some differences in measurements - but i chose 0.0005 to be the distance

  • convert the buffer to Polygon to Lines

  • and then change to Polygons to lines into Lines to polygons

this last step will change everything into polygons so just choose the streets and delete its polygon and now you'll have each of the google maps blocks as a separate block in it's own layer which can be edited

if its unclear just write it down and ill try to explain

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.