afimb/gtfslib-python

Out of order shape points provoke unique constraint failure

Closed this issue · 0 comments

The shape import does not commit to database, so the shape point list for a shape is not ordered on shape point. The re-numbering of pt_seq thus cause a constraint failure because of the wrong ordering of re-numbering.