comparison pkg/imports/st.go @ 2693:02d012272dd4

Log snapping tolerance
author Tom Gottfried <tom@intevation.de>
date Fri, 15 Mar 2019 18:24:57 +0100
parents dc4fae4bdb8f
children 2b4727a32ce6
comparison
equal deleted inserted replaced
2692:966c94e699fa 2693:02d012272dd4
170 if st.NObjNam != nil { 170 if st.NObjNam != nil {
171 nobjnm = sql.NullString{String: *st.NObjNam, Valid: true} 171 nobjnm = sql.NullString{String: *st.NObjNam, Valid: true}
172 } 172 }
173 173
174 feedback.Info("Stretch from %s to %s.", st.From.String(), st.To.String()) 174 feedback.Info("Stretch from %s to %s.", st.From.String(), st.To.String())
175 feedback.Info("Tolerance used to snap waterway axis: %g", st.Tolerance)
175 176
176 var id int64 177 var id int64
177 if err := tx.QueryRowContext( 178 if err := tx.QueryRowContext(
178 ctx, 179 ctx,
179 stInsertSQL, 180 stInsertSQL,