Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-users] Make multipolygon borders less detailed?

This is probably exactly what I need, thanks. Unfortunately I get an error message during the "getting started" instructions. I have downloaded gt-feature-pregeneralized-2.5-SNAPSHOT.jar and feature-pregeneralized-1.7.5.jar and put them into WEB-INF/lib. When I run the java command I get the following:

Exception in thread "main" java.lang.NoClassDefFoundError: org/geotools/data/FileDataStoreFactorySpi
Caused by: java.lang.ClassNotFoundException: org.geotools.data.FileDataStoreFactorySpi
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: org.geotools.data.gen.tool.Toolbox. Program will exit.

Jan


On Tue, Sep 1, 2009 at 10:10 PM, Gabriel Roldan <groldan@xxxxxxxxxxx> wrote:
Hi Jan,

I may be wrong but I guess udig does not have a "generalize" or "simplify" spatial operation right now.

If you're using geoserver though, it may be worth giving a try to the "feature pregeneralized" datastore, which decorates any other kind of data store allowing the creation of a pyramid like geometry structure (using different geometry fields at different simplification levels):
<http://docs.codehaus.org/display/GEOTDOC/Feature-Pregeneralized>
<http://docs.geoserver.org/1.7.5/user/tutorials/feature-pregeneralized/feature-pregeneralized_tutorial.html>

cheers,
Gabriel

Jan Henrik Øverland wrote:
Hi list,

I have a multipolygon shapefile that is so detailed/big that when I try to load it into my web based GIS application my web browser crashes (even Chrome does).

Thus, I wonder if there is a function in uDig that makes polygon borders less detailed - without losing their shape totally of course?

Jan


------------------------------------------------------------------------

_______________________________________________
udig-users mailing list
udig-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.refractions.net/mailman/listinfo/udig-users


--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.


Back to the top