[pgrouting-dev] pgrouting extensions

Hi all,

I am master's student from IIT Kanpur, India and have been looking at
the source code of pgrouting. I have some points to make

1) One of the things i noticed is that the TSP code is genetic
algorithm based and to my understanding the code tries to provide some
feasible answer, which is possibly good due to the involved heuristic.
For large datasets this is a good approach but a lot more might be
possible. One direction could be implementation of approximation
algorithms that are fast and provide some guarantee of solution in
certain scenarios.

2) The other kind of problem that you cover is shortest path problem
which is sufficient for medium-large data. As an extension, however
the work can be stretched by implementing algorithms based on
hierarchal models.

3) There are still lot more algorithms which should be included in
this library. Examples:

   a) If the input data is complete graph or points from euclidean
plane then problems like euclidean TSP would be interesting and has
fast algorithms for almost optimal solutions.
   b) Variants of TSP: example - Instead of all cities in one tour as
in TSP, one might want to visit selective cities.
   c) Spanning Trees - Instead of tour, one might be ready to visit
selective cities again given the fact that cost should be minimum.
   d) Coloring Maps i.e. graph coloring.
   e) Maximum flow problem.
   f) Graph-Clustering. (i like this one specially if you are looking
beyond graphs that are maps)

I am interested to contribute to pgrouting as it closely fits my
interest. I will be applying for Google summer of Code , and want to
do some of the above or related work. I would appreciate any feedback
from the team.

with regards,
sumit singh.

Dear All,

As most of you must be aware, the

Google Summer of Code 2012 has been announced [1,2]

Some ideas that comes to my mind are

1) Implementing of map-matching algorithms as of the pgRouting function.
Python code for the algorithms that we implemented in 2010
(See http://cs-test.ias.ac.in/cs/Downloads/article_45523.pdf) could be
made available and the main work would be to integrate/improve
them for implementation as pgRouting and/or SORouting (see item 2
below)

2) Implementing routing as a service. a) Use Web Feature Service (WFS) as
input b) implement routing functions as Web Processing Service (WPS) c) Publish
routing result as WFS. That would be SORouting (Service Oriented Routing instead
of pgRouting. Since I am also a ZOO-Project (www.zoo-project.org) PSC member
which is a OGC compliant open-source WPS implementation, I would take this
opportunity to promote the use of ZOO for implementing SORouting.

3) Route selection based on multi-criteria decision model to enable alternative
route selection based on conditions at the destination. For example, route to
the nearest hospital depending not only upon road conditions but also
conditions at several destination hospitals (bed availability, availability of
medicare specialists, availability of ICU etc). The condition of destination
could be implemented using the OGC SOS standard.
Regarding multi-criteria decision using AHP (analytical hierarchy process).
There are several literature available [3],[4]. My student Sittichai (who writes
on the pgRouting users list) has already started some work and could
perhaps take up the work if he finds a mentor.

Best
Venka

P.S. Also Cc to ZOO-PSC since there may be some mentors there to help
with the WPS implementation for SORouting
------
Prof. Venkatesh Raghavan
Osaka City University
Japan

[1]http://www.google-melange.com/gsoc/homepage/google/gsoc2012
[2]
http://google-opensource.blogspot.com/2012/02/google-summer-of-code-2012-is-on.html
[3] http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=5567840
[4] http://www.tandfonline.com/doi/abs/10.1080/13658810601135692#preview

Venkatesh,

I have looked into map-matching and I think this would be a wonderful addition to pgRouting. I have collected an extensive library of map-matching articles. One of the real challenges in map-matching is dealing with multiple parallel paths like an exit ramp the parallels the highway and you can not be certain which one you are on until the paths diverge from one or the other. This implies tracking multiple potential paths and scoring them or some kind of back tracking and path correction. These problems are compounded when you have low quality GPS fix and your positional error increases, like in urban canyons or other conditions that provide a poor fix.

I would be interested in looking at what you have accomplished, but I think this is an excellent GSoC project.

-Steve

On 2/16/2012 12:52 AM, Venkatesh Raghavan wrote:

Dear All,

As most of you must be aware, the

Google Summer of Code 2012 has been announced [1,2]

Some ideas that comes to my mind are

1) Implementing of map-matching algorithms as of the pgRouting function.
Python code for the algorithms that we implemented in 2010
(See http://cs-test.ias.ac.in/cs/Downloads/article_45523.pdf) could be
made available and the main work would be to integrate/improve
them for implementation as pgRouting and/or SORouting (see item 2
below)

2) Implementing routing as a service. a) Use Web Feature Service (WFS) as
input b) implement routing functions as Web Processing Service (WPS) c)
Publish
routing result as WFS. That would be SORouting (Service Oriented Routing
instead
of pgRouting. Since I am also a ZOO-Project (www.zoo-project.org) PSC
member
which is a OGC compliant open-source WPS implementation, I would take this
opportunity to promote the use of ZOO for implementing SORouting.

3) Route selection based on multi-criteria decision model to enable
alternative
route selection based on conditions at the destination. For example,
route to
the nearest hospital depending not only upon road conditions but also
conditions at several destination hospitals (bed availability,
availability of
medicare specialists, availability of ICU etc). The condition of
destination
could be implemented using the OGC SOS standard.
Regarding multi-criteria decision using AHP (analytical hierarchy process).
There are several literature available [3],[4]. My student Sittichai
(who writes
on the pgRouting users list) has already started some work and could
perhaps take up the work if he finds a mentor.

Best
Venka

P.S. Also Cc to ZOO-PSC since there may be some mentors there to help
with the WPS implementation for SORouting
------
Prof. Venkatesh Raghavan
Osaka City University
Japan

[1]http://www.google-melange.com/gsoc/homepage/google/gsoc2012
[2]
http://google-opensource.blogspot.com/2012/02/google-summer-of-code-2012-is-on.html

[3] http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=5567840
[4] http://www.tandfonline.com/doi/abs/10.1080/13658810601135692#preview

_______________________________________________
pgrouting-dev mailing list
pgrouting-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-dev

Hi Venka,
Even though is not my research if I can do something to help you, please let me know. Ive been working lately a little bit with OSM data and pgrouting too.
Anyways greetings from Valencia.
Jose

On 16/02/2012 16:07, Stephen Woodbridge wrote:

Venkatesh,

I have looked into map-matching and I think this would be a wonderful addition to pgRouting. I have collected an extensive library of map-matching articles. One of the real challenges in map-matching is dealing with multiple parallel paths like an exit ramp the parallels the highway and you can not be certain which one you are on until the paths diverge from one or the other. This implies tracking multiple potential paths and scoring them or some kind of back tracking and path correction. These problems are compounded when you have low quality GPS fix and your positional error increases, like in urban canyons or other conditions that provide a poor fix.

I would be interested in looking at what you have accomplished, but I think this is an excellent GSoC project.

-Steve

On 2/16/2012 12:52 AM, Venkatesh Raghavan wrote:

Dear All,

As most of you must be aware, the

Google Summer of Code 2012 has been announced [1,2]

Some ideas that comes to my mind are

1) Implementing of map-matching algorithms as of the pgRouting function.
Python code for the algorithms that we implemented in 2010
(See http://cs-test.ias.ac.in/cs/Downloads/article_45523.pdf) could be
made available and the main work would be to integrate/improve
them for implementation as pgRouting and/or SORouting (see item 2
below)

2) Implementing routing as a service. a) Use Web Feature Service (WFS) as
input b) implement routing functions as Web Processing Service (WPS) c)
Publish
routing result as WFS. That would be SORouting (Service Oriented Routing
instead
of pgRouting. Since I am also a ZOO-Project (www.zoo-project.org) PSC
member
which is a OGC compliant open-source WPS implementation, I would take this
opportunity to promote the use of ZOO for implementing SORouting.

3) Route selection based on multi-criteria decision model to enable
alternative
route selection based on conditions at the destination. For example,
route to
the nearest hospital depending not only upon road conditions but also
conditions at several destination hospitals (bed availability,
availability of
medicare specialists, availability of ICU etc). The condition of
destination
could be implemented using the OGC SOS standard.
Regarding multi-criteria decision using AHP (analytical hierarchy process).
There are several literature available [3],[4]. My student Sittichai
(who writes
on the pgRouting users list) has already started some work and could
perhaps take up the work if he finds a mentor.

Best
Venka

P.S. Also Cc to ZOO-PSC since there may be some mentors there to help
with the WPS implementation for SORouting
------
Prof. Venkatesh Raghavan
Osaka City University
Japan

[1]http://www.google-melange.com/gsoc/homepage/google/gsoc2012
[2]
http://google-opensource.blogspot.com/2012/02/google-summer-of-code-2012-is-on.html

[3] http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=5567840
[4] http://www.tandfonline.com/doi/abs/10.1080/13658810601135692#preview

_______________________________________________
pgrouting-dev mailing list
pgrouting-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-dev

_______________________________________________
Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users

Hi

Has the "pgrouting team" ever thought about implementing
a routing solution based on "contraction hierarchies"

Details about the concepts can be found here
http://algo2.iti.kit.edu/routeplanning.php
http://code.google.com/p/monav/wiki/ContractionHierarchies

Example implementaions e.g. here
http://project-osrm.org/
http://code.google.com/p/monav/

Routing with such engines is extremely fast (milisecs)
even for really large networks

Regards

max

On Thu, 16 Feb 2012 14:52:46 +0900
Venkatesh Raghavan <raghavan@media.osaka-cu.ac.jp> wrote:

Dear All,

As most of you must be aware, the

Google Summer of Code 2012 has been announced [1,2]

Some ideas that comes to my mind are

1) Implementing of map-matching algorithms as of the pgRouting
function. Python code for the algorithms that we implemented in 2010
(See http://cs-test.ias.ac.in/cs/Downloads/article_45523.pdf) could be
made available and the main work would be to integrate/improve
them for implementation as pgRouting and/or SORouting (see item 2
below)

2) Implementing routing as a service. a) Use Web Feature Service
(WFS) as input b) implement routing functions as Web Processing
Service (WPS) c) Publish
routing result as WFS. That would be SORouting (Service Oriented
Routing instead
of pgRouting. Since I am also a ZOO-Project (www.zoo-project.org) PSC
member which is a OGC compliant open-source WPS implementation, I
would take this opportunity to promote the use of ZOO for
implementing SORouting.

3) Route selection based on multi-criteria decision model to enable
alternative
route selection based on conditions at the destination. For example,
route to
the nearest hospital depending not only upon road conditions but also
conditions at several destination hospitals (bed availability,
availability of
medicare specialists, availability of ICU etc). The condition of
destination could be implemented using the OGC SOS standard.
Regarding multi-criteria decision using AHP (analytical hierarchy
process). There are several literature available [3],[4]. My student
Sittichai (who writes
on the pgRouting users list) has already started some work and could
perhaps take up the work if he finds a mentor.

Best
Venka

P.S. Also Cc to ZOO-PSC since there may be some mentors there to help
with the WPS implementation for SORouting
------
Prof. Venkatesh Raghavan
Osaka City University
Japan

[1]http://www.google-melange.com/gsoc/homepage/google/gsoc2012
[2]
http://google-opensource.blogspot.com/2012/02/google-summer-of-code-2012-is-on.html
[3] http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=5567840
[4]
http://www.tandfonline.com/doi/abs/10.1080/13658810601135692#preview

_______________________________________________
Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users

Hi Max,

Yes, we thought about it already and it’s on the GSoC ideas list of 2010.We even had a student in 2010 from Karlsruhe University, who picked that topic, but then left GSoC very early unfortunately due to lack of time.
Other years candidates who picked that topic were not selected, because their proposals were not good enough.

I thought the “contraction hierarchies” algorithm does a lot of pre-processing. That’s why it’s fast.
Do you think this pre-processing is suitable for pgRouting and doesn’t constrain it’s flexibility to select data by attributes, geometries, etc.?

But if we have a GSoC candidate with a strong and feasible proposal for “contraction hierarchies” (and at least two mentors, who will support), such a candidate’s proposal would be probably ranked high.

Daniel

On Fri, Feb 24, 2012 at 8:57 AM, Max Weninger <max.weninger@gmail.com> wrote:

Hi

Has the “pgrouting team” ever thought about implementing
a routing solution based on “contraction hierarchies”

Details about the concepts can be found here
http://algo2.iti.kit.edu/routeplanning.php
http://code.google.com/p/monav/wiki/ContractionHierarchies

Example implementaions e.g. here
http://project-osrm.org/
http://code.google.com/p/monav/

Routing with such engines is extremely fast (milisecs)
even for really large networks

Regards

max

On Thu, 16 Feb 2012 14:52:46 +0900
Venkatesh Raghavan <raghavan@media.osaka-cu.ac.jp> wrote:

Dear All,

As most of you must be aware, the

Google Summer of Code 2012 has been announced [1,2]

Some ideas that comes to my mind are

  1. Implementing of map-matching algorithms as of the pgRouting
    function. Python code for the algorithms that we implemented in 2010
    (See http://cs-test.ias.ac.in/cs/Downloads/article_45523.pdf) could be
    made available and the main work would be to integrate/improve
    them for implementation as pgRouting and/or SORouting (see item 2
    below)

  2. Implementing routing as a service. a) Use Web Feature Service
    (WFS) as input b) implement routing functions as Web Processing
    Service (WPS) c) Publish
    routing result as WFS. That would be SORouting (Service Oriented
    Routing instead
    of pgRouting. Since I am also a ZOO-Project (www.zoo-project.org) PSC
    member which is a OGC compliant open-source WPS implementation, I
    would take this opportunity to promote the use of ZOO for
    implementing SORouting.

  3. Route selection based on multi-criteria decision model to enable
    alternative
    route selection based on conditions at the destination. For example,
    route to
    the nearest hospital depending not only upon road conditions but also
    conditions at several destination hospitals (bed availability,
    availability of
    medicare specialists, availability of ICU etc). The condition of
    destination could be implemented using the OGC SOS standard.
    Regarding multi-criteria decision using AHP (analytical hierarchy
    process). There are several literature available [3],[4]. My student
    Sittichai (who writes
    on the pgRouting users list) has already started some work and could
    perhaps take up the work if he finds a mentor.

Best
Venka

P.S. Also Cc to ZOO-PSC since there may be some mentors there to help
with the WPS implementation for SORouting

Prof. Venkatesh Raghavan
Osaka City University
Japan

[1]http://www.google-melange.com/gsoc/homepage/google/gsoc2012
[2]
http://google-opensource.blogspot.com/2012/02/google-summer-of-code-2012-is-on.html
[3] http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=5567840
[4]
http://www.tandfonline.com/doi/abs/10.1080/13658810601135692#preview


Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users


Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users


Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: http://georepublic.de

We are also interested in repackaging the pgrouting code so that it is usable outside of the postgres database, much the way Max has integrated it into Spatialite. The idea is very simple to develop core algorithm modules and then wrap them into pgrouting but to also keep in mind that the core could be wrapped into an open API that could be used elsewhere.

I would love to see this as a GSoC project.

Taking this approach, things like the "contraction hierarchies" algorithm fit better into the over packaging. All great ideas boil down to somebody has to do something and as I have mentioned in other emails, we are trying to get a new developer to work with the project and to get him trained.

-Steve

On 2/23/2012 8:00 PM, Daniel Kastl wrote:

Hi Max,

Yes, we thought about it already and it's on the GSoC ideas list of 2010.
We even had a student in 2010 from Karlsruhe University, who picked that
topic, but then left GSoC very early unfortunately due to lack of time.
Other years candidates who picked that topic were not selected, because
their proposals were not good enough.

I thought the "contraction hierarchies" algorithm does a lot of
pre-processing. That's why it's fast.
Do you think this pre-processing is suitable for pgRouting and doesn't
constrain it's flexibility to select data by attributes, geometries, etc.?

But if we have a GSoC candidate with a strong and feasible proposal for
"contraction hierarchies" (and at least two mentors, who will support),
such a candidate's proposal would be probably ranked high.

Daniel

On Fri, Feb 24, 2012 at 8:57 AM, Max Weninger <max.weninger@gmail.com
<mailto:max.weninger@gmail.com>> wrote:

    Hi

    Has the "pgrouting team" ever thought about implementing
    a routing solution based on "contraction hierarchies"

    Details about the concepts can be found here
    http://algo2.iti.kit.edu/routeplanning.php
    http://code.google.com/p/monav/wiki/ContractionHierarchies

    Example implementaions e.g. here
    http://project-osrm.org/
    http://code.google.com/p/monav/

    Routing with such engines is extremely fast (milisecs)
    even for really large networks

    Regards

    max

    On Thu, 16 Feb 2012 14:52:46 +0900
    Venkatesh Raghavan <raghavan@media.osaka-cu.ac.jp
    <mailto:raghavan@media.osaka-cu.ac.jp>> wrote:

     > Dear All,
     >
     > As most of you must be aware, the
     >
     > Google Summer of Code 2012 has been announced [1,2]
     >
     > Some ideas that comes to my mind are
     >
     > 1) Implementing of map-matching algorithms as of the pgRouting
     > function. Python code for the algorithms that we implemented in 2010
     > (See http://cs-test.ias.ac.in/cs/Downloads/article_45523.pdf)
    could be
     > made available and the main work would be to integrate/improve
     > them for implementation as pgRouting and/or SORouting (see item 2
     > below)
     >
     > 2) Implementing routing as a service. a) Use Web Feature Service
     > (WFS) as input b) implement routing functions as Web Processing
     > Service (WPS) c) Publish
     > routing result as WFS. That would be SORouting (Service Oriented
     > Routing instead
     > of pgRouting. Since I am also a ZOO-Project (www.zoo-project.org
    <http://www.zoo-project.org>) PSC
     > member which is a OGC compliant open-source WPS implementation, I
     > would take this opportunity to promote the use of ZOO for
     > implementing SORouting.
     >
     > 3) Route selection based on multi-criteria decision model to enable
     > alternative
     > route selection based on conditions at the destination. For example,
     > route to
     > the nearest hospital depending not only upon road conditions but also
     > conditions at several destination hospitals (bed availability,
     > availability of
     > medicare specialists, availability of ICU etc). The condition of
     > destination could be implemented using the OGC SOS standard.
     > Regarding multi-criteria decision using AHP (analytical hierarchy
     > process). There are several literature available [3],[4]. My student
     > Sittichai (who writes
     > on the pgRouting users list) has already started some work and could
     > perhaps take up the work if he finds a mentor.
     >
     > Best
     > Venka
     >
     > P.S. Also Cc to ZOO-PSC since there may be some mentors there to help
     > with the WPS implementation for SORouting
     > ------
     > Prof. Venkatesh Raghavan
     > Osaka City University
     > Japan
     >
     > [1]http://www.google-melange.com/gsoc/homepage/google/gsoc2012
     > [2]
     >
    http://google-opensource.blogspot.com/2012/02/google-summer-of-code-2012-is-on.html
     > [3] http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=5567840
     > [4]
     > http://www.tandfonline.com/doi/abs/10.1080/13658810601135692#preview
     >
     > _______________________________________________
     > Pgrouting-users mailing list
     > Pgrouting-users@lists.osgeo.org
    <mailto:Pgrouting-users@lists.osgeo.org>
     > http://lists.osgeo.org/mailman/listinfo/pgrouting-users

    _______________________________________________
    Pgrouting-users mailing list
    Pgrouting-users@lists.osgeo.org <mailto:Pgrouting-users@lists.osgeo.org>
    http://lists.osgeo.org/mailman/listinfo/pgrouting-users

--
Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de <mailto:daniel.kastl@georepublic.de>
Web: http://georepublic.de/&gt;

_______________________________________________
Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users

Hi

On Fri, 24 Feb 2012 10:00:52 +0900
Daniel Kastl <daniel@georepublic.de> wrote:

I thought the "contraction hierarchies" algorithm does a lot of
pre-processing. That's why it's fast.
Do you think this pre-processing is suitable for pgRouting and doesn't
constrain it's flexibility to select data by attributes, geometries,
etc.?

It really depends on the "use case"

Of course the calculation of the required preprocessed data
must be solved e.g. by creating extra tables in the DB after importing.
Or "recreating" at later time if parameters that influence
route selection are changed (costs) and when the extra "penality"
of time needed to recreate is not a limiting factor.

You are right that this kind of routing engine is not really
made to support things like "dynamic" cost changes on a
"query to query" basis. If you need this kind of things it
would be the wrong "choice" since the advantages would
not apply.

It is more of a "static" kind of routing with "pre selected"
cost factors. So things like turn restrictions or costs based
on "static" factors like length, speed, ...

But still since it is so fast I could imagine also solutions
where the combination of multiple routing engines can make sense
e.g. use fast routing from city to city limit and then
use a more sophisticated one for the "last mile".

So it depends on the reponsible people to decide if this
"fit" into the pgrouting "portfolio" or not :slight_smile:

To be honest I just had a quick look at the implementation
and have by far not the knowledege how much effort it would be
and if it "makes sense" at all :slight_smile:

But my plan is to have a closer look when I have more time :frowning:
Having a 9to5 job does not make that easier :wink:

Regards

max

But if we have a GSoC candidate with a strong and feasible proposal
for "contraction hierarchies" (and at least two mentors, who will
support), such a candidate's proposal would be probably ranked high.

Daniel

On Fri, Feb 24, 2012 at 8:57 AM, Max Weninger
<max.weninger@gmail.com>wrote:

> Hi
>
> Has the "pgrouting team" ever thought about implementing
> a routing solution based on "contraction hierarchies"
>
> Details about the concepts can be found here
> http://algo2.iti.kit.edu/routeplanning.php
> http://code.google.com/p/monav/wiki/ContractionHierarchies
>
> Example implementaions e.g. here
> http://project-osrm.org/
> http://code.google.com/p/monav/
>
> Routing with such engines is extremely fast (milisecs)
> even for really large networks
>
> Regards
>
> max
>
> On Thu, 16 Feb 2012 14:52:46 +0900
> Venkatesh Raghavan <raghavan@media.osaka-cu.ac.jp> wrote:
>
> > Dear All,
> >
> > As most of you must be aware, the
> >
> > Google Summer of Code 2012 has been announced [1,2]
> >
> > Some ideas that comes to my mind are
> >
> > 1) Implementing of map-matching algorithms as of the pgRouting
> > function. Python code for the algorithms that we implemented in
> > 2010 (See
> > http://cs-test.ias.ac.in/cs/Downloads/article_45523.pdf) could be
> > made available and the main work would be to integrate/improve
> > them for implementation as pgRouting and/or SORouting (see item 2
> > below)
> >
> > 2) Implementing routing as a service. a) Use Web Feature Service
> > (WFS) as input b) implement routing functions as Web Processing
> > Service (WPS) c) Publish
> > routing result as WFS. That would be SORouting (Service Oriented
> > Routing instead
> > of pgRouting. Since I am also a ZOO-Project (www.zoo-project.org)
> > PSC member which is a OGC compliant open-source WPS
> > implementation, I would take this opportunity to promote the use
> > of ZOO for implementing SORouting.
> >
> > 3) Route selection based on multi-criteria decision model to
> > enable alternative
> > route selection based on conditions at the destination. For
> > example, route to
> > the nearest hospital depending not only upon road conditions but
> > also conditions at several destination hospitals (bed
> > availability, availability of
> > medicare specialists, availability of ICU etc). The condition of
> > destination could be implemented using the OGC SOS standard.
> > Regarding multi-criteria decision using AHP (analytical hierarchy
> > process). There are several literature available [3],[4]. My
> > student Sittichai (who writes
> > on the pgRouting users list) has already started some work and
> > could perhaps take up the work if he finds a mentor.
> >
> > Best
> > Venka
> >
> > P.S. Also Cc to ZOO-PSC since there may be some mentors there to
> > help with the WPS implementation for SORouting
> > ------
> > Prof. Venkatesh Raghavan
> > Osaka City University
> > Japan
> >
> > [1]http://www.google-melange.com/gsoc/homepage/google/gsoc2012
> > [2]
> >
> http://google-opensource.blogspot.com/2012/02/google-summer-of-code-2012-is-on.html
> > [3]
> > http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=5567840
> > [4]
> > http://www.tandfonline.com/doi/abs/10.1080/13658810601135692#preview
> >
> >
> > _______________________________________________
> > Pgrouting-users mailing list
> > Pgrouting-users@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/pgrouting-users
>
> _______________________________________________
> Pgrouting-users mailing list
> Pgrouting-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pgrouting-users
>

On 24/02/12 02:18, Stephen Woodbridge wrote:

you might want to careful as to which language you use, part of the dd
stuff is written in C++ not C and that has all sorts of problems when
being interface to C.
Dave.

We are also interested in repackaging the pgrouting code so that it is
usable outside of the postgres database, much the way Max has
integrated it into Spatialite. The idea is very simple to develop core
algorithm modules and then wrap them into pgrouting but to also keep
in mind that the core could be wrapped into an open API that could be
used elsewhere.

I would love to see this as a GSoC project.

Taking this approach, things like the "contraction hierarchies"
algorithm fit better into the over packaging. All great ideas boil
down to somebody has to do something and as I have mentioned in other
emails, we are trying to get a new developer to work with the project
and to get him trained.

-Steve

On 2/23/2012 8:00 PM, Daniel Kastl wrote:

Hi Max,

Yes, we thought about it already and it's on the GSoC ideas list of
2010.
We even had a student in 2010 from Karlsruhe University, who picked that
topic, but then left GSoC very early unfortunately due to lack of time.
Other years candidates who picked that topic were not selected, because
their proposals were not good enough.

I thought the "contraction hierarchies" algorithm does a lot of
pre-processing. That's why it's fast.
Do you think this pre-processing is suitable for pgRouting and doesn't
constrain it's flexibility to select data by attributes, geometries,
etc.?

But if we have a GSoC candidate with a strong and feasible proposal for
"contraction hierarchies" (and at least two mentors, who will support),
such a candidate's proposal would be probably ranked high.

Daniel

On Fri, Feb 24, 2012 at 8:57 AM, Max Weninger <max.weninger@gmail.com
<mailto:max.weninger@gmail.com>> wrote:

    Hi

    Has the "pgrouting team" ever thought about implementing
    a routing solution based on "contraction hierarchies"

    Details about the concepts can be found here
    http://algo2.iti.kit.edu/routeplanning.php
    http://code.google.com/p/monav/wiki/ContractionHierarchies

    Example implementaions e.g. here
    http://project-osrm.org/
    http://code.google.com/p/monav/

    Routing with such engines is extremely fast (milisecs)
    even for really large networks

    Regards

    max

    On Thu, 16 Feb 2012 14:52:46 +0900
    Venkatesh Raghavan <raghavan@media.osaka-cu.ac.jp
    <mailto:raghavan@media.osaka-cu.ac.jp>> wrote:

     > Dear All,
     >
     > As most of you must be aware, the
     >
     > Google Summer of Code 2012 has been announced [1,2]
     >
     > Some ideas that comes to my mind are
     >
     > 1) Implementing of map-matching algorithms as of the pgRouting
     > function. Python code for the algorithms that we implemented
in 2010
     > (See http://cs-test.ias.ac.in/cs/Downloads/article_45523.pdf)
    could be
     > made available and the main work would be to integrate/improve
     > them for implementation as pgRouting and/or SORouting (see item 2
     > below)
     >
     > 2) Implementing routing as a service. a) Use Web Feature Service
     > (WFS) as input b) implement routing functions as Web Processing
     > Service (WPS) c) Publish
     > routing result as WFS. That would be SORouting (Service Oriented
     > Routing instead
     > of pgRouting. Since I am also a ZOO-Project (www.zoo-project.org
    <http://www.zoo-project.org>) PSC
     > member which is a OGC compliant open-source WPS implementation, I
     > would take this opportunity to promote the use of ZOO for
     > implementing SORouting.
     >
     > 3) Route selection based on multi-criteria decision model to
enable
     > alternative
     > route selection based on conditions at the destination. For
example,
     > route to
     > the nearest hospital depending not only upon road conditions
but also
     > conditions at several destination hospitals (bed availability,
     > availability of
     > medicare specialists, availability of ICU etc). The condition of
     > destination could be implemented using the OGC SOS standard.
     > Regarding multi-criteria decision using AHP (analytical hierarchy
     > process). There are several literature available [3],[4]. My
student
     > Sittichai (who writes
     > on the pgRouting users list) has already started some work and
could
     > perhaps take up the work if he finds a mentor.
     >
     > Best
     > Venka
     >
     > P.S. Also Cc to ZOO-PSC since there may be some mentors there
to help
     > with the WPS implementation for SORouting
     > ------
     > Prof. Venkatesh Raghavan
     > Osaka City University
     > Japan
     >
     > [1]http://www.google-melange.com/gsoc/homepage/google/gsoc2012
     > [2]
     >
   
http://google-opensource.blogspot.com/2012/02/google-summer-of-code-2012-is-on.html
     > [3]
http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=5567840
     > [4]
     >
http://www.tandfonline.com/doi/abs/10.1080/13658810601135692#preview
     >
     >
     > _______________________________________________
     > Pgrouting-users mailing list
     > Pgrouting-users@lists.osgeo.org
    <mailto:Pgrouting-users@lists.osgeo.org>
     > http://lists.osgeo.org/mailman/listinfo/pgrouting-users

    _______________________________________________
    Pgrouting-users mailing list
    Pgrouting-users@lists.osgeo.org
<mailto:Pgrouting-users@lists.osgeo.org>
    http://lists.osgeo.org/mailman/listinfo/pgrouting-users

--
Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de <mailto:daniel.kastl@georepublic.de>
Web: http://georepublic.de/&gt;

_______________________________________________
Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users

_______________________________________________
Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users

On 2/25/2012 5:18 PM, Dave Potts wrote:

On 24/02/12 02:18, Stephen Woodbridge wrote:

you might want to careful as to which language you use, part of the dd
stuff is written in C++ not C and that has all sorts of problems when
being interface to C.
Dave.

Right! If you look at the TRSP branch you will see that I have one wrapper in C the calls the postgres api for collecting data from the database and stuffing it into structs. That in turn calls a very simple C++ function the creates a C++ object and passes the C structs to that.

You have to plan on an API to pass data cleanly from C to C++ without additional copying of data about, but it can be done with a little thought and planning.

-Steve

We are also interested in repackaging the pgrouting code so that it is
usable outside of the postgres database, much the way Max has
integrated it into Spatialite. The idea is very simple to develop core
algorithm modules and then wrap them into pgrouting but to also keep
in mind that the core could be wrapped into an open API that could be
used elsewhere.

I would love to see this as a GSoC project.

Taking this approach, things like the "contraction hierarchies"
algorithm fit better into the over packaging. All great ideas boil
down to somebody has to do something and as I have mentioned in other
emails, we are trying to get a new developer to work with the project
and to get him trained.

-Steve

On 2/23/2012 8:00 PM, Daniel Kastl wrote:

Hi Max,

Yes, we thought about it already and it's on the GSoC ideas list of
2010.
We even had a student in 2010 from Karlsruhe University, who picked that
topic, but then left GSoC very early unfortunately due to lack of time.
Other years candidates who picked that topic were not selected, because
their proposals were not good enough.

I thought the "contraction hierarchies" algorithm does a lot of
pre-processing. That's why it's fast.
Do you think this pre-processing is suitable for pgRouting and doesn't
constrain it's flexibility to select data by attributes, geometries,
etc.?

But if we have a GSoC candidate with a strong and feasible proposal for
"contraction hierarchies" (and at least two mentors, who will support),
such a candidate's proposal would be probably ranked high.

Daniel

On Fri, Feb 24, 2012 at 8:57 AM, Max Weninger<max.weninger@gmail.com
<mailto:max.weninger@gmail.com>> wrote:

     Hi

     Has the "pgrouting team" ever thought about implementing
     a routing solution based on "contraction hierarchies"

     Details about the concepts can be found here
     http://algo2.iti.kit.edu/routeplanning.php
     http://code.google.com/p/monav/wiki/ContractionHierarchies

     Example implementaions e.g. here
     http://project-osrm.org/
     http://code.google.com/p/monav/

     Routing with such engines is extremely fast (milisecs)
     even for really large networks

     Regards

     max

     On Thu, 16 Feb 2012 14:52:46 +0900
     Venkatesh Raghavan<raghavan@media.osaka-cu.ac.jp
     <mailto:raghavan@media.osaka-cu.ac.jp>> wrote:

      > Dear All,
      >
      > As most of you must be aware, the
      >
      > Google Summer of Code 2012 has been announced [1,2]
      >
      > Some ideas that comes to my mind are
      >
      > 1) Implementing of map-matching algorithms as of the pgRouting
      > function. Python code for the algorithms that we implemented
in 2010
      > (See http://cs-test.ias.ac.in/cs/Downloads/article_45523.pdf)
     could be
      > made available and the main work would be to integrate/improve
      > them for implementation as pgRouting and/or SORouting (see item 2
      > below)
      >
      > 2) Implementing routing as a service. a) Use Web Feature Service
      > (WFS) as input b) implement routing functions as Web Processing
      > Service (WPS) c) Publish
      > routing result as WFS. That would be SORouting (Service Oriented
      > Routing instead
      > of pgRouting. Since I am also a ZOO-Project (www.zoo-project.org
     <http://www.zoo-project.org>) PSC
      > member which is a OGC compliant open-source WPS implementation, I
      > would take this opportunity to promote the use of ZOO for
      > implementing SORouting.
      >
      > 3) Route selection based on multi-criteria decision model to
enable
      > alternative
      > route selection based on conditions at the destination. For
example,
      > route to
      > the nearest hospital depending not only upon road conditions
but also
      > conditions at several destination hospitals (bed availability,
      > availability of
      > medicare specialists, availability of ICU etc). The condition of
      > destination could be implemented using the OGC SOS standard.
      > Regarding multi-criteria decision using AHP (analytical hierarchy
      > process). There are several literature available [3],[4]. My
student
      > Sittichai (who writes
      > on the pgRouting users list) has already started some work and
could
      > perhaps take up the work if he finds a mentor.
      >
      > Best
      > Venka
      >
      > P.S. Also Cc to ZOO-PSC since there may be some mentors there
to help
      > with the WPS implementation for SORouting
      > ------
      > Prof. Venkatesh Raghavan
      > Osaka City University
      > Japan
      >
      > [1]http://www.google-melange.com/gsoc/homepage/google/gsoc2012
      > [2]
      >

http://google-opensource.blogspot.com/2012/02/google-summer-of-code-2012-is-on.html
      > [3]
http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=5567840
      > [4]
      >
http://www.tandfonline.com/doi/abs/10.1080/13658810601135692#preview
      >
      > _______________________________________________
      > Pgrouting-users mailing list
      > Pgrouting-users@lists.osgeo.org
     <mailto:Pgrouting-users@lists.osgeo.org>
      > http://lists.osgeo.org/mailman/listinfo/pgrouting-users

     _______________________________________________
     Pgrouting-users mailing list
     Pgrouting-users@lists.osgeo.org
<mailto:Pgrouting-users@lists.osgeo.org>
     http://lists.osgeo.org/mailman/listinfo/pgrouting-users

--
Georepublic UG& Georepublic Japan
eMail: daniel.kastl@georepublic.de<mailto:daniel.kastl@georepublic.de>
Web: http://georepublic.de/&gt;

_______________________________________________
Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users

_______________________________________________
Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users

_______________________________________________
Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users