Hello,
How to read and write spatial data from/into the PostgreSQL or Oracle databases?
Is there something like asString for the geometry ?
Regards
Michal
Reading and writting spatial data.
Re: Reading and writting spatial data.
Hello,
The GEOMETRY type is a PostgreSQL and Oracle server-specific types and it cannot be brought to UniDAC. Therefore in UniDAC you can work with such field types only as with strings. For example, to record data to a Point field, you can use the following code:
The GEOMETRY type is a PostgreSQL and Oracle server-specific types and it cannot be brought to UniDAC. Therefore in UniDAC you can work with such field types only as with strings. For example, to record data to a Point field, you can use the following code:
Code: Select all
UniQuery1.FieldByName('f_point').AsString := '(2,3)';Re: Reading and writting spatial data.
Hello,
Thanks, I will try this method.
Regards
Michal
Thanks, I will try this method.
Regards
Michal
Re: Reading and writting spatial data.
Hello,
If you have any other questions, feel free to contact us
If you have any other questions, feel free to contact us