<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Lorenzo, thanks for your reply. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>We're using Linux as the test server. We have
already successfully installed the PostgreSQL and pgRouting module.</FONT></DIV>
<DIV><FONT face=Arial size=2>We were also successful in implementing the
pgRouting sample dataset from Orkney PostLBS site and make it work</FONT></DIV>
<DIV><FONT face=Arial size=2>on our own dataset.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>But once we try implenting it on Ka-map, we
encounter error and the enitre page doesn't show-up.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My question is same with Prajal. What map do we put
in:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><EM> $aszGMap = array
(<BR> 'title' => 'GMap
75',<BR> 'path' =>
'/opt/fgs/apps/gmap-ms46/htdocs/gmap75.map',<BR>
'scales' => array( 40000000,25000000,12000000,7500000,3000000,1000000
),<BR> 'format'
=>'PNG'</EM><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>and what map do we put in:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><EM>$kaRoute =
Array(<BR>
'routeMap' => '/opt/fgs/www/htdocs/ka-map/routingj/maps/routing.map',//the
second mapfile -should be changed with an SLD
file<BR>
'pgConn' => 'dbname=routing port=5432 user=postgres
password=password',<BR>
'myGraphTable' =>
'kanagawa',<BR>
'costColumn' =>
'length',<BR>
'reverseCostColumn' =>
'length',<BR>
'directed' => 'false',//check pgRouting docs for this
value<BR>
'has_reverse_cost' => 'true',//check pgRouting docs for this
value<BR>
'buffer' => '0.01'//should be related to your map
unit<BR>
);</EM><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Should they be the same?</DIV></FONT>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">Date:
Thu, 8 Mar 2007 11:27:44 +0800<BR>From: "Aileen" <<A
href="mailto:aileenbaylon@gmail.com">aileenbaylon@gmail.com</A>><BR><BR>Hi
Pranjal,<BR><BR>We're also trying to figure out how this works. We tried using
same map and different maps but to no avail.<BR>Do you have any
progress?<BR><BR>Aileen<BR> Date: Wed, 7 Mar 2007 05:44:35 -0800
(PST)<BR> From: Pranjal Karwal <<A
href="mailto:pranjal_24@yahoo.com">pranjal_24@yahoo.com</A>><BR>
Subject: [ka-Map-users] pgDijkstra routing module kamap 1.0 postgis<BR>
1.2.1<BR><BR><BR> hi i tried following the example of ominiverdi
at:http://ka-map.ominiverdi.org/wiki/index.php/KaRouting<BR><BR> on this
page it is mentioned that we've to give path of the mapfile on line 141 of
<BR> config.php<BR> but on line 108 of config.php we're supposed
to give path of another mapfile... what should i write in both of these
places?<BR><BR> i have a mapfile of world boundaries(country n state
boundaries)<BR> if i use it at the first place att line 108
<BR><BR> $aszGMap = array (<BR> 'title' => 'GMap
75',<BR> 'path' =>
'/ms4w/apache/htdocs/5/fourth.map',<BR><BR> and on line 141 of
config.php:<BR> i did:<BR> $kaRoute = Array(<BR>
'routeMap' => '/ms4w/apache/htdocs/routingj/maps/routing.map',//the second
mapfile -should be changed with an SLD file<BR><BR> 'pgConn' =>
'dbname=routing host=localhost port=5432 user=abc def
password=pk24pk',<BR><BR><BR> this setup doesnt work only the shape's of
1st mapfile:fourth.map is displayed<BR> i checked if images of the 2nd
mapfile are generated in the temp folder's mentioned, i found out they have'nt
been produced<BR><BR><BR><BR> kamap's routing requires pgDijkstra module
so i've followed the steps at this
site:http://www.postlbs.org/postlbs-cms/en/node/21<BR> i'm running
winxp<BR><BR><BR> i've got postgis1.2.1 posgtgresql 8.2.3, ms4w,
kamap1.0<BR> pgDijkstra module from <A
href="http://www.postlbs.org/postlbs-cms/en/download">http://www.postlbs.org/postlbs-cms/en/download</A><BR><BR>
please help i can't figure out what am i doing wrong...<BR><BR><BR>Date: Thu,
08 Mar 2007 16:34:55 +0100<BR>From: Lorenzo Becchi <<A
href="mailto:lorenzo@ominiverdi.com">lorenzo@ominiverdi.com</A>><BR>Subject:
[ka-Map-users] Re: pgDijkstra routing module kamap 1.0 postgis
1.2.1<BR><BR><BR>Hi Pranjal, Aileen,<BR><BR>first of all I have no experience
on windows installation.<BR>I never suggest to use a windows server for
production services.<BR><BR>the pgRouting is a demonstrative module and
successful installation <BR>should stay on installers skills.<BR>there are too
many parameters to offer help on mailing list.<BR>I'm sorry<BR><BR>I guess
you've read the introduction on the wiki page:<BR>"Installing this function is
not easy as using a MS4W package."<BR>"It assumes you have already correctly
set up pgRouting module for <BR>Postgres. Also Postgis have to be set up
correctly. Then you should <BR>install the pgRouting (sample) dataset from
Orkney PostLBS site and make <BR>it work.
"<BR><BR><BR>ciao<BR>Lorenzo</BLOCKQUOTE></BODY></HTML>