You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My config files are attached. This example is of an architectural drawing pdf that was converted into images.
A few assumptions just to make sure I understand the file structure and config correctly following from this discussion:
The filenames must have exactly 5 bits for row and for column. So "tile00000x00000" no more or less.
The layers are saved in folders named "layer0" ... "layer4".
"layer0" is meant to be the finest level of detail with the most tiles
The tiles must be square aspect ratio
Every tile, regardless of layer, should all be the same number of pixels. e.g. If layer0 tiles are 512x512 then layer1 tiles should be as well. The exception is the highest layer where that image is allowed to not be square.
The image_width and image_height in the config are the total width and height if you combined all the tiles from "layer0" into one high-res image
I tried many variations on all of the above and the best I could get was to get either a single image from layer0 to display or with a different config four images from layer0 to display. I am happy to generate different images if any of my above assumptions were wrong.
See the attached configs
test_one_layer.geo configures the multrires_image to expect that 1 tile would cover the original image. It loads a single image from layer0. I think that seems like the expected behavior? (ignore the fact that the images is just of a corner of the pdf, that is because the files I provided assume you use all the layers)
test_two_layers.geo configures the multires_image to expect that 4 tiles would cover the original image. It loads four images from layer0 and no matter how much you zoom in our out it never loads something else. I would have expected it to load 1 image from layer1 until you zoom in enough to see four images from layer0.
test_three_layers.geo returns the following error in the CLI "Error: Failed to load image."
test_all_layers.geo never returns an error on the CLI, but never shows images either
My config files are attached. This example is of an architectural drawing pdf that was converted into images.
A few assumptions just to make sure I understand the file structure and config correctly following from this discussion:
I tried many variations on all of the above and the best I could get was to get either a single image from layer0 to display or with a different config four images from layer0 to display. I am happy to generate different images if any of my above assumptions were wrong.
See the attached configs
example_map_viz_config.mvc.txt
example_tiles_and_multires_configs.zip
The text was updated successfully, but these errors were encountered: