<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello Hosain,<br>
<br>
numbers in english style:<br>
<br>
77388 => non-decimal without points, commas, etc<br>
77.388 => 77 full and 388 as decimals<br>
<br>
<div class="moz-signature">Bye, Mathias
<hr>
<font size="-1">
<a class="moz-txt-link-freetext" href="mailto:tds@tds-net.de">mailto:tds@tds-net.de</a><br>
</font>
<hr>
<font size="-1">
1+1=10<br>
You have a question? - 42 or RTFM.
</font>
</div>
<div class="moz-cite-prefix">Am 18.06.2015 um 14:49 schrieb hosain
mohammadi:<br>
</div>
<blockquote
cite="mid:CACdVG-My3-R9Shz06d=pyTRC5eZjJ1g-v_8AQuCNM52C1ZO4zQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>the code below is a layer in map file in this code i want
create a query in postgis for shortestpath but a the number <font
color="#ff0000">77</font> ,<font color="#ff0000">388</font>
is the source and target and the result create successfully
but my problem is how insert the number ( 77, 388) in
template file or insert by user </div>
<div>how insert from html file </div>
<div> </div>
<div><br>
</div>
<br>
<div><br>
</div>
<div>
<div>LAYER</div>
<div> CONNECTION "host=localhost dbname=network
user=postgres password=021555 port=5432"</div>
<div> CONNECTIONTYPE POSTGIS</div>
<div> DATA "geom from <font color="#bf9000">(SELECT *
from pgr_dijkstra(</font></div>
<div><font color="#bf9000"><br>
</font></div>
<div><font color="#bf9000"> 'SELECT gid as id ,
source , target , cost FROM tehran' ,</font></div>
<div><br>
</div>
<div> <font color="#00ff00"> </font><font
color="#ff0000">77</font>, <font color="#ff0000">388</font><font
color="#00ff00">,</font><font color="#bf9000"> false ,
false ) a LEFT JOIN tehran b ON (a.id2 = b.gid)) AS foo
using unique gid using srid=4326 "</font></div>
<div> NAME "shortestpath"</div>
<div> PROJECTION</div>
<div> "proj=utm"</div>
<div> "zone=39"</div>
<div> "datum=WGS84"</div>
<div> "units=m"</div>
<div> "no_defs"</div>
<div> END # PROJECTION</div>
<div> STATUS ON</div>
<div> TEMPLATE "query"</div>
<div> TILEITEM "location"</div>
<div> TYPE LINE</div>
<div> UNITS METERS</div>
<div> CLASS</div>
<div> NAME "Class (0)"</div>
<div> STYLE</div>
<div> COLOR 255 128 64</div>
<div> SIZE 8</div>
<div> WIDTH 10</div>
<div> END # STYLE</div>
<div> END # CLASS</div>
<div> END # LAYER</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></pre>
</blockquote>
<br>
</body>
</html>