[postgis-devel] ST_AsBinary(geography) ?

Sandro Santilli strk at keybit.net
Wed Jan 11 04:42:40 PST 2012


While looking at qgis sources it stroke me that
geography and geometry are threated differently:

  ST_AsBinary(<geometry>, <endian_spec>) and
  ST_AsBinary(<geography>)

So went looking and found ST_AsBinary(<geography>, <endian_spec>) 
doesn't exist. Is there any reason why ST_AsBinary(<geography>)
doesn't implicitly cast geography to geometry ?

In other words: is there a special WKB for geography ?

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-devel mailing list