<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Sandro....<br>
    <br>
    Me again :(<br>
    <br>
    I recompiled postgis, and re-run the file<br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <a
href="https://github.com/3nids/qWat/blob/38cde48d509d9b9a179eea1fd4db5bbd67121dcf/sql/strk.demo.sql">https://github.com/3nids/qWat/blob/38cde48d509d9b9a179eea1fd4db5bbd67121dcf/sql/strk.demo.sql</a><br>
    <br>
    here is there error I get:<br>
    <br>
    psql:strk.demo.sql:18: ERROR:  SQL/MM Spatial exception - start node
    not geometry start point.<br>
    <br>
    CONTEXT:  SQL statement "SELECT ST_ChangeEdgeGeom(atopology,
    rec.edge_id, snapedge)"<br>
    <br>
    PL/pgSQL function "topogeo_addpoint" line 83 at PERFORM<br>
    PL/pgSQL function "topogeo_addlinestring" line 111 at assignment<br>
    <br>
    SQL statement "INSERT INTO test_topo.relation(topogeo_id, layer_id,
    element_type, element_id) SELECT 2, 1, 2,
    topogeo_addLineString('test_topo',
    '0102000020155500000B000000BAF06A7E96F92041CD9B5862AAAF01417C5F9E5897F92041C5021D65AAAF0141713D0A57BDF920415C8FC2F5B4AF01411F85EB51D7F92041F6285C8FB8AF014148E17A142CFA2041C3F5285CC1AF0141F6285C8F3AFA2041B81E85EBC7AF0141AE47E1FA50FA204166666666C6AF01415CA1BCED53FA2041A41C48D6C8AF014148E17A1460FA204114AE47E1D2AF0141D1AC322684FA2041A3ECA94C02B001418FC2F5A895FA2041D7A3703D1AB00141'::geometry,
    0);"<br>
    PL/pgSQL function "totopogeom" line 116 at EXECUTE statement<br>
    <br>
    <br>
    <br>
    <br>
    <br>
  </body>
</html>