[fdo-dev] [Proposal] FGF<->WKB converters as common utils

Mateusz Loskot mateusz at loskot.net
Tue Aug 8 16:43:37 EDT 2006


Gavin Cramer wrote:
> If you follow the execution trail, you will find that
> GeometryFromWkb() and WkbFromGeometry() do indeed end up in the
> FgfGeometry code.  That's why the Geometry.c in the MySQL RDBI driver
> is so small -- it's just a wrapper around pre-existing, common code.

Gavin,

Yes, you're right.
Geometry.c functions are just a thin wrapper around the
FdoFgfGeometryFactory that makes it easier to operate on char-based
streams of WKB.

But why not to put those functions to a common place that all providers
will be able to use it ?
I don't see anything MySQL-specific there.

Best regards
-- 
Mateusz Loskot
http://mateusz.loskot.net




More information about the Fdo-internals mailing list