[postgis-devel] Hey, you broke... (SRID=0)

Paul Ramsey pramsey at opengeo.org
Thu Sep 29 08:17:15 PDT 2011


On Thu, Sep 29, 2011 at 2:00 AM, Sandro Santilli <strk at keybit.net> wrote:
>
> BTW, does allowing -1 mean we need signed SRID in typmod and thus
> half the MAXALLOWEDSRID ?

The current MAX is actually 1000000 so, it's already half what we
could theoretically stuff into the space. Note though that as of now
(and in the past) negative SRIDs are allowed. It's just that -1 has
the special meaning. Also note that (glurp) the _ST_BestSRID hack
actually uses negative SRIDs as a way to tell transform not to try and
look the numbers up in spatial_ref_sys (though, I think they only
exist on LWGEOM and are never serialized, so we might be able to get
away with that as an internal thing)

P.



More information about the postgis-devel mailing list