[ka-Map-users] Re: pgDijkstra routing module kamap 1.0

Aileen aileenbaylon at gmail.com
Thu Mar 8 20:21:18 EST 2007

Hi Lorenzo, thanks for your reply. 

We're using Linux as the test server. We have already successfully installed the PostgreSQL and pgRouting module.
We were also successful in implementing the pgRouting sample dataset from Orkney PostLBS site and make it work
on our own dataset.

But once we try implenting it on Ka-map, we encounter error and the enitre page doesn't show-up.

My question is same with Prajal. What map do we put in:

 $aszGMap = array (
         'title' => 'GMap 75',
         'path' => '/opt/fgs/apps/gmap-ms46/htdocs/gmap75.map',
         'scales' => array( 40000000,25000000,12000000,7500000,3000000,1000000 ),
         'format' =>'PNG'

and what map do we put in:

$kaRoute = Array(
                        'routeMap' => '/opt/fgs/www/htdocs/ka-map/routingj/maps/routing.map',//the second mapfile -should be changed with an SLD file
                        'pgConn' => 'dbname=routing port=5432 user=postgres password=password',
                        'myGraphTable' => 'kanagawa',
                        'costColumn' => 'length',
                        'reverseCostColumn' => 'length',
                        'directed' => 'false',//check pgRouting docs for this value
                        'has_reverse_cost' => 'true',//check pgRouting docs for this value
                        'buffer' => '0.01'//should be related to your map unit

Should they be the same?
  Date: Thu, 8 Mar 2007 11:27:44 +0800
  From: "Aileen" <aileenbaylon at gmail.com>

  Hi Pranjal,

  We're also trying to figure out how this works. We tried using same map and different maps but to no avail.
  Do you have any progress?

    Date: Wed, 7 Mar 2007 05:44:35 -0800 (PST)
    From: Pranjal Karwal <pranjal_24 at yahoo.com>
    Subject: [ka-Map-users] pgDijkstra routing module kamap 1.0 postgis

    hi i tried following the example of ominiverdi at:http://ka-map.ominiverdi.org/wiki/index.php/KaRouting

    on this page it is mentioned that we've to give path of the mapfile on line 141 of 
    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?

    i have a mapfile of world boundaries(country n state boundaries)
    if i use it at the first place att line 108 

    $aszGMap = array (
     'title' => 'GMap 75',
     'path' => '/ms4w/apache/htdocs/5/fourth.map',

    and on line 141 of config.php:
    i did:
    $kaRoute = Array(
     'routeMap' => '/ms4w/apache/htdocs/routingj/maps/routing.map',//the second mapfile -should be changed with an SLD file

     'pgConn' => 'dbname=routing host=localhost port=5432 user=abc def password=pk24pk',

    this setup doesnt work only the shape's of 1st mapfile:fourth.map is displayed
    i checked if images of the 2nd mapfile are generated in the temp folder's mentioned, i found out they have'nt been produced

    kamap's routing requires pgDijkstra module so i've followed the steps at this site:http://www.postlbs.org/postlbs-cms/en/node/21
    i'm running winxp

    i've got postgis1.2.1 posgtgresql 8.2.3, ms4w, kamap1.0
    pgDijkstra module from http://www.postlbs.org/postlbs-cms/en/download

    please help i can't figure out what am i doing wrong...

  Date: Thu, 08 Mar 2007 16:34:55 +0100
  From: Lorenzo Becchi <lorenzo at ominiverdi.com>
  Subject: [ka-Map-users] Re: pgDijkstra routing module kamap 1.0 postgis 1.2.1

  Hi Pranjal, Aileen,

  first of all I have no experience on windows installation.
  I never suggest to use a windows server for production services.

  the pgRouting is a demonstrative module and successful installation 
  should stay on installers skills.
  there are too many parameters to offer help on mailing list.
  I'm sorry

  I guess you've read the introduction on the wiki page:
  "Installing this function is not easy as using a MS4W package."
  "It assumes you have already correctly set up pgRouting module for 
  Postgres. Also Postgis have to be set up correctly. Then you should 
  install the pgRouting (sample) dataset from Orkney PostLBS site and make 
  it work. "

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20070309/c12aff30/attachment.html

More information about the ka-Map-users mailing list