Do you have a log file ? The pregeneralized feature store reports  
which generalization is used for each access. This is the only way to  
check if everything is working.

There is a tutorial for geoserver
http://docs.geoserver.org/1.7.5/user/tutorials/feature-pregeneralized/feature-pregeneralized_tutorial.html

In this tutorial you can see an example for the log.

-------------------------
May 20, 2009 4:53:05 PM  
org.geotools.data.gen.PreGeneralizedFeatureSource logDistanceInfo
INFO: Using generalizsation: file:data/streams/20.0/streams.shp  
streams the_geom 20.0
May 20, 2009 4:53:41 PM  
org.geotools.data.gen.PreGeneralizedFeatureSource logDistanceInfo
INFO: Using generalizsation: file:data/streams/5.0/streams.shp streams  
the_geom 5.0
---------------------------

Otherwise you should see some error messages.





Quoting Richard Marshall <[email protected]>:

>
> Hi
>
> I am attempting to pregeneralize my shapefile in order to improve the
> repaint performance.  I looked through the Feature-Pregeneralized section in
> the docs (http://docs.codehaus.org/display/GEOTDOC/Feature-Pregeneralized)
> but I can not seem to get it to work so that a particular pregeneralized
> shapefile is selected when the user zooms in or out of the JMapPane.  I am
> using GeoTools 2.6.1
>
> Do you have a more complete example to show how this could be done?
>
> Thanks,
> Richard
> --
> View this message in context:   
> http://n2.nabble.com/Shapefile-pregeneralization-tp4867089p4867089.html
> Sent from the geotools-gt2-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to