[postgis-devel] [PostGIS] #768: Probe_geometry_columns() don't work correctly

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


#768: Probe_geometry_columns() don't work correctly
-----------------------+----------------------------------------------------
 Reporter:  aperi2007  |       Owner:  robe         
     Type:  defect     |      Status:  new          
 Priority:  medium     |   Milestone:  PostGIS 2.0.0
Component:  postgis    |     Version:  trunk        
 Keywords:             |  
-----------------------+----------------------------------------------------

Comment(by aperi2007):

 I try again

 drop table if exists caricamento._csr_map_crop_multiline;
 create table caricamento._csr_map_crop_multiline as select
 a.gid,a.idmappa,ST_Boundary(a.geom) from caricamento._csr_map_crop as a
 where ST_IsValid(a.geom)=true;
 SELECT Probe_Geometry_Columns();

 no error see-ing
 but
 the result is:

 probed:9 inserted:0 conflicts:9 stale:0

 This report don't is correct because the geometry_colums has just 9
 tables, and the
 table just created "_csr_map_crop_multiline" will be the #10.

 So the Probe function seem to ignore the "_csr_map_crop_multiline" from
 insert into the geometry_columns.

 However I don't sure this is an error.
 Perhaps the problem is in the Populate_Geometry_Columns() ?

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