eliemichel / MapsModelsImporter

A Blender add-on to import models from google maps
https://blog.exppad.com/article/importing-actual-3d-models-from-google-maps
GNU General Public License v3.0
2.44k stars 299 forks source link

Wrong Units transform of google map 3D model imported in Blender #309

Closed cuiguangheng closed 5 months ago

cuiguangheng commented 6 months ago

Guys, I found that the google map model imported to blender it transform to a wrong units, kilometer in google map but meter in blender . Can anyone help to fix that? image

eliemichel commented 5 months ago

Units are a known limitation of this process, because the actual physical units are present nowhere in the data we extract from Google Maps, and I was unable to figure out the inconsistency across various captures.

One solution is to measure a known distance both in Blender (distance_blender) and on the map (distance_physical) then compute scale = distance_physical / distance_blender and finally scale the whole scene by scale. Pro-tip Once you start a scaling operation with the 'S' key, you can directly input an exact scaling value using the keyboard.