[pgrouting-users] Migration Guide from v1 to v2

Javier Mr javiersdevmail at ymail.com
Mon Nov 25 08:24:59 PST 2013


El Lunes 25 de noviembre de 2013 12:29, Daniel Kastl <daniel at georepublic.de> escribió:
 

>
>
>
>
>On Mon, Nov 25, 2013 at 7:47 PM, Javier Mr <javiersdevmail at ymail.com> wrote:
>
>Hi,
>>
>>I have an application that uses pgRouting v1. I was wondering if it is possible to easily migrate from version 1 to version 2 of pgRouting. I noticed that the pgRouting v2 announcement stated that v2 is not baskwards compatible, is there any guide / list of steps to get it working using v2.
>>
>
>
>No there is no migration guide.
>Anyone, who wants to contribute one is welcome. ;-)
>
>Ok, at least for me has been really easy. In my case i just changed the shortest_path_astar method to pgr_astar and done a selection over the result set of that to just select id1, id2 and cost (leaving out seq), and with that the result of the v1 and v2 are the same.
>
> 
>
>>I already have postgres 9.3, postgis2.1 and pgrouting 2.0 installed (the ones available in the Ubuntu 14.04 repositories).
>>
>
>
>Really is there already pgRouting for 14.04?
> 
>Well, it is in Debian Sid (unstable), Ubuntu 14.04 pulled it from there. (So yes is there in the development branch and it's really easy to set up a pgRouting enviroment, just a package, easy, easy).
>
>
>
>>I'm reading the documentation for 2.0 and will read the workshop, but it does not look like there is a migration chapter.
>>
>>Wrapping up, is there (or will be) any migration guide?
>>
>
>
>A few hints maybe:
>	* If you only used "core" functions of Dijkstra or A* you should be OK to change the function name and make small modifications as the column names of the result are slightly different. 
>	* If you used Shooting Star algorithm, then you need to look at TRSP, because Shooting Star was removed
>	* If you used wrapper functions, then you now need to write them yourself.
>Best,
>Daniel
>
>Regards.
>Javier
>
>
>
>
>
>
>
>
>
>
>
> 
>
>>Regards.
>>Javier Monge.
>>_______________________________________________
>>Pgrouting-users mailing list
>>Pgrouting-users at lists.osgeo.org
>>http://lists.osgeo.org/mailman/listinfo/pgrouting-users
>>
>
>
>
>-- 
>Georepublic UG & Georepublic Japan
>eMail: daniel.kastl at georepublic.de
>Web: http://georepublic.de
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20131125/1afa6575/attachment.html>


More information about the Pgrouting-users mailing list