Skip to content

Instantly share code, notes, and snippets.

@iamgeoknight
Created January 27, 2021 06:25
Show Gist options
  • Save iamgeoknight/9b9533ca9d68e9e364814e90715e1676 to your computer and use it in GitHub Desktop.
Save iamgeoknight/9b9533ca9d68e9e364814e90715e1676 to your computer and use it in GitHub Desktop.
JSTS reading WKT geometry
var reader = new jsts.io.WKTReader()
var a = reader.read('POINT (-20 0)')
var b = reader.read('POINT (20 0)')
a = a.buffer(40)
b = b.buffer(40)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment