[postgis-devel] POINT(350, 100) == POINT(-10,80)

Kevin Neufeld kneufeld at refractions.net
Wed Sep 30 12:54:48 PDT 2009


Isn't this comparable in concept to auto type-casting?  The onus of type casting in postgres was placed more heavily on 
the user to avoid any kind of automagic-behind-the-scenes-unknown-manipulation-of-my-data.
-- Kevin

Paul Ramsey wrote:
> Right now, in order to be allowed into the system, a GEOGRAPHY must
> have longitude in the range of -180,180 and latitude in the range of
> -90,90.
> 
> I was just thinking that this restriction is pretty artificial, since
> I can coerce and theta (lon) and phi (lat) into the right ranges
> automatically. Any reason I should accept all numbers? Or maybe at
> least allow the range of -180,360 for longitude?
> 
> P.
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list