[postgis-devel] [PostGIS] #1014: GEOMETRY type is not "hashable"
PostGIS
trac at osgeo.org
Wed Jun 15 01:01:43 PDT 2011
#1014: GEOMETRY type is not "hashable"
----------------------+-----------------------------------------------------
Reporter: vince | Owner: pramsey
Type: defect | Status: closed
Priority: medium | Milestone: PostGIS 1.5.3
Component: postgis | Version: 1.5.X
Resolution: wontfix | Keywords: GEOMETRY hash UNION
----------------------+-----------------------------------------------------
Comment(by vince):
Of course I can't alone state that. I was attempting to implement some
kind of steepest descent algorithm into a single recursive SQL query; was
thinking also about identifying areas potentially liable to flooding by
growing iteratively around water polygons until a certain z was reached. I
guess this is far to be a major use of PostGIS.
There is, of course, a workaround: do not include the geometry column in
the result table (the one that grows iteratively), and, at each stage,
perform a join between the result table and the table containing geometry
info (using a primary key, for example). The query is more complex but,
if, as you say, writing a hash function is tricky and maybe also
cumbersome, it might even be more efficient to go that way.
Anyhow, thanks a lot for your input and time.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1014#comment:7>
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