-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Misaligned Tiles #77
Comments
Well, I’m guessing there’s something going wrong with calculating the lowest overall elevation. From memory, I think I grit the elevation min() of all tiles and use that the bottom for all tiles. Does this all happen for say just 2 x 2 tiles?
On Apr 3, 2023, at 09:04, Luke Zirngibl ***@***.******@***.***>> wrote:
Hey Chris,
I seem to be getting misaligned tiles when generating.
[Screen Shot 2023-04-03 at 15 57 57]<https://user-images.githubusercontent.com/8725920/229533087-ef1e6df3-05e9-486d-a86f-0ae17e692ff2.png>
[Screen Shot 2023-04-03 at 16 02 43]<https://user-images.githubusercontent.com/8725920/229533098-9e120801-36e0-409b-b4c9-1cdd904bab9b.png>
My config:
"trlat": 47.88266953319475,# bottom left corner lat
"trlon": 10.707753906131003,# bottom left corner long
"bllat": 45.62561851186426, #top right corner lat
"bllon": 5.813401946902514,# top right corner long
"importedDEM": "./data.tif", # if not None, the raster file to use as DEM instead of using GEE (null in JSON)
"printres": 0.5, # resolution (horizontal) of 3D printer (= size of one pixel) in mm
"ntilesx": 9, # number of tiles in x and y
"ntilesy": 6,
"tilewidth": 100, # width of each tile in mm (<- !!!!!), tile height is calculated
"basethick": 15, # thickness (in mm) of printed base
"zscale": 1.0, # elevation (vertical) scaling
"fileformat": "STLb", # format of 3D model files: "obj" wavefront obj (ascii),"STLa" ascii STL or "STLb" binary STL
"tile_centered": False, # True-> all tiles are centered around 0/0, False, all tiles "fit together"
"zip_file_name": "Ikea-AlpsCH_9x6", # base name of zipfile, .zip will be added
"CPU_cores_to_use" : 0, # 0 means all cores, None (null in JSON!) => don't use multiprocessing
"max_cells_for_memory_only" : 1000 * 1000, # if raster is bigger, use temp_files instead of memory
"no_bottom": False, # omit bottom triangles?
#"rot_degs": 0, # rotate by degrees ccw # CH disabled for now
"bottom_image": None, # 1 band greyscale image used for bottom relief
"ignore_leq": None, # set values <= this to NaN, so they are ignored
"lower_leq": None, # e.g. [0.0, 2.0] values <= 0.0 will be lowered by 2mm in the final model
"unprojected": False, # don't project to UTM, only usefull when using GEE for DEM rasters
"only": None,# list of tile index [x,y] with is the only tile to be processed. None means process all tiles (index is 1 based)
"poly_file": None, #"idaho.kml", #TT_poly_test.kml",
"smooth_borders": True, # smooth borders
Any idea what could be causing this? Thanks for your help!
—
Reply to this email directly, view it on GitHub<#77>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEYDF5JBPC6TP3D6ACPVWVDW7LKILANCNFSM6AAAAAAWRL4URQ>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
Chris Harding
Associate Professor
Department of Geological & Atmospheric Sciences
Touchterrain.geol.iastate.edu<http://Touchterrain.geol.iastate.edu>
|
yeah, it seems like the less tiles i have, the less the severe the misalignment is (which would make sense if its related to the lowest elevation computations) |
OK, I”m guessing I broke something then recently in that area when I added the min_elev setting. If I get some time tomorrow I’ll have a look.
On Apr 3, 2023, at 10:08, Luke Zirngibl ***@***.******@***.***>> wrote:
yeah, it seems like the less tiles i have, the less the severe the misalignment is (which would make sense if its related to the lowest elevation computations)
—
Reply to this email directly, view it on GitHub<#77 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEYDF5J2MMOTK6VDBSEC5NTW7LRWVANCNFSM6AAAAAAWRL4URQ>.
You are receiving this because you commented.Message ID: ***@***.***>
Chris Harding
Associate Professor
Department of Geological & Atmospheric Sciences
Touchterrain.geol.iastate.edu<http://Touchterrain.geol.iastate.edu>
|
Luke, I messed something up during the min_height parameter implementation (as I had suspected) and it should be fixed now. Thanks for telling me! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Chris,
I seem to be getting misaligned tiles when generating.
Aligned bottom:
Aligned ridge (misaligned bottom):
My config:
logfile:
Any idea what could be causing this? Thanks for your help!
The text was updated successfully, but these errors were encountered: