Menu

Skeletonizer

Adam Hanna
2013-05-16
2013-06-05
  • Adam Hanna

    Adam Hanna - 2013-05-16

    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

     
  • Adam Hanna

    Adam Hanna - 2013-05-16

    Scratch the no documentation thing. I just found the doc file…

     
  • michael michaud

    michael michaud - 2013-05-16

    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.

     

Log in to post a comment.