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

citygml-tiler: z-axis offset not working #143

Open
sehHeiden opened this issue Jun 15, 2023 · 1 comment
Open

citygml-tiler: z-axis offset not working #143

sehHeiden opened this issue Jun 15, 2023 · 1 comment

Comments

@sehHeiden
Copy link

I want to convert citygml with the pipline:
citygml(lod2)->3dcitydb(pg)->citygml-tiler(building).

which works with two exceptions: The resulting buildings are sometimes well above the official terrian
compared to the official tiles everything is about the hight of one to two floors to high! See image:
elevation_difference
The second problem is , that I did want the buildings on ground level, but in a zero altitude.

I the citygml-tiler has an --offset-parameter, but that is not decribed very well. As the current eleveations are much to high.
I tired to set the parameter to ground: which results in the error, that this not of tipe u32. Which is probaly the next problem.

I did set it to -200 (moved it west and perhaps a bid south? and 200 (moved it east and a bit north, perhaps? Therefore I tried
--offset 0 --offset 0 --offset -5 as it where a list.
But that still did move everything to the west.

So please can you specify:

  • how to use the parameter,
  • how to set it elevation to groundlevel (or correct it)
  • how to set everything to zero elevation.
@sehHeiden
Copy link
Author

sehHeiden commented Jun 15, 2023

I was able to set everything to ground level and a bit of shifting with:
--offset 0.1 0.5 -3.7 the original crs was 25833 the final crs is 4978.
Everything displayed in an instace of the master portal.

Edit: I removed about a thir of the buildings and needed to correct the z-offset to be -5

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

1 participant