From: Ravi P. <rav...@ym...> - 2011-02-28 18:15:02
|
Hi, I am using a basic WFS on Geoserver(2.0.2)and wanted to limit the attributes through "schema customization" to be shown in getfeature. I was following the 2.0.2 documentation and was not completely able to do that. As per http://docs.geoserver.org/2.0.2/user/services/wfs/schemamapping.html#schema-customization "copy schema.xsd $GEOSERVER_DATA_DIR/featureTypes/<ds>_myDataset/" There is no featureTypes folder in geoserver data directory which contains coverages,data,demo,gwc etc folders . Looks like the documentation was outdated for this page. I looked at 2.1.x user manual http://docs.geoserver.org/stable/en/user/services/wfs/schemamapping.html#schema-customization "copy schema.xsd $GEOSERVER_DATA_DIR/workspaces/<workspace>/<datastore>/myDataset/" The above directory structure exists in 2.0.2 and I was succesfully able to limit the attributes in the describefeaturetype call. But when I tried to use GetFeature for a given typeName with 1) WFS 1.1.0 and GML2/GML3 outputformat Customized list of attributes is populated.. Logs:No Errors 2) WFS 1.1.0 and shape-zip outputformat The entire list of attributes is populated.. Logs:No Errors Is this an expected behavior with different output formats? Any suggestions? Thanks, Ravi. |