kaktus40 / Cesium-GeoserverTerrainProvider

plug in to use geoserver as terrain provider
Other
360 stars 141 forks source link

issue in showing large dsm files showing spikes and cuts #53

Closed bikash153 closed 1 year ago

bikash153 commented 1 year ago

image

bikash153 commented 1 year ago

For small images its working fine

kaktus40 commented 1 year ago

Hi, can you give more context? (see others isuues to see wht I mean)

bikash153 commented 1 year ago

I am using geoserverterrain provoider bil/dss extension with geoserver 2.21.0 using bigendian and application/16 bit its working fine for small dsm file

dsm1

bikash153 commented 1 year ago

It works for small file

bikash153 commented 1 year ago

https://github.com/kaktus40/Cesium-GeoserverTerrainProvider/blob/master/dist/GeoserverTerrainProvider.js

I am using this file

bikash153 commented 1 year ago

Is there any solutions

kaktus40 commented 1 year ago

Can you describe your process to convert your elevation files so I can test from my computer?

bikash153 commented 1 year ago
  1. DEM DSM and ORTHO are generated from LiDAR based data. 2.It is unsigned 32 bit data 3.We have used gdal to convert it into COG file with deflate compression
  2. The generation of DSM and dem were done using Pix4D 5.Tiles were mosaic and severed using geoserver

I am using this script file https://github.com/kaktus40/Cesium-GeoserverTerrainProvider/blob/master/dist/GeoserverTerrainProvider.js

Just let us know how you are doing if you are having the dataset

rrorsac commented 1 year ago

!gdal_translate "E:\bmc\mk.tif" "E:\bmc\bmc_mk_cog.tif" -co BIGTIFF=YES -co TILED=YES -of COG -co COMPRESS=DEFLATE

!gdal_translate "\ip\Share5\bmc_dsm_mosaic_new.tif" "\Share5\cog\bmc_dsm_mosaic_cog.tif" -co BIGTIFF=YES -of COG -co COMPRESS=LZW we are using this to convert it to cog.

Storing data in S3 bucket and publishing it using geoserver COG plugin: https://build.geoserver.org/geoserver/2.21.x/community-latest/geoserver-2.21-SNAPSHOT-cog-plugin.zip

and DDS/BIL plugin geoserver-2.21-SNAPSHOT-dds-plugin.zip

bikash153 commented 1 year ago

Above are the command for cog conversation Please let me know

kaktus40 commented 1 year ago

Well I never worked with Cloud Optimized GeoTIFF. can you send me the capabilities document of your geoserver?

bikash153 commented 1 year ago

<Layer queryable="1" opaque="0">

raster:dsm_cog dsm_cog Layer-Group type layer: raster:dsm_cog dsm_cog EPSG:4326 CRS:84 85.72587838395638 85.9094574953808 20.20515349768633 20.37644703892337

<BoundingBox CRS="CRS:84" minx="85.72587838395638" miny="20.20515349768633" maxx="85.9094574953808" maxy="20.37644703892337"/> <BoundingBox CRS="EPSG:4326" minx="20.20515349768633" miny="85.72587838395638" maxx="20.37644703892337" maxy="85.9094574953808"/>

bikash153 commented 1 year ago

<Layer queryable="1" opaque="0">

raster:dsm_cog dsm_cog Layer-Group type layer: raster:dsm_cog dsm_cog EPSG:4326 CRS:84 85.72587838395638 85.9094574953808 20.20515349768633 20.37644703892337

<BoundingBox CRS="CRS:84" minx="85.72587838395638" miny="20.20515349768633" maxx="85.9094574953808" maxy="20.37644703892337"/> <BoundingBox CRS="EPSG:4326" minx="20.20515349768633" miny="85.72587838395638" maxx="20.37644703892337" maxy="85.9094574953808"/>

kaktus40 commented 1 year ago

Is it possible to have the full document?

bikash153 commented 1 year ago

wmscapabilities.txt

Please find the capability document

kaktus40 commented 1 year ago

From your file I see that you didn't use bil/dds plugin

bikash153 commented 1 year ago

Thank You. Resolved the issues.