Skip to content
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

geometry templates mixed results in ninja #82

Open
esgn opened this issue Aug 24, 2023 · 1 comment
Open

geometry templates mixed results in ninja #82

esgn opened this issue Aug 24, 2023 · 1 comment

Comments

@esgn
Copy link

esgn commented Aug 24, 2023

Hi,

I'm having mixed results with geometry templates in Ninja. Sometimes geometry templates work as in https://3d.bk.tudelft.nl/opendata/cityjson/3dcities/v1.1/LoD3_Railway.city.json where SolitaryVegetationObject are correctly displayed. But sometimes they don't.

I would expect a simple example like https://3d.bk.tudelft.nl/opendata/cityjson/simplegeom/v1.1/geomtemplate.city.json to work with latest ninja version, but nothing is actually displayed. If geomtemplate.city.json is not supposed to work in ninja is there somewhere a very simple working example I could learn from to try and fix my datasets whose geometry templates fail to be displayed ?

Thanks in advance

@liberostelios
Copy link
Collaborator

Hi @esgn,

Sorry for the late response.

I took a look into the example and tried to figure out why you don't see anything with the example. It turns out, it's probably because there is no regular geometry to set the bounds in which the camera will zoom. If you add a regular geometry in this file, you should be able to see the geometry template as well (I haven't tested yet, but that's what my evidence conclude right now).

Is there another file of yours that is suffering from the same problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants