Hi,
outputFormat=“SHAPE-ZIP” works until a BBOX filter is specified? Is the SHAPE-ZIP output more limited than GML2?
<wfs:GetFeature service=“WFS” version=“1.0.0”
outputFormat=“SHAPE-ZIP”
xmlns:topp=“http://www.openplans.org/topp”
xmlns:wfs=“http://www.opengis.net/wfs”
xmlns:ogc=“http://www.opengis.net/ogc”
xmlns:gml=“http://www.opengis.net/gml”
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd">
<wfs:Query typeName=“topp:states”>
</wfs:Query>
</wfs:GetFeature>
<wfs:GetFeature service=“WFS” version=“1.0.0”
outputFormat=“SHAPE-ZIP”
xmlns:topp=“http://www.openplans.org/topp”
xmlns:wfs=“http://www.opengis.net/wfs”
xmlns:ogc=“http://www.opengis.net/ogc”
xmlns:gml=“http://www.opengis.net/gml”
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd">
<wfs:Query typeName=“topp:states”>
ogc:PropertyNamethe_geom</ogc:PropertyName>
<gml:Box srsName=“http://www.opengis.net/gml/srs/epsg.xml#4326”>
gml:coordinates-75.102613,40.212597 -72.361859,41.512517</gml:coordinates>
</gml:Box>
</ogc:BBOX>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>
Log output:
Request: null
output format:SHAPE-ZIP
max features:2147483647
version:
queries:
Query
feature type: topp:states
filter: [ the_geom bbox POLYGON ((-75.102613 40.212597, -75.102613 41.512517, -72.361859 41.512517, -72.361859 40.212597, -75.102613 40.212597)) ]
[properties: ALL ]
_4631179 [WARNING] org.geotools.data.shapefile.dbf.DbaseFileHeader - Field Length for LAND_KM set to 19 Preserving length, but should be set to Max of 18 for dbase III specification.
4631179 [WARNING] org.geotools.data.shapefile.dbf.DbaseFileHeader - Field Length for WATER_KM set to 19 Preserving length, but should be set to Max of 18 for dbase III specification.
4631179 [WARNING] org.geotools.data.shapefile.dbf.DbaseFileHeader - Field Length for PERSONS set to 19 Preserving length, but should be set to Max of 18 for dbase III specification.
4631179 [WARNING] org.geotools.data.shapefile.dbf.DbaseFileHeader - Field Length for FAMILIES set to 19 Preserving length, but should be set to Max of 18 for dbase III specification.
.
.
.