Opened 13 years ago
Closed 13 years ago
#1470 closed enhancement (fixed)
AddTopoGeometryColumn spatial type arg simplification
Reported by: | strk | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.0 |
Component: | topology | Version: | master |
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.
Note:
See TracTickets
for help on using tickets.
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 :>