kaktus40 / Cesium-GeoserverTerrainProvider

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

Error: "DeveloperError: options.buffer is required." #58

Open aspandaburkut opened 4 months ago

aspandaburkut commented 4 months ago

Hello @kaktus40 ,

Thank you for this plug-in. I tried to run the project on two different computers. On one I was successful [1], but on the other I got "An error occurred [2] in "CustomHeightmapTerrainProvider": Failed to obtain terrain tile X: 1 Y: 0 Level: 0. Error message: "DeveloperError: options.buffer is required." When I checked the Geoserver logs, I saw that the server gave a "no service: ows" error on the failed one. When I looked at the logs, I saw that the request url's were different. I am attaching the working and non-working urls below. I could not find where this difference occurred. It is very critical for me to be able to do this for my school project. I would be very grateful if you can help me. Thank you in advance for your feedback.

(1) http://localhost:8082/geoserver/ows?format=image%2Fpng&transparent=true&service=WMS&version=1.1.1&request=GetMap&styles=&layers=ne%3Sample_f32&bbox=-135%2C-90%2C-90%2C-45&width=256&height=256&srs=EPSG%3A4326

(2) http://localhost:8082/geoserver/ows?SERVICE=WMS&REQUEST=GetMap&layers=ne%3Sample_f32&version=1.3.0&bbox=-180.35294117647058%2C-90.3529411764706%2C0.35294117647058826%2C90.3529411764706&crs=CRS%3A84&srs=CRS%3A84&format=image%2Fbil&width=256&height=256

image

P.S. I wrote my code with help from this issue #9

kaktus40 commented 3 hours ago

Hi, it's difficult to make a comment or find a solution with your description of issue: two computers, two different results. What is different in result and in configurations of the plugin?!? From your request URLs, one configuration use BIL/DDS and the other not. Which one works ? Has you see, you need to provide more food to thought...