Hey all,
I've come across the following issue when trying to seed some data through
GeoServer's integrated version of GeoWebCache. When attempting to seed some
raster layers (which use the EPSG:3857 projection), no folders are generated
for the layers in the data_dir/gwc/ directory. Attempting to seed a single
layer via curl results in an http 200 (OK) from the server.
The GeoServer documentation gives the following example:
curl -v -u admin:geoserver -XPOST -H "Content-type: text/xml" -d
"<seedRequest><name>nurc:Arc_Sample</name><srs><number>4326</number></srs><zoomStart>1</zoomStart><zoomStop>12</zoomStop><format>image/png</format><type>truncate</type><threadCount>2</threadCount></seedRequest>"
"http://localhost:8080/geoserver/gwc/rest/seed/nurc:Arc_Sample.xml"
On the particular GeoServer instance that I'm working on, I don't have the
default data. I've substituted the appropriate workspace and layer name in to
my own call, so that it looks something like the following:
curl -v -u admin:geoserver -XPOST -H "Content-type: text/xml" -d
"<seedRequest><name>ws:layer_name</name><srs><number>3857</number></srs><zoomStart>5</zoomStart><zoomStop>14</zoomStop><format>image/png</format><type>truncate</type><threadCount>1</threadCount></seedRequest>"
"http://localhost:8080/geoserver/gwc/rest/seed/ws:layer_namexml"
As mentioned, this is returning an HTTP 200 (OK from GeoServer), but is failing
to actually generate any data on disk. When I look in the server log, there is
no indication of anything failing at all, and no data is generated for the
layer in GeoServer's data_dir/gwc/ directory. This happens both on GeoServer
2.6.1 and GeoServer 2.3.2.
Can anyone shed some light on why this might be happening, or at least point me
in the right direction for debugging this?
- Joel
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users