[osmosis-dev] extracting data in a polygon
brett at bretth.com
Mon Mar 29 02:28:57 BST 2010
On Sun, Mar 28, 2010 at 5:16 AM, Nakor <nakor.osm at gmail.com> wrote:
> 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
> at java.lang.Class.initializeClass(libgcj.so.10)
> Caused by: java.lang.ClassNotFoundException: java.awt.geom.Path2D$Double
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osmosis-dev