On Sun, Mar 28, 2010 at 5:16 AM, Nakor <[email protected]> wrote: > Hello, > > I am trying to extract data in a polygon. I created the polygon using > osm2poly.pl and as far as I can tell, the polygon file looks good. I am > using the following command line: > > osmosis --read-xml enableDateParsing=no file="MI_limits_merged.osm" > --bounding-polygon file="mi_poly.txt" --write-xml file="michigan.osm" > > and am getting the following error message: > > SEVERE: Thread for task 1-read-xml failed > java.lang.NoClassDefFoundError: > org.openstreetmap.osmosis.core.filter.common.PolygonFileReader > at java.lang.Class.initializeClass(libgcj.so.10) > [...] > Caused by: java.lang.ClassNotFoundException: java.awt.geom.Path2D$Double > at > > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) > [...] > > What am I doing wrong? >
I'm not sure to be honest. It sounds like your Java installation is missing 2D libraries ... Can you give some more details about your installation? OS version, Java version (ie. "java -version" output), Osmosis version, etc. Brett
_______________________________________________ osmosis-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/osmosis-dev
