Per Lewau created GEOS-5762 |
Issue Type: |
Bug |
Affects Versions: |
2.3.0 |
Assignee: |
|
Components: |
WFS |
Created: |
11/Apr/13 3:57 AM |
Description: |
When requesting json from the WFS service in GeoServer 2.2.5 we got only the properties we requested. $ curl -s ‘http://127.0.0.1:8080/geoserver/wfs?request=GetFeature&typeName=sf:archsites&MAXFEATURES=1&outputFormat=application/json&VERSION=1.1.0&propertyName=cat’ When doing the same with GeoServer 2.3.0 we first get an exception since the propertyName parser seems to be broken. $ curl -s ‘http://127.0.0.1:8080/geoserver/wfs?request=GetFeature&typeName=sf:archsites&MAXFEATURES=1&outputFormat=application/json&VERSION=1.1.0&propertyName=cat’ So lets try to request cat,cat instead: $ curl -s ‘http://127.0.0.1:8080/geoserver/wfs?request=GetFeature&typeName=sf:archsites&MAXFEATURES=1&outputFormat=application/json&VERSION=1.1.0&propertyName=cat,cat’ {“type”:“Point”,“coordinates”:[593493,4914730]} ,“geometry_name”:“the_geom”,“properties”:{“cat”:1,“str1”:“Signature Rock”}}],“crs”:{“type”:“EPSG”,“properties”: {“code”:“26713”} }} Now we also got the geometry and str1. This is a problem for us since we get OOME’s since the responses are all of a sudden very big. Am I missing some other neat way of excluding the geometry? |
Environment: |
Windows 7 |
Project: |
|
Priority: |
Major |
Reporter: |