I have been trying to import Digital elevation models as TIFFs, contour lines as shapefiles, and a few other things. but whenever i set the elevation based on attribute or import 'As DEM' i get long thin vertical data, seemingly projecting the whole dataset in the z plane like a tall thin rectangle. Has anyone had this occur, and if so how did you fix it? I am using all my data in WGS84.
-
2$\begingroup$ Not clear what your question is. $\endgroup$– brasshatCommented Jun 8, 2017 at 7:17
-
$\begingroup$ are you using the fill non-data option? $\endgroup$– user1853Commented Jun 8, 2017 at 16:57
-
$\begingroup$ Please add an image that illustrates your issue. Also, have you tried posting on the github page for the addon? $\endgroup$– user1853Commented Jun 8, 2017 at 17:01
-
$\begingroup$ added photo - if i import as a plane it shows up as the proper rectangle but its just flat $\endgroup$– Cameron JohnstonCommented Jun 9, 2017 at 3:48
-
$\begingroup$ So it seems like my raster is coming in normally exagerated in the z plane, but the xy is 1000x too small. so if i change the z to strenght 0.0001 it works... but then everything is annoying to scale $\endgroup$– Cameron JohnstonCommented Jun 9, 2017 at 6:34
2 Answers
I just have the same problem yesterday, if you want to fix it, you need to change the right coordinate (CRS) in QGIS or ArcGIS first. For reference coordinate you can find it in google as free, because each area or zone has different coordinate.
Then, after do that, when you try to import .shp in BlenderGIS you can see in the bottom right corner in Blender after import it, change elevation so from geometry to Field and select elev field same as contour table in your open atribute table in you GIS software. OK.
Or if you want the easier way, you can try to create contour from your DEM data to ArcGIS first:
- Import DEM.TIF to ArcGIS
- Create Contour from DEM.TIF
- Create TIN from Contour, coordinate use Web Mecrator
- Create TIN_LINE from TIN
- Import TIN_LINE.shp to Blender
- In Blender -> Click ur Contour -> GIS -> Mesh -> Delaunay
As you say your data are in WGS84, so the coordinates are in degrees instead of elevation values which are in meters... One degree on the earth is equals to approx 111km (at equator) so one meter is approx 0.00001 degrees.
You must project your DEM into a plane system in meters before trying to import it in Blender.