[postgis-devel] Z() function

David Blasby dblasby at gmail.com
Wed Aug 11 08:38:45 PDT 2004


It should be returning 0.

PostGIS stores everything as x,y,z points.  If you give it only (x,y)
it'll set z to 0.

The LWGEOM objects are smarter about this.

dave

On Wed, 11 Aug 2004 16:26:39 +0200, strk <strk at keybit.net> wrote:
> On Wed, Aug 11, 2004 at 09:33:21AM -0400, Carl Anderson wrote:
> >
> > should not
> >
> > select  Z('POINT(1 2)'::geometry)
> >
> > return a NULL
> >
> > instead of (semi) random data?
> >
> > C.
> 
> PostGIS documentation does not promise that.
> It would be meaningful, anyway.
> --strk;
> 
> 
> 
> >
> > --
> > Carl Anderson
> > GIS Manager Fulton County, Georgia
> > carl.anderson at co.fulton.ga.us
> > 404.730.8026
> >
> > _______________________________________________
> > postgis-devel mailing list
> > postgis-devel at postgis.refractions.net
> > http://postgis.refractions.net/mailman/listinfo/postgis-devel
> _______________________________________________
> 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