[postgis-devel] [PostGIS] #537: st_geometrytype on linestring return ST_Line rather than ST_LineString in 1.4 branch
PostGIS
trac at osgeo.org
Tue Jun 1 06:07:21 PDT 2010
#537: st_geometrytype on linestring return ST_Line rather than ST_LineString in
1.4 branch
---------------------------------------------------------------------------+
Reporter: colivier | Owner: colivier
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 1.4.3
Component: postgis | Version: 1.4.X
Keywords: st_geometrytype lwutil.c lwgeomTypeName ST_Line ST_LineString |
---------------------------------------------------------------------------+
{{{
select st_geometrytype('LINESTRING(1 0, 2 0, 3 0)'::geometry);
}}}
1.4 branch output:
{{{
ST_Line
}}}
1.5 and trunk output:
{{{
ST_LineString
}}}
I suggest to homogenize behaviour
and change lwutil.c lwgeomTypeName value in 1.4.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/537>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list