Created
January 27, 2021 06:25
-
-
Save iamgeoknight/9b9533ca9d68e9e364814e90715e1676 to your computer and use it in GitHub Desktop.
JSTS reading WKT geometry
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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