Solved

How to troubleshoot based on MINECRAFT output?


My minecraft output looks like it's all one height and one colour, comparing it to the BowenIsland output, it should have multiple colours for multiple blocks and heights of trees, etc apparent. Where is my model going wrong? I used the FMW workspace and data as obtained from

https://knowledge.safe.com/articles/1064/how-to-ma...

and replaced the inputs with my prepared shapefiles and DEM. It should be seemless.

icon

Best answer by dmitribagh 8 March 2016, 19:41

View original

4 replies

Userlevel 2
Badge +11

Hi, @bigharv10

I can suggest a few things.

1) The data in Bowen island example goes through the rasterization step (inside MinecraftRasterizer custom transformer). You can connect Inspector to RasterSelector_3 and inspect the output in Data Inspector. The raster there should have 4 bands. The band 0 keeps z, and shouldn't have a name, but the other three should be named blockID, blockData, and vertical_offset. Check, whether the cells have different values in these bands - if all blockIDs are the same, then you should look for the problem before rasterization, otherwise it is somewhere down the road.

2) If there are no blockID cell values on the raster, check whether MinecraftStylers do the right job - the features leaving them should have attributes called blockID, blockData, and vertical_offset. I think, if no vector features reach rasterization, you would have just a surface made of some default block. In some workspaces I set it to 2. In case of Bowen Island, if I recall correctly, I had a complete coverage with vector features, and didn't need a default block.

3) If the raster looks okay, then we have to inspect the point cloud - if you re-route the output to Data Inspector and check the point components, they should have blockID and blockData components.

Note that the freshly opened world does not have any trees - they grow while you are in the world. Instead, you should see a lot of saplings. It takes some time, but after 10-20 minutes there should be a lot of trees. Note also, that our later investigation showed, we don't need bone meal for tree growth (and actually, setting it has no effect).

I hope this will help you to move forward and find why your world does not look as you expect. If you need further assistance, feel free to contact me at dmitri.bagh@safe.com

Dmitri

Userlevel 4
Badge +25

Can you post your workspace here? Or at least the log file. Then we'll be able to try and figure out what is going wrong.

Thank you for your assistance. I inspected the RasterSelector_3 and it shows all elevations as 0! There are however, differing blockID and blockData values.

What do I need to do to expose the elevation raster values? I even downloaded and used a CDED to match the raster data format properties as your example but still have no luck.

Can you also please tell me how you obtained an entire 3D view of the new world in Minecraft?

Reply