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

Unknown Projection Name on CityGML File #40

Open
MdRanaSarkar opened this issue Oct 5, 2023 · 1 comment
Open

Unknown Projection Name on CityGML File #40

MdRanaSarkar opened this issue Oct 5, 2023 · 1 comment

Comments

@MdRanaSarkar
Copy link

Converting...
Reading CityGML file 1/1...
Found 711 city objects.

Unknown projection name: "EPSG:28992".
See https://github.com/njam/citygml-to-3dtiles#option-srsprojections for details.

For EPSG:28992 , it couldn't create the tiles.

Can anyone help how can I project with this epsg ?

@PieterT2000
Copy link

PieterT2000 commented Feb 5, 2024

Have you added the Proj4 definition for EPSG:28992 to the srsProjections object?
If not, can you try if the following works:

...
let converter = new Convert({
   srsProjections: {
      "EPSG:28992": "+proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.999908 +x_0=155000 +y_0=463000 +ellps=bessel +units=m +towgs84=565.2369,50.0087,465.658,-0.406857330322398,0.350732676542563,-1.8703473836068,4.0812 +no_defs"
   }
}
... 

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