Skip to main content

HTML5 Viewer - Cut Polygon in an Editable Feature Service by a Line

Comments

8 comments

  • Permanently deleted user
    I managed to work it out on my own. This is an extremely draft version with no error checking at this point, so use at your own risk. To use this, you'll need to update two variables in the workflow:

     

      stringURLGeomteryServer - set this to the URL of your geometry server

     

    stringURLFeatureServiceLayer - set this to the URL of your polygon feature layer that you'd like to cut

     

    Please note that this was developed for a polgon feature class that does not contain overlapping polygons. The workflow allows you to draw a freehand line across a polygon (or multiple polygons) and it will cut those polygons. The original polygon is deleted and the new resulting cut polygons inherit the attributes of the original polygons.

     

    Here si the link to my workflow in case it may help others.

     

    http://www.cvwdgis.org/geocortex/workflows/CutPolygon.xaml
    0
  • Permanently deleted user
    Thank you for sharing!
    0
  • Permanently deleted user
    Can anyone shed any light on when/if advanced editing tasks such as cut/merge will make it into the HTML5 viewer? This would help keep our data quality good.
    0
  • Steffen Helgerod
    I am waiting for more advanced editing tools aswell.
    0
  • Lauren MacLean
    Still waiting as far as I can tell
    0
  • Lauren MacLean
    Matthew the link you provided to your workflow no-longer works. Is there any chance you could post it as a code snippet? I'm trying ot build a workflow for this myself and am getting quite stuck - an example would be really helpful. Thanks!
    0
  • Permanently deleted user
    me too :)

     

    if you could post it again that would be great!
    0
  • Permanently deleted user
    My apologies for the extremely delayed response. You can download vis this link:

     

    http://www.cvwdgis.org/workflows/CutPolygon.xaml
    0

Please sign in to leave a comment.