[ka-Map-users] karouting doesn't work part2

pranjal pranjal_24 at yahoo.com
Thu Mar 22 05:41:21 EST 2007


thanks  daniel,

i cud finally do routing on kamap:)

pranjal

Daniel Muller-3 wrote:
> 
> Hi all,
> 
> The second MapFile is a kind of dummy mapfile containing a few infos to 
> help mapserver finding the "session-table". It contains only one layer, 
> the layer with the route.
> As said in the Wiki, this mapfile should be created on the fly by 
> karouting.php. But at this time we still need to deal with it.
> 
> It should look like this:
> 
> MAP
>    IMAGETYPE   PNG
>    EXTENT      548645 79727 674956 159138
>    SIZE        400 400
> 
>    IMAGECOLOR  255 255 255
>    SHAPEPATH   "/var/ka-map/"
> 
>     FONTSET     "/var/ka-map/fonts.list"
>    WEB
>      IMAGEPATH "/tmp/"
>      IMAGEURL  "/tmp/"
>    END
> 
>    UNITS meters
> 
> LAYER
>        NAME "path"
>        CONNECTION "user=xxxx password=xxxx dbname=xxxx host=localhost 
> port=5432"
>        CONNECTIONTYPE postgis
>        STATUS OFF
>        TYPE LINE
> 
>        CLASS
>          NAME "path"
>          STYLE
>            COLOR 255 0 0
>            WIDTH 5
>          END
>        END
>   END
> 
> END
> 
> 
> Pranjal Karwal wrote:
>> when i comment the layers of the mapfile where the connection strings 
>> are present
>> the map is displayed, otherwise it is'nt, how do i check whether the 
>> connection is being established or not?
>> mapfile:
>> http://rafb.net/p/LsyKTf36.html <http://rafb.net/p/LsyKTf36.html>
>> config.php(of kamap)
>> http://rafb.net/p/aqsdK742.html <http://rafb.net/p/aqsdK742.html>
>>  
>> /*PranjaL*/
>> 
>> 
>> ------------------------------------------------------------------------
>> We won't tell. Get more on shows you hate to love 
>> <http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265 >
>> (and love to hate): Yahoo! TV's Guilty Pleasures list. 
>> <http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265 >
>> 
>> 
>> ------------------------------------------------------------------------
>> 
>> _______________________________________________
>> ka-Map-users mailing list
>> ka-Map-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/ka-map-users
> 
> -- 
> Géomatic Ingénierie SA
> Ch. des Croisettes 26, 1066 Epalinges
> Tél: + 41 21 651 30 00, Fax: +41 21 651 30 09
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
> 
> 

-- 
View this message in context: http://www.nabble.com/karouting-doesn%27t-work-part2-tf3423391.html#a9611772
Sent from the ka-map-users mailing list archive at Nabble.com.




More information about the ka-Map-users mailing list