[postgis-devel] [PostGIS] #1289: Override GeometryType for TopoGeometry
PostGIS
trac at osgeo.org
Mon Nov 14 10:23:25 PST 2011
#1289: Override GeometryType for TopoGeometry
-------------------------+--------------------------------------------------
Reporter: strk | Owner: strk
Type: enhancement | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: topology | Version: trunk
Keywords: |
-------------------------+--------------------------------------------------
Comment(by strk):
@robe I'm talking about the function GeometryType(). There's no such
function taking TOpoGeometry so what happens is an implicit cast is
engaged, which is slow if all you need is knowing the type (which is in
the TopoGeometry value itself...)
Same applies to ST_GeometryType() but QGis is using the old GeometryType()
Dunno what a call to GeometryType(myTopoGeometry) would end up calling if
"topology" schema isn't in your search_path and the override is
topology.GeometryType().
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1289#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list