[postgis-devel] [PostGIS] #767: Ndims does not exists Error

PostGIS trac at osgeo.org
Wed Jan 12 10:29:55 PST 2011


#767: Ndims does not exists Error
-----------------------+----------------------------------------------------
 Reporter:  aperi2007  |       Owner:  pramsey      
     Type:  defect     |      Status:  new          
 Priority:  medium     |   Milestone:  PostGIS 2.0.0
Component:  postgis    |     Version:  trunk        
 Keywords:             |  
-----------------------+----------------------------------------------------

Comment(by aperi2007):

 I tested even the parameterless version

 select Populate_Geometry_Columns();

 But now there is this other error:

 ----
  ERROR: permission denied for relation raster_columns
   Dove: SQL statement "SELECT st_srid(extent) As srid
                                  FROM ONLY public.raster_columns
                                  WHERE extent IS NOT NULL LIMIT 1"
 PL/pgSQL function "populate_geometry_columns" line 54 at istruzione
 EXECUTE
 PL/pgSQL function "populate_geometry_columns" line 52 at assegnazione
  Riga: 1
 ----

 So I try to assign these two tables to the user I'm using.

 And after this I have this error:

 ----
  ERROR: function ndims(geometry) does not exist
   Suggerimento: No function matches the given name and argument types. You
 might need to add explicit type casts.
   Dove: SQL statement "ALTER TABLE ONLY
 caricamento._csr_map_crop_multiline
                                                  ADD CONSTRAINT
 enforce_dims_st_boundary
                                                  CHECK (ndims(st_boundary)
 = 2)"
 PL/pgSQL function "populate_geometry_columns" line 97 at istruzione
 EXECUTE
 PL/pgSQL function "populate_geometry_columns" line 52 at assegnazione
 ----

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/767#comment:2>
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