Ticket #1470 (closed enhancement: fixed)

Opened 16 months ago

Last modified 15 months ago

AddTopoGeometryColumn spatial type arg simplification

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 2.0.0
Component: topology Version: trunk
Keywords: Cc:

Description

The AddTopogeometryColumn? function currently only accept 'POINT', 'LINE', 'POLYGON', and necessarely uppercase.

I think it should accept lowercase as well, but also multipoint, multilinestring and multipolygon as aliases. Also linestring might help.

The rational would be accepting whatever is returned by GEOMETRYTYPE(), when converting a simple column to a topologically defined column.

Change History

Changed 15 months ago by strk

  • status changed from new to closed
  • resolution set to fixed

Done with r9172, not sure how to tweak manual, if at all. I like calling them "Puntal", "Lineal", "Areal" but that one misses one for "Collection" and doesn't play nice with ST_GeometryType and GeometryType?. And I don't like either advertising _all_ accepted versions :>

Note: See TracTickets for help on using tickets.