Opened 15 years ago

Closed 15 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:

Description

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.

Change History (1)

comment:1 by colivier, 15 years ago

Resolution: fixed
Status: newclosed

Done as r5664

Note: See TracTickets for help on using tickets.