[fdo-dev] [Proposal] FGF<->WKB converters as common utils
Gavin Cramer
gavin.cramer at autodesk.com
Tue Aug 8 16:09:01 EDT 2006
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
-----Original Message-----
From: Mateusz Loskot [mailto:mateusz at loskot.net]
Sent: Tuesday, August 08, 2006 3:56 PM
To: dev at fdo.osgeo.org
Subject: Re: [fdo-dev] [Proposal] FGF<->WKB converters as common utils
Pierre Dalcourt wrote:
> Yes, that is the location I was thinking of.
>
> However, now that I think a bit more, I believe you can already
convert
> AGF<->WKB using the existing AgfGeometryFactory class. See
> Fdo\Inc\Geometry\Fgf\Factory.h , specifically the methods
> CreateGeometryFromWkb() and GetWkb().
I believe you mean fdocore/Fdo/Unmanaged/Inc/Geometry/Fgf/Factory.h
Yes, I found it. If this is factory functions does the same as
GeometryFromWkb() and WkbFromGeometry() functions then I think there is
no need for new common converters.
Best regards
--
Mateusz Loskot
http://mateusz.loskot.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe at fdo.osgeo.org
For additional commands, e-mail: dev-help at fdo.osgeo.org
More information about the Fdo-internals
mailing list