[Zoo-discuss] Caching, incorrect caching file(?)

Farkas H farkas.dus at gmail.com
Wed Oct 31 04:58:33 PDT 2012


Hi list,

I'm checking the caching mechanism for referenced wfs-data.
The caching works very well.

But I've got some strange behavior accessing referenced wfs-data from
localhost. I've setup a GeoServer wfs (version 2.2) with polygons
based on Oracle XE (version 10).
If I compute for example the centroids via CentroidPy the referenced
wfs data is stored in the cache directory and I get a correct
response.
Next time I execute the same request I get
(1) an error message: XML parsing of GML file failed : not well-formed ...
(2) the response file has no features:
...
<ogr:FeatureCollection xsi:schemaLocation="http://ogr.maptools.org/
store4836.xsd"></ogr:FeatureCollection>
...

There seems to be nothing wrong with the caching file.
As I can see zooWPS caching files usually have just one line. This
caching file has two lines:
line 1: <?xml version="1.0" encoding="UTF-8"?>
line 2: <wfs:FeatureCollection xml ... </wfs:FeatureCollection>

After I corrected the caching file manually everything went well.

What went wrong?
I'm wondering if I made any mistakes setting up the wfs.

I would appreciate any advice.

Regards,
Farkas


More information about the Zoo-discuss mailing list