bjornharrtell / jsts

JavaScript Topology Suite
http://bjornharrtell.github.io/jsts/
Other
1.49k stars 232 forks source link

Can I validate any Geometry Object? #506

Closed karimfayed closed 1 year ago

karimfayed commented 1 year ago

I wish to validate the geometry object before saving it in the database, is there a function that checks the geometry type and validates the coordinates accordingly?