[postgis-users] Problem with PostGIS 1.0.0 RC1
schabios at logi-track.com
Sat Jan 22 06:31:54 PST 2005
Markus Schaber schrieb:
> Both are implemented as small stubs that both call the same WKB parsing
> function, but with a different "byte getting" method. In C, the easiest
> way to do this should be a struct that includes context information and
> a function pointer to the actual byte reading function.
Sorry, I admit this is not the easiest way, it is in some way the most
object oriented approach.
Another way would be to simply have the parser method understanding both
input formats, using if() or ?: to distinguish both methods of source.
More information about the postgis-users