<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 08/07/13 15:36, Daniel Kastl wrote:<br>
      hi Daniel, Steve,<br>
      <br>
      I had a bit of play and came up with this <br>
      <br>
      map.png is the output of running <br>
      shp2img -m demo.map<br>
      <br>
      The file demo.map is a mapserver file for creating the picture<br>
      <br>
      mktabl.sql is an sql script for making the tables<br>
      <br>
      and sql2tab.sql dumps the contents of route_table and vertexts
      tables as source,target,cost setting<br>
      <br>
      One off the problems that I with the existing demo map is that
      most of the costs of getting from a to b is always 1, this is
      designed to be different.<br>
      <br>
      I any body can think of any improvements, please let me known<br>
      <br>
      Dave.<br>
    </div>
    <blockquote
cite="mid:CABXBSH_706dvjPESgTcEqwChDWmWDo1dTLJciGFSFwkEHTbXug@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">On Mon, Jul 8, 2013 at 10:27 PM, Dave
            Potts <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:dave.potts@pinan.co.uk" target="_blank">dave.potts@pinan.co.uk</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div class="im">On 08/07/13 14:27, Stephen Woodbridge
                wrote:<br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  On 7/8/2013 5:59 AM, Dave Potts wrote:<br>
                </blockquote>
                <br>
              </div>
              hi Steve<br>
              <br>
              What bit of software was used to visualise the existing
              network?  Is it based on a screen shot from something like
               mapserver?<br>
              <br>
              I for one am very great full to the vast amount of effort
              that has been put in to version  2.0.</blockquote>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>Hi Steve,</div>
            <div><br>
            </div>
            <div>With the sample data I was a bit lazy, I must admit.</div>
            <div>Steve had this network image and a table, so I just
              used it.</div>
            <div><br>
            </div>
            <div>I know that it doesn't work so well for TSP and Driving
              Distance. Some larger network would be better.</div>
            <div>But then the SQL to copy and paste also becomes much
              larger.</div>
            <div><br>
            </div>
            <div>Well, I'm glad if someone could provide a better but
              still simple sample network for the documentation. </div>
            <div>It's not so easy to find something that covers all
              algorithms and is still simple.</div>
            <div>Right now it's still the better option than no sample
              network ;-)</div>
            <div><br>
            </div>
            <div>Daniel </div>
            <div><br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <span class="HOEnZb"><font color="#888888"><br>
                  <br>
                  Dave.</font></span>
              <div class="HOEnZb">
                <div class="h5"><br>
                  <br>
                  <br>
                  <br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      hi List,<br>
                      <br>
                      Is it possible to rewrite the sample data network
                      to (<br>
                      <a moz-do-not-send="true"
href="http://docs.pgrouting.org/dev/doc/src/developer/sampledata.html#sampledata"
                        target="_blank">http://docs.pgrouting.org/dev/doc/src/developer/sampledata.html#sampledata</a>
                      <br>
                      )to include a more distinctive data sample?<br>
                      <br>
                      I have been trying to use it to provide an input
                      data sample for a TSP<br>
                      problem.  I had problems because the current
                      network generates several<br>
                      routes that all look identical to the TSP so if
                      you attempt to do some<br>
                      topological work, you end up with several
                      identicial routes selections.<br>
                      <br>
                      For example the selection<br>
                      <br>
                      SELECT  seq,  id  FROM
                      pgr_tsp('{{0,1,3,3},{1,0,2,2},{3,2,0,2},{3,2,2,0}}',X);<br>
                      <br>
                      where x  is in the range 0-3 will generate 4 paths
                      of which the profile is two routes of 121 or 212
                      measured in distance unit terms<br>
                      <br>
                    </blockquote>
                    <br>
                    Dave,<br>
                    <br>
                    Daniel was trying to use one sample data for all the
                    examples and in general this as worked well for most
                    of the examples where we are computing simple
                    routes. I think the driving distance and tsp
                    examples probably need to have a slightly larger
                    graph too adequately demonstrate the function.<br>
                    <br>
                    If you have another graph that you think might be
                    more appropriate for demonstrating both of these
                    commands commands I think there is room for it. I
                    know Daniel and I are both tied up at the moment on
                    funded project work at the moment, but it you were
                    inclined to make an additional sample graph and
                    update the docs we would love to get a pull request
                    to help out the release.<br>
                    <br>
                    We have put a lot of effort into having complete
                    documentation coverage of all the functions in 2.0.
                    We still have some work to do but this is an area
                    that we would be happy to get help on. If you don't
                    have time to do this at least open a ticket so it
                    gets tracked.<br>
                    <br>
                    Best regards,<br>
                      -Steve<br>
                    _______________________________________________<br>
                    pgrouting-dev mailing list<br>
                    <a moz-do-not-send="true"
                      href="mailto:pgrouting-dev@lists.osgeo.org"
                      target="_blank">pgrouting-dev@lists.osgeo.org</a><br>
                    <a moz-do-not-send="true"
                      href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev"
                      target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-dev</a><br>
                  </blockquote>
                  <br>
                  _______________________________________________<br>
                  pgrouting-dev mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:pgrouting-dev@lists.osgeo.org"
                    target="_blank">pgrouting-dev@lists.osgeo.org</a><br>
                  <a moz-do-not-send="true"
                    href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev"
                    target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-dev</a><br>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <span
style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Georepublic
            UG & Georepublic Japan<br>
            eMail: <a moz-do-not-send="true"
              href="mailto:daniel.kastl@georepublic.de"
              style="color:rgb(66,99,171)" target="_blank">daniel.kastl@georepublic.de</a><br>
            Web: <a moz-do-not-send="true" href="http://georepublic.de/"
              style="color:rgb(66,99,171)" target="_blank">http://georepublic.de</a></span>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
pgrouting-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pgrouting-dev@lists.osgeo.org">pgrouting-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev">http://lists.osgeo.org/mailman/listinfo/pgrouting-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>