Hi, I am working with GeoServer 2.3.2, using the GetFeatureInfo with 
INFO_FORMAT=application/vnd.ogc.gml, which gives a GML with all the 
contents of the feature.

The problem is that it includes the whole geometry and the response 
reaches in some cases 500kb, so it can be quite slow. I would be 
interested on a simplified geometry, or even the boundary.

I think I can solve this at the application level, for example using WFS 
or building and querying a simplified version of the layer, but I would 
like to solve it at the server level so the people that work with the 
application does not have to bother much.

I have seen the possibility to specify the non-standard parameter 
propertyName and actually take the geometry completely out of the 
result, but as I said before, I would like to have the boundary, for 
example.

As an external solution to GeoServer, I can think of installing a proxy 
service that processes the GetFeatureInfo GML output and simplifies the 
geometries of the result. Any comments to this idea? Do you have any other?

Do you think it would be interesting to extend the propertyName 
parameter to accept the usage of filter functions[1], for example 
"boundary"? I can imagine something like "propertyName=boundary(geom) as 
geom,name,gid"

Cheers.

[1] http://docs.geoserver.org/latest/en/user/filter/function_reference.html

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to