[postgis-devel] Geography <-> Geometry casts

Paul Ramsey pramsey at opengeo.org
Wed Jan 11 08:26:53 PST 2012


On Wed, Jan 11, 2012 at 7:45 AM, Sandro Santilli <strk at keybit.net> wrote:
> I wonder if GEOGRAPHY should have been just a flag on a geometry
> (stuff for 3.0?).

"Magically do the right thing if the CRS is geodetic". I prefer the
explicit approach, since the geodetic right thing is also the slower
thing, and we haven't implemented even 20% of what would be necessary
to get full coverage on this approach (so we'd get oddities like
ST_Length calculating on the sphere while ST_Touches calculates on the
plane)

P.



More information about the postgis-devel mailing list