Dear experts,

The question is related to how to trigger loading data in the backend for a 
geoserver map using curl.

Background:
I am working with geoserver with geomesa/hbase data.
I typically work with a small number of maps.
Caching is very important: cold data takes much longer to load then hot data.
In my startup script for geoserver (=shell), I would like to completely load my 
maps once (while getting a coffee-takes 20 minutes combined) before I really 
start my analysis (during the real analysis I zoom in, out, move, apply CQL 
filters) so they are in the cache-makes using it a lot more pleasant.
When I load a map in the browser, I can see in the geoserver logs the query 
plan, then I see in my back-end (hbase) heavy loads going on, and caching 
happens, and after a while the map shows up.
But when I curl from a shell to get the map:
curl 
"http://server:port/geoserver/cite/wms?service=WMS&version=1.1.0&request=GetMap&layers=map1,map2&CQL_FILTER=query1,query2&styles=polygon,heatmap&width=768&height=384&srs=EPSG%3A4326&format=application/openlayers<https://server:port/geoserver/cite/wms?service=WMS&version=1.1.0&request=GetMap&layers=map1,map2&CQL_FILTER=query1,query2&styles=polygon,heatmap&width=768&height=384&srs=EPSG:4326&format=application/openlayers>”
I see in the geoserver log I see the getMap response immediately (impossible 
that the data really started loading in the back-end), and in hbase I can see 
that he did not start reading the data so the cache is not laded. The map 
really is loaded through open layers, maybe there is something else I should 
trigger in my shell, besides the curl command?


Thanks for input!
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to