R: Re: R: Re: [pgrouting-dev] pgRouting render

danielerusso19 at libero.it danielerusso19 at libero.it
Thu Jun 23 02:26:47 EDT 2011


Steve,

my idea is to write my app in C/C++ but, for time reason, I could decide to 
render my maps in a browser.
What is your advice?

Thanks, 
regards.

DR


>----Messaggio originale----
>Da: woodbri at swoodbridge.com
>Data: 22/06/2011 22.48
>A: <pgrouting-dev at lists.osgeo.org>
>Ogg: Re: R: Re: [pgrouting-dev] pgRouting render
>
>Daniele,
>
>as a follow on to my previous response, I would recommend starting with 
>the pgRouting tutorial if you haven't already worked through it:
>
>http://www.google.com/#q=pgrouting+tutorial
>http://www.google.com/#q=pgrouting+tutorial+foss4g
>
>so you can understand some of the pieces and how they fit together, then 
>you need to decide how you can use these pieces in your desktop 
>application or if you need to replace one of them with something better 
>suited for your application.
>
>-Steve
>
>On 6/22/2011 4:32 PM, Stephen Woodbridge wrote:
>> On 6/22/2011 12:58 PM, Daniele Russo wrote:
>>> My application is a desktop application, and I work on Fedora 14. How
>>> your web application works?
>>
>> So as a desktop application you have to decide if you want to build the
>> UI based on a browser application using something like I did or if you
>> want to code it in C/C++ or some other toolkit based language.
>>
>> I will describe my web application, but for another direction you need
>> to ask how to do generic things for whatever toolkit you are using.
>>
>> Browser
>> o OpenLayers
>> o mapserver
>> o render base map
>> o render vectors from routing DB
>> o ajax (PHP) to get route results
>> o make route request
>> o PHP gets request queries pgRouting
>> o PHP formats results as XML back to OpenLayers
>> o javaScript parse XML create route feature and populates directions
>>
>> pgRouting does not currently do the driving directions. This is custom
>> code that I wrote for this application. I have explained how to do this
>> on the list so check the archives. You can look at the demo web page to
>> see how I glued OpenLayers and the Ajax requests together and in FireBug
>> you can view the XML streams of the Ajax request.
>>
>> -Steve
>>
>>
>>> Thanks, regards.
>>>
>>> DR
>>>
>>>
>>>
>>>
>>>
>>> Il giorno 22/giu/2011, alle ore 17.51, Stephen Woodbridge ha
>>> scritto:
>>>
>>>> On 6/21/2011 10:32 AM, danielerusso19 at libero.it wrote:
>>>>> Thanks for the answer. Actually I'm using QuantumGIS, but I'd
>>>>> like to use an engine like Navit.
>>>>
>>>> Probably need to ask this on the QuantumGIS and/or Navit list. In
>>>> general, your question is given a polyline, how do I display that
>>>> in XXXXX?
>>>>
>>>> pgRouting computes the route and gives you a polyline, the rest is
>>>> up to you to feed it into rendering package. Your rendering package
>>>> will depend on what you application development platform is, like
>>>> Web 2.0 or desktop application, iPhone or Android application, etc.
>>>> each of these will have different answers and constraints.
>>>>
>>>> You can look a web application that I built here:
>>>>
>>>> http://tinyurl.com/3rhn4nx
>>>>
>>>> This has a lot of custom code added to pgRouting but pgRouting is
>>>> being used to compute underlying route.
>>>>
>>>> Hope this helps, -Steve
>>>>
>>>>> Is this possible?
>>>>>
>>>>> Thanks, best regards.
>>>>>
>>>>> DR
>>>>>
>>>>>
>>>>> ----Messaggio originale---- Da: daniel at georepublic.de Data:
>>>>> 21/06/2011 16.17 A:
>>>>> "danielerusso19 at libero.it"<danielerusso19 at libero.it>, "pgRouting
>>>>> developers mailing list"<pgrouting-dev at lists.osgeo.org> Ogg: Re:
>>>>> [pgrouting-dev] pgRouting render
>>>>>
>>>>>
>>>>>
>>>>> 2011/6/21 danielerusso19 at libero.it<danielerusso19 at libero.it> Hi
>>>>> all!
>>>>>
>>>>> I would like to render my route (planned with pgRouting) in a
>>>>> graphical way (2D or 3D, is the same). Is this possible? In which
>>>>> way?
>>>>>
>>>>> There are plenty ways to do so, but in the same manner as you
>>>>> would render data in a PostgreSQL/PostGIS database, for
>>>>> example:Mapserver/GeoservergvSIG, QGISOpenLayers (see the
>>>>> workshop)Best regards,Daniel Thanks to all, regards.
>>>>>
>>>>> DR _______________________________________________ pgrouting-dev
>>>>> mailing list pgrouting-dev at lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/pgrouting-dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________ pgrouting-dev
>>>> mailing list pgrouting-dev at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/pgrouting-dev
>>>
>>> _______________________________________________ pgrouting-dev mailing
>>> list pgrouting-dev at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/pgrouting-dev
>>
>> _______________________________________________
>> pgrouting-dev mailing list
>> pgrouting-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/pgrouting-dev
>
>_______________________________________________
>pgrouting-dev mailing list
>pgrouting-dev at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/pgrouting-dev
>




More information about the pgrouting-dev mailing list