I need to server out the data to Cesium, so the single layer option would be in the intended use. I’ve seen several mentions of using the follow imagery provider in Cesium along with geoserver. I just can’t find any reference on how to add the data to geoserver. ImageMosaic does seem like the best option.
https://cesiumjs.org/Cesium/Build/Documentation/WebMapServiceImageryProvider.html?classFilter=web
After trying to load the data into the ImageMosaic, I get the following error(in the process a dbf, fix, prj, properties, shp, shx files are created. There’s also a sample_image.dat file):
org.apache.wicket.WicketRuntimeException: Method onRequest of interface org.apache.wicket.behavior.IBehaviorListener targeted at org.apache.wicket.ajax.markup.html.AjaxLink$1@anonymised.com.8958… on component [AjaxLink [Component id = link]] threw an exception
at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:268)
at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:248)
at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234)
at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)
at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261)
at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:137)
I’ve tried just adding a subset of the imagery(just the 5m data, and even a single folder of the 5m and get the same results)
I’m checking through the imageMosaic documentation now, but if anyone has any ideas. The properties and prj file seem to have some definitions that aren’t correct, but I’m really not sure what the values should be.
Scott
hawaii.prj (160 Bytes)
hawaii.properties (396 Bytes)
···
From: bradh@anonymised.com bradh@anonymised.com
Sent: Tuesday, July 10, 2018 8:00 AM
To: Haynes, Scott R (US) scott.r.haynes@anonymised.com; Geoserver-users@lists.sourceforge.net
Subject: EXTERNAL: RE: [Geoserver-users] Loading a folder of tfw and tif files
Are you trying to make a single layer that has all of those images put together? If so, you probably want to start at http://docs.geoserver.org/latest/en/user/data/raster/imagemosaic/index.html
If you want to create a lot of layers (one per file) then you probably want to use some kind of automation, like the REST API:
http://docs.geoserver.org/stable/en/user/rest/api/index.html
HTH
Brad
From: Haynes, Scott R <scott.r.haynes@anonymised.com>
Sent: Tuesday, 10 July 2018 9:55 PM
To: Geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Loading a folder of tfw and tif files
I’m trying to load a set of 15m ad 5m imagery. I successfully load a single tfw and tif file, but I have a folder structure of over 500 sets of the two files. I’ve looked through the documentation a couple of times and even tried searching the geosolutions training docs. I just can’t find how to add a collection of files as apposed to a single file. Do I need to build a DB of the files and then add the DB reference? If I’ve missed the documentation that describes how to do this then please let me know.
TIA, Scott