MySQL Forums
Forum List  »  GIS

Re: Geometry building and C++ UDF library
Posted by: Sebastien Thomas
Date: July 01, 2009 03:13AM

i pushed things a bit further and realized that :

- my problem was solved by adding :
set_data_ptr(wkb, len);
at the end of "init_from_wkb" functions. indeed m_data was never affected; i can't realize if it was on purpose or not... but i obviously need it to be correct to be able to use geometries.

- exterior_ring is not as useful as i expected... since it just returns the first linestring in a polygon without any geometric computation. i guess it's just work in progress but i didn't realize it earlier :)


if it may help someone else....

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Geometry building and C++ UDF library
3059
July 01, 2009 03:13AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.