Ticket #1774 (closed enhancement: fixed)

Opened 14 months ago

Last modified 12 months ago

Confusing error message from ST_ChangeEdgeGeom (lwpoly_from_lwlines: shell must have at least 4 points)

Reported by: strk Owned by: strk
Priority: low Milestone: PostGIS 2.0.1
Component: topology Version: 2.0.x
Keywords: Cc:

Description

The error is confusing as I'm changing an edge geometry so don't expect LWPOLY to have anything to do with it.

I guess it's about the isomorphic movement detection.

Change History

Changed 14 months ago by strk

  • owner changed from pramsey to strk
  • component changed from postgis to topology

Ok the error is raised when passing a single-point edge as a replacement for an existing edge. It's surely non-isomorphic (even if the edge was closed, a face would disappear), but could be reported in a nicer way :)

Changed 14 months ago by strk

Same error message with an EMPTY linestring

Changed 14 months ago by strk

  • priority changed from medium to low
  • type changed from defect to enhancement

Changed 13 months ago by strk

  • summary changed from ST_ChangeEdgeGeom: ERROR: lwpoly_from_lwlines: shell must have at least 4 points to Confusing error message from ST_ChangeEdgeGeom (lwpoly_from_lwlines: shell must have at least 4 points)

Changed 12 months ago by strk

  • status changed from new to closed
  • resolution set to fixed

r9897 and r9898 in 2.0 branch, r9899 in trunk

Note: See TracTickets for help on using tickets.