Opened 13 years ago

Closed 3 years ago

#1817 closed enhancement (worksforme)

Topology load errors need better error messages

Reported by: darkblueb Owned by: strk
Priority: medium Milestone: PostGIS Fund Me
Component: topology Version: 2.0.x
Keywords: Cc:

Description

When building a topology from other geometry, the process can fail for a variety of reasons. The error messages are often specific to a line of code, and lack enough context for the user to make a good decision about how to fix the problems..

Error messages can be improved to show some context, and ideally point the user in a direction to fix the problems and try again.

Attachments (1)

topo_TIGER_CA_import_errs.tgz (405.4 KB ) - added by darkblueb 13 years ago.

Download all attachments as: .zip

Change History (8)

by darkblueb, 13 years ago

comment:1 by strk, 13 years ago

Milestone: PostGIS 2.0.1PostGIS 2.1.0

what's the command you use to import these geometries ?

comment:2 by darkblueb, 13 years ago

 SELECT TopoGeo_AddPolygon( 'census_2010_tracts_topo', h.wkb_geometry, 1.0 ) 
 FROM c2t h
 WHERE h.ogc_fid = %s

if I am reading my scribbles right..

comment:3 by robe, 12 years ago

Milestone: PostGIS 2.1.0PostGIS 2.2.0

comment:4 by strk, 10 years ago

Milestone: PostGIS 2.2.0PostGIS Future

comment:5 by robe, 7 years ago

Milestone: PostGIS FuturePostGIS Fund Me

Milestone renamed

comment:6 by strk, 3 years ago

darkblueb do you still have this problem? I think I've improved the error messages lately

comment:7 by strk, 3 years ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.