I have a form that allows to add geometries to a node. It features a geofield map widget where you can also add geometries using a WKT field. Plenty of users have used this field. However, some of the provided geoemtries are rather complex and some of them are invalid/malformed.

I want to setup a routine on those geometries in my mysql database, but every operation fails because of the malformed geometries.

Is there are way to catch this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.