Currently I'm working on a web mapping project, where users can calculate a heatmap
raster
geotiff
based on their inputs and view it in Openlayers
afterwards. Raster calculations are done on serverside
with geotools
.
The way I go is like this:
- user fills out some input parameters on jsp page, that are sent to the
servlet
- the
servlet
uses thegeotools
library andpostgis
data to calculate aheatmap
- the
heatmap
is saved (curently local) as ageotiff
- the
geotiff
is uploaded togeoserver
and provided as aWMS Service
Now my question:
This way is error-prone (probably memory issues), but in general working. However it's not very straight forward.
Is there a better way to send a just temporarily used geotiff/raster
to Openlayers
on the clients page?
So to avoid geoserver
and WMS service
?
If not, how could I use geoserver
smarter? At the moment each client gets an "own" temporary workspace (workspacename+ unique key) to save his raster so he can not see the rasters of other users, the workspace is deleted on page closed.