Opened 10 years ago

Closed 8 months 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 10 years ago.

Download all attachments as: .zip

Change History (8)

by darkblueb, 10 years ago

comment:1 by strk, 10 years ago

Milestone: PostGIS 2.0.1PostGIS 2.1.0

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

comment:2 by darkblueb, 10 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, 9 years ago

Milestone: PostGIS 2.1.0PostGIS 2.2.0

comment:4 by strk, 7 years ago

Milestone: PostGIS 2.2.0PostGIS Future

comment:5 by robe, 5 years ago

Milestone: PostGIS FuturePostGIS Fund Me

Milestone renamed

comment:6 by strk, 9 months ago

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

comment:7 by strk, 8 months ago

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