ok
but if I remember, on map file you have to put a new layer with
pgrouting query following the pgrouting istructions
this is correct?

W

Jerryliu ha scritto:
> Dear Walter:
> Thanks for your answer.
> The start and end point is random by user click on the map.Now, the start
> and the end point 's gid and longitude and latitude I can get it.The problem
> is how can I add the layer on the map and draw the shortest path on the new
> layer.
>
> THanks in advance.
>
> Best
> Jerryliu
>
>
>
>
>
> Walter Lorenzetti-3 wrote:
>   
>> Hi Jerry,
>>
>> serveral months ago, I develop a webgis applpication based on pmapper
>> and pgrouting...
>> If I remenber good, you have to put in your mapfile a new layer with
>> pgrouting query..
>>
>> so you've to build a new function for example in incphp/map.php file
>> that changes the start and end point of pgrouting mapfile query
>> every time you put the new start and end routing point
>>
>> I hope this you can help you
>>
>> Bye
>> Walter
>>
>>
>>
>> Jerryliu ha scritto:
>>     
>>> hi..
>>> Dear pmapper-users,
>>> I am a beginner of pmapper.
>>> I am using postgres+pmaper+pgrouting to build a webgis. In order to draw
>>> a
>>> shortest path on the map I think to add a layer to draw it.But I failed
>>> to
>>> add it.
>>> Can someone to help me! Thanks a lots.
>>>
>>> THanks in advance.
>>>
>>> Best
>>>        Jerryliu
>>>
>>>   
>>>       
>> -- 
>> Please no  .doc, .xls, .ppt, .dwg:
>> https://www.faunalia.it/dokuwiki/doku.php?id=public:OpenFormats
>>
>> Walter Lorenzetti
>> email+jabber: [EMAIL PROTECTED]
>> www.faunalia.it
>> Cell: (+39) 347-6597931  Tel+Fax: (+39) 0587-213742
>> Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> pmapper-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>
>>
>>     
>
>   

-- 
Please no  .doc, .xls, .ppt, .dwg:
https://www.faunalia.it/dokuwiki/doku.php?id=public:OpenFormats

Walter Lorenzetti
email+jabber: [EMAIL PROTECTED]
www.faunalia.it
Cell: (+39) 347-6597931  Tel+Fax: (+39) 0587-213742
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to