MySQL and GEOMETRY type columns (OpenGIS/WKB)

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
rlucencic
Posts: 1
Joined: Mon 19 Oct 2009 17:43
Location: Zagreb, Croatia
Contact:

MySQL and GEOMETRY type columns (OpenGIS/WKB)

Post by rlucencic » 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

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 28 Dec 2009 09:04

Please try to compose a small sample to demonstrate the problem and send it to dmitryg*devart*com.

Post Reply