Open claustres opened 2 years ago
Hitting the same error.
Also hitting the same error.
@claustres How did you add this manually? Could you post a code-snippet?
@paulterinho Just like explained in my comment, replace the srs in the ept.json
file by:
"srs": {
"wkt": "GEOCCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"metre\",1,AUTHORITY[\"EPSG\",\"9001\"]],AXIS[\"Geocentric X\",OTHER],AXIS[\"Geocentric Y\",OTHER],AXIS[\"Geocentric Z\",NORTH],AUTHORITY[\"EPSG\",\"4978\"]]",
"authority": "EPSG",
"horizontal": "4978"
}
@claustres Thank so much!
This error is raised when I try to convert to a Cesium tileset:
ept tile -i E:\GeoData\LIDARHD_1-0_LAZ_NP-0822_6319-2021\tilesets\Semis_2021_0822_6318_LA93_IGN69.ept\ept.json -o E:\GeoData\LIDARHD_1-0_LAZ_NP-0822_6319-2021\tilesets\Semis_2021_0822_6318_LA93_IGN69.cesium
The tile set has been build using:
docker run -it -v E:\GeoData\LIDARHD_1-0_LAZ_NP-0822_6319-2021:/entwine connormanning/entwine build -i /entwine/Semis_2021_0822_6318_LA93_IGN69.laz -o /entwine/tilesets/Semis_2021_0822_6318_LA93_IGN69.ept -r EPSG:2154 EPSG:4978
When I look at my
ept.json
I can see this:However when debugging it appears the error is raised here because looking at the code here it is not looking for a wkt but for a horizontal/authority properties. I've made it work by adding this manually to the srs: