Added by Michael Z. almost 10 years ago
As subject. I have one MySQL table in which one column of type 'geometry' is defined, and I have another C class, in which one member of type 'boost::geometry::model::polygon' is define correspondingly. my question is that how do I map this field in the 'persist' template method?
Hey,
I don't know if that is possible without changes in the MySQL backend; it depends on how you can read and write this data using the C API. Perhaps you can treat it as a string with some encoding?
Regards,
koen
you're correct, Koen. wkt_text function might be useful for the case;