[postgis-devel] Motion: vote for considering SRID <= 0 as "unknown"

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Thu Oct 6 04:26:15 PDT 2011


On 04/10/11 14:56, Sandro Santilli wrote:

> Trying to get out of the impass about SRID, I'd like to split
> the issue in two:
>
>   (1) Considering SRID<= 0 as "unkwnown"
>   (2) Finding a consensus about how to advertise "unknown"
>       at the SQL level
>
> I'd like to vote on (1) first.
> If we agree, the parsers (all of them) would take any SRID<= 0 as
> semantically equivalent to an "unknown SRID", storing NO srid in
> the binary representation.
>
> This would mean that no matter what we decide to return from ST_SRID(g)
> it will be possible to get in output something different from what was
> specified in input.
>
> I'll start with my +1.

Looks like a +1 from me too.


ATB,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs



More information about the postgis-devel mailing list