[postgis-devel] Parser/Emitter Changeover
Mark Cave-Ayland
mark.cave-ayland at siriusit.co.uk
Thu Dec 9 06:01:57 PST 2010
Paul Ramsey wrote:
> The changeover has now happened to the new parser and emitter for WKB/WKT.
>
> All occurrences in ./loader and ./postgis have been flipped to the new versions.
Cool bananas :)
> Occurrences in cunit have been left in place for now, so that
> backwards compatibility tests can still run for a while.
>
> My only concern while fitting them in was that the to_wkt and to_wkb
> functions lack an UNPARSER object to drop more verbose error messaging
> into. That said, the verbose errors were there mostly for things like
> validity checks on the output, which were all disabled. So...? Anyhow,
> it's a point of potential improvement.
I think this is worth doing, as it could be useful for a potential
migration tool that could read geometries and identify those that
currently invalid (and also provide useful error/position information to
help the user fix any errors).
ATB,
Mark.
--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063
Sirius Labs: http://www.siriusit.co.uk/labs
More information about the postgis-devel
mailing list