1

I've come across some data being sent in the CAP (http://docs.oasis-open.org/emergency/cap/v1.2/CAP-v1.2.html) format, which in turn contains an <area> element with either a polygon or circle definition. I want to ultimately get this into a SQL Server geometry, but I think parsing it into WKT would facilitate that. Are there any common algorithms already out there that deals with this CAP format geometries, or am I on my own for parsing it out?

  • 1
    You won't have a lot of success with circles and WKT - best path is to approximate the circle with a polygon. – BradHards Dec 13 '16 at 21:18

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.