[postgis-users] ST_StartPoint fails with MultiLineString
Paul Ramsey
pramsey at opengeo.org
Thu Nov 24 07:30:13 PST 2011
It's strictness. Not sure how much I like it, but that's been the
behavior for quite a while.
P.
On Thu, Nov 24, 2011 at 5:39 AM, Jose Carlos Martinez
<jomarlla at cgf.upv.es> wrote:
> HI,
> p2211=# select st_startpoint ('MULTILINESTRING ((0 0, 10 0))');
> st_startpoint
> ---------------
>
> (1 row)
>
> returns null, according to SQL/MM ST_StartPoint is working with ST_Curve,
> this is ok. But I do not think its practical, besides previous versions of
> PostGIS returned the first point correctly.
>
> Is this a bug or PostGIS is trying to follow standards in a more strict way?
>
> same with st_endpoint.
> Cheers,
>
>
> PD:
> p2211=# select postgis_lib_build_date(), postgis_full_Version();
> postgis_lib_build_date |
> postgis_full_version
>
> ------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------
> 2011-11-22 08:39:41 | POSTGIS="2.0.0SVN" GEOS="3.3.2dev-CAPI-1.7.2"
> PROJ="Rel. 4.6.1, 21 August 2008" GDAL="GDAL 1.9dev, released 2011/01/18"
> LIBXML="2.7.8" USE_STATS
> (1 fila)
>
>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
More information about the postgis-users
mailing list