cityjson / cityjson-paraview-plugin

Reader for CityJSON files in ParaView
MIT License
4 stars 3 forks source link

Add lod in cell data #2

Closed leavauchier closed 1 year ago

leavauchier commented 1 year ago

Hello, Thanks for sharing this code! I found it quite useful but it misses a few features. Is it still in use?

As CityJSON files can contain several LoDs for the same area, I suggest to add it as a cell Data. I made it a float value in order to be able to use a threshold filter to visualize a single LoD.

I've tested this change with paraview 5.11 on Ubuntu 22.04

mdjong1 commented 1 year ago

Hi! Seems like a nice addition, thank you for the contribution :)