[postgis-users] SET client_srid = x

Paul Ramsey pramsey at cleverelephant.ca
Thu Apr 10 07:37:18 PDT 2008


I wonder how client_srid is supposed to handle operations prior to
transport? If I do a buffer() before sending the geometry back, is it
done in the storage srid or the client srid?

I wonder how client_encoding does it... does it sort in UTF and send
back in the client encoding?

On Thu, Apr 10, 2008 at 2:41 AM, Willy-Bas Loos <willybas at gmail.com> wrote:
> Hi,
>
> I think that an SRID is, in ways, comparable to an encoding (as in LATIN1 or
> UTF8).
> Our server stores everything in UTF8, but i can still communicate to it in
> LATIN1.
> Likewise we would like to store our geometries in WGS84, so that
> international data can be stored, but we use our national grid for daily
> operations.
>
> Would it be a good idea to create an option that sets the client's SRID
> ('SET client_srid = 28992'), like in SET client_encoding = 'LATIN1'?
>
> Cheers,
>
> WBL
>
> _______________________________________________
>  postgis-users mailing list
>  postgis-users at postgis.refractions.net
>  http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>



More information about the postgis-users mailing list