Opened 14 years ago

Closed 14 years ago

#537 closed defect (fixed)

st_geometrytype on linestring return ST_Line rather than ST_LineString in 1.4 branch

Reported by: colivier Owned by: colivier
Priority: medium Milestone: PostGIS 1.4.3
Component: postgis Version: 1.4.X
Keywords: st_geometrytype lwutil.c lwgeomTypeName ST_Line ST_LineString Cc:


select st_geometrytype('LINESTRING(1 0, 2 0, 3 0)'::geometry);

1.4 branch output:


1.5 and trunk output:


I suggest to homogenize behaviour and change lwutil.c lwgeomTypeName value in 1.4.

Change History (1)

comment:1 by colivier, 14 years ago

Resolution: fixed
Status: newclosed

Done as r5664

Note: See TracTickets for help on using tickets.