Opened 13 years ago

Closed 13 years ago

#1450 closed task (fixed)

GeometryType(geography)

Reported by: strk Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: Cc:

Description

QGis is using GeometryType(geom) to figure out the type of layers not typed in geometry_columns. I've added the call for TopoGeometry, but it is missing for Geography. Since GeometryType is going to stay, I'd override it for geography as well.

Btw, is there a reason why we don't have an implicit cast in place ?

Change History (1)

comment:1 by strk, 13 years ago

Resolution: fixed
Status: newclosed

r8856 adds the override, but not the (text) override so your literal values in GeometryType('…') will fail as ambiguous.

Note: See TracTickets for help on using tickets.