[postgis-devel] Difference between ST_CollectionExtract and ST_Dimension

Paul Ramsey pramsey at opengeo.org
Thu Sep 23 11:40:15 PDT 2010


*sigh*

Yes, probably a bad decision on my part. Yet more reasons to ... I
don't know. There has to be some way to process this stuff more
completely and avoid errors like this.

P.

On Thu, Sep 23, 2010 at 11:25 AM, Andrea Peri 2007 <aperi2007 at gmail.com> wrote:
>  Hi,
>
> I notice the ST_Dimension() return
> 0 = Point
> 1 = Line
> 2 = Polygon
>
> instead
>
> ST_CollectionExtract() use
> 1 = Point
> 2 = Line
> 3 = Polygon
>
> Perhaps this is a unwanted difference ?
>
> Regards,
>
> Andrea Peri.
>
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>



More information about the postgis-devel mailing list