Skip to content

Make a georef render

domlysz edited this page Mar 15, 2020 · 2 revisions

This is a tool to create a new camera correctly setup for produce a map render. Georeferencing data (worldfile) are writing in text file accessible from the Blender text editor.

Usage : Select the georef object that represents your map and then just click on the button to get a new camera with the good parameters.

It's also possible to select a mesh and a camera for updating the render resolution of an existing camera.

Tools options
You can name the camera and choose the target pixel size in map unit.

In this example the mesh dimension on x axis is 3455 meters:

If the target pixel size for the render is set to 5 meters / px, render resolution will be 3455 / 5 = 691 px. Set up the target size automatically sets the render size accordingly.

The camera is set to ortho with the correct scale and location to enclose the mesh.

The script also try to set best Z location and clipping distance.

If you open a text editor and browse the loaded files, you will find the wordlfile that contains the georeferecing data.

Now you can hit F12 and save the render output and the worldfile text on your disk. Don’t forget to name them correctly and accordingly.

Open them in your GIS software: