Skip to content

Instantly share code, notes, and snippets.

@riyafa
Created October 7, 2017 08:35
Show Gist options
  • Save riyafa/af3d7fe657ff369d4378dcbccef76f8e to your computer and use it in GitHub Desktop.
Save riyafa/af3d7fe657ff369d4378dcbccef76f8e to your computer and use it in GitHub Desktop.
SELECT VALUE {"Length": st_length(geo.myGeometry), "Boundary":st_boundary(geo.myGeometry)} FROM Geometries geo WHERE geometry_type(geo.myGeometry)="LineString" OR geometry_type(geo.myGeometry)="MultiLineString";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment