I'm trying to convert polygons to centerline. I'm running skeletonizer. There are no instructions, but it requires an input point layer, input polygon layer, output shapelayer and output report. For the points layer, I'm using points that were created from the vertices of the polygon. I get the following error:
Here are the details:
java.lang.IllegalStateException: org.geotools.shapefile.ShapeTypeNotSupportedException: Unsuported shape type:574106950
at net.refractions.skeletons.SkeletonizeDatasetPlugin.run(SkeletonizeDatasetPlugin.java:208)
at com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152)
at java.lang.Thread.run(Unknown Source)
PS - the output text file is empty.
Thanks!
Adam
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I made a test and it works for me.
If your point layer comes from OpenJUMP, there is no reason why it could not read it.
I stilll have a lot of errors like :
"There are 1 river exit/entry points that doesn't have edge.
But most of my surfaces have one or several* center line after the process (depending of the number of points around).
*Points should only materialize exit/entry points of the surface.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to convert polygons to centerline. I'm running skeletonizer. There are no instructions, but it requires an input point layer, input polygon layer, output shapelayer and output report. For the points layer, I'm using points that were created from the vertices of the polygon. I get the following error:
org.getools.shapefile.shapetypenotsupportedexception: Unsuported shape type:574106950
Here are the details:
java.lang.IllegalStateException: org.geotools.shapefile.ShapeTypeNotSupportedException: Unsuported shape type:574106950
at net.refractions.skeletons.SkeletonizeDatasetPlugin.run(SkeletonizeDatasetPlugin.java:208)
at com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152)
at java.lang.Thread.run(Unknown Source)
PS - the output text file is empty.
Thanks!
Adam
Scratch the no documentation thing. I just found the doc file…
Hi
I made a test and it works for me.
If your point layer comes from OpenJUMP, there is no reason why it could not read it.
I stilll have a lot of errors like :
"There are 1 river exit/entry points that doesn't have edge.
But most of my surfaces have one or several* center line after the process (depending of the number of points around).
*Points should only materialize exit/entry points of the surface.