Perhaps to match a number of people's expectations, there should be an ST_First Point() that is basically ST_StartPoint(ST_GeometryN(ST_Multi(geometry),1))
On Tue, Sep 25, 2012 at 4:08 PM, Paul Ramsey <pram...@opengeo.org> wrote: > When ST_NumGeometries == 1, you can run ST_StartPoint on > ST_GeometryN(geom,1). Where ST_NumGeometries > 1 you are in > "interpretation land". What's the start point of a geometry with two > lines? > > P. > > On Tue, Sep 25, 2012 at 1:38 PM, David Quinn <daithiqu...@gmail.com> > wrote: > > As ST_StartPoint( multilinestring ) returns NULL for PostGIS 2.0 > > (http://postgis.refractions.net/docs/ST_StartPoint.html ), what > > approach can be used to identify the start and end points of a > > multilinestring? > > > > Thanks, > > David > > _______________________________________________ > > postgis-users mailing list > > postgis-users@postgis.refractions.net > > http://postgis.refractions.net/mailman/listinfo/postgis-users > _______________________________________________ > postgis-users mailing list > postgis-users@postgis.refractions.net > http://postgis.refractions.net/mailman/listinfo/postgis-users > -- ************************************ David William Bitner
_______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users