[postgis-devel] ST_AsBinary(geography) ?
Paul Ramsey
pramsey at opengeo.org
Wed Jan 11 08:28:56 PST 2012
On Wed, Jan 11, 2012 at 8:21 AM, Sandro Santilli <strk at keybit.net> wrote:
>> There's probably tickets outstanding that say "convert geometry to
>> return ISO formatted text and wkb in the system.
>>
>> I think at this point everyone is bloodyminded enough to say "just do
>> it, do it!", but that wasn't so earlier.
>
> I did it, I did it !
>
> Before writing this mail. And so I dropped the custom definition
> and was dreaming to rely on an implicit cast where I got red-lighted.
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 :)
P.
More information about the postgis-devel
mailing list