[postgis-devel] ST_AsBinary(geography) ?

Sandro Santilli strk at keybit.net
Wed Jan 11 08:36:01 PST 2012


On Wed, Jan 11, 2012 at 08:28:56AM -0800, Paul Ramsey wrote:

> Rather that doing a cast (trip through PostgreSQL's type conversion
> code) just have the geometry astext and asbinary return ISO results.
> Is that what you did? If you bound to geography_astext I hope you
> renamed it appropriately :)

I actually dropped geography_astext and added an 'SQL' version
for geography casting to geometry. So relied on trip, sorry for that.

The bright side is we have it under regression test now, so can
improve performance at lower expenses.

--strk; 

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



More information about the postgis-devel mailing list