[postgis-users] ST_StartPoint fails with MultiLineString
Jose Carlos Martinez
jomarlla at cgf.upv.es
Thu Nov 24 05:39:27 PST 2011
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)
More information about the postgis-users
mailing list