MySQL and GEOMETRY type columns (OpenGIS/WKB)
Posted: Sat 26 Dec 2009 14:13
Hi, all!
I'm using MyDAC 5.90.0.54 Std. in Delphi 2010, and trying to write into GEOMETRY type column in a table, via TBlobField/TDataSet.CreateBlobStream. The binary I write into such stream is OpenGIS WKB. When I try to Post such change, I get the EMySqlException exception:
#22003Cannot get geometry object from data you send to the GEOMETRY field
Anyone has experience with such tables and OpenGIS WKB?
Thanks,
Robert
I'm using MyDAC 5.90.0.54 Std. in Delphi 2010, and trying to write into GEOMETRY type column in a table, via TBlobField/TDataSet.CreateBlobStream. The binary I write into such stream is OpenGIS WKB. When I try to Post such change, I get the EMySqlException exception:
#22003Cannot get geometry object from data you send to the GEOMETRY field
Anyone has experience with such tables and OpenGIS WKB?
Thanks,
Robert