[postgis-devel] [PostGIS] #1730: layerid in GetTopoGeomElementArray
PostGIS
trac at osgeo.org
Wed Mar 28 03:19:45 PDT 2012
#1730: layerid in GetTopoGeomElementArray
----------------------+-----------------------------------------------------
Reporter: chrizke | Owner: chrizke
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: topology | Version: trunk
Keywords: |
----------------------+-----------------------------------------------------
Using topology.GetTopoGeomElementArray throws the following exception:
{{{
ERROR: Column »layerid« doesn't exist
LINE 3: || quote_literal(layerid) || ','
^
QUERY: SELECT 'SELECT * FROM topology.GetTopoGeomElements('
|| quote_literal(toponame) || ','
|| quote_literal(layerid) || ','
|| quote_literal(tgid)
|| ') as obj ORDER BY obj'
CONTEXT: PL/pgSQL function "gettopogeomelementarray" line 9 at ...
}}}
I think it should be:
{{{
quote_literal(layer_id)
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1730>
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