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.



      
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to