Closed hbarrameda closed 3 months ago
a PR to catch the error and return a more informative message would be welcome.
Thank you for maintaining this useful library @jgravois, I just started using it for a GIS project and hit this error also, the linked PR seems to address it 🙌
The function wktToGeoJSON of package @terraformer/wkt version 2.1.2 fails with error: Unable to parse: TypeError: this.parseError is not a function when the wkt is invalid.
To reproduce it just do wkt.wktToGeoJSON("POINT(0,0)")