-
Notifications
You must be signed in to change notification settings - Fork 20
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
CONTENT_VALIDATION_ERROR #27
Comments
Hi @Ananthu-Prakash ! The error produced in the b3dm conversion of "selected_water_line" is an error of the Mago3DTiler. Probably the b3dm you made has no geometry data. You must convert the water-pipes-lines as always. Wait few days to correct this error in the release version. |
Hello, tileset.tileLoad.addEventListener(function (tile) { for (let i = 0; i < content.innerContents.length; i++) { when i try to run this code, it is giving me error even though I can see the 3d tiles on the screen, this might be probably because innerContents inside content is coming undefined when i try to see content by console logging it. I want to know like is it really a possibility or is there any other thing that I can try. Thank you. |
Hi @Ananthu-Prakash ! Ok. We reproduced the same error. "A 3D tile failed to load: http://localhost/f4d/3dtiles/selected_water_line.shp/data/RC0.b3dm wait a little please |
Thank you sir. Please let me know when it is done. |
Using this script :
you can obtain all propertieNames & propertiesValues. this is useful? |
Hello sir, It will be really helpful if you could guide me as to how can I lead this info to selective visualisation. updateModelRotation(finalLongitude, finalLatitude, currently I am using above cesium function through which I am able to zoom to pipe location that is satisfying given criteria, but now I want only that particular pipe visble, but currently all pipes are visible and it is only zooming to pipe satisfying the criteria. |
I really no expert in cesium, but you can go to webpage "https://cesium.com/learn/cesiumjs-learn/cesiumjs-3d-tiles-styling/" and there are ways to filter objects by the propertiy. in the webpage there are a sandcastle example and you can see the code. There are a script to filter objects by property. In the example code, filters objects and shows only objects that are "residential" or "apartments" :
|
ok sir, I will try this. |
Hello,
I have successfully generated 3d tiles using following command
java -jar /home/akshay/Desktop/mago_1.8/mago-3d-tiler-1.8.1-natives-linux.jar --input "/home/akshay/Desktop/mago_1.8/bhavnagar/water_line_z/bhavnagr_water_z.shp" --inputType shp -c 32643 -hc pipe_depth -dc pipe_dia_i --output "/home/akshay/Desktop/mago_1.8/bhavnagar/water_3d/"
I am trying to visualise it using cesium, there it is giving me this error
A 3D tile failed to load: http://192.168.20.66:5501/PCMC/data/pcmc_water/data/R00C31.b3dm
so I tried to use this command to check if tiles are in proper format
npx 3d-tiles-validator --tilesetFile data/pcmc_water/tileset.json
there i get this in response which states 'The feature table binary must be aligned to 8 bytes'
this is the response for single tile for showing purpose, similar responses can also be seen for other tiles
{
"type": "CONTENT_VALIDATION_ERROR",
"path": "data/R00C20.b3dm",
"message": "data/R00C20.b3dm caused validation errors",
"severity": "ERROR",
"causes": [
{
"type": "BINARY_INVALID_ALIGNMENT",
"path": "data/R00C20.b3dm",
"message": "The feature table binary must be aligned to 8 bytes",
"severity": "ERROR"
}
]
}
How can it be corrected, this is the sample shapefile data that I am using to generate 3d tiles
selected_water_line.zip
The text was updated successfully, but these errors were encountered: