Hi there,

currently I'm working on an OpenSource WebGIS, in which a large amount of
line-objects (about 15 000) have to be displayed over the map of Germany.
The data is distributed via GeoServer 2.1.3 WFS and is displayed in an
OpenLayers Client (Version 2.11). The data is stored in a PostGIS-database.
Because of the huge data and the high grade of detail of the lineobjects,
the application takes much time to display the vectordata in small scales
(>1:1 000 000).

To deal with this problem I would like to use the "GeoServer pregeneralized
features"-extension. 

I've already generalized the data and followed this tutorial
(http://www.mail-archive.com/geoserver-devel@lists.sourceforge.net/msg10382.html)
to create a "generalized datastore" in GeoServer.

The configuration part went well. But when I try to view the generalized
layer in OpenLayers, I get the following message in the GeoServer-Log:
„WARN [org.geotools.data.gen] - No hint for geometry distance in query,
fallback to base feature“

This means, the layer is displayed correctly, but always with the base
geometry.

I get the same message when following the tutorial from the GeoServer
website
(http://docs.geoserver.org/stable/en/user/tutorials/feature-pregeneralized/feature-pregeneralized_tutorial.html)
and generating a generalized data store from a shape file, so it's not a
problem with the PostGIS-database.

I've read in the Geotools-documentation
(http://docs.geotools.org/latest/userguide/library/data/pregeneralized.html)
that the additional hint "GEOMETRY_DISTANCE" has to be passed to the
WFS-query. 

Does anybody know how to configure the OpenLayers-client to be compatible
with the GeoServer pregeneralized features extension?

Thanks alot.

Paul



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/GeoServer-pregeneralized-features-extension-with-OpenLayers-tp4981400.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to