[pgrouting-dev] wrappers

Hi All,

It has been 3 yrs. since I last worked with pgRouting. I’m very impressed with the changes in V2.

I’m working on some corrections to the documentation as I relearn how to do routing. I’ve had great success and by viewing my tables in QGIS, I’ve been able to find many of the problems in my network.

I’ve got a simple wrapper I’m using for routing between two x-y points. Input is source x-y and target x-y and the wrapper finds the nearest edges to feed into the pgr_trsp function.

Using this function is much simpler than the ‘shootingstar_sp_smart’ wrapper I last used. I’m liking V2 of pgRouting. :slight_smile:

Several years ago there was some discussion on sharing wrappers. Is there a place in the documentation to point to my wrapper as an example for others? I’ve put it in a gist on github:

···


Worth Lutz

You can add a link to this wiki page:

https://github.com/pgRouting/pgrouting/wiki/Third-Party-Resources-and-Writing-functions

Which is linked off the main wiki page here:

https://github.com/pgRouting/pgrouting/wiki#learning-pgrouting

Thank you for all the nice comments about 2.x. Vicky as been continuing the work I started with 2.0, and she has release 2.1, 2.2 and has 2.3 well on its way to a new release in a month or so. These releases fix a HUGE number of issues and preview new functions that will be officially released on 3.0.

We appreciate all the support and help we get from our community.

-Steve

On 7/7/2016 8:22 PM, Worth Lutz wrote:

Hi All,

It has been 3 yrs. since I last worked with pgRouting. I'm very
impressed with the changes in V2.

I'm working on some corrections to the documentation as I relearn how to
do routing. I've had great success and by viewing my tables in QGIS,
I've been able to find many of the problems in my network.

I've got a simple wrapper I'm using for routing between two x-y points.
Input is source x-y and target x-y and the wrapper finds the nearest
edges to feed into the pgr_trsp function.

Using this function is much simpler than the 'shootingstar_sp_smart'
wrapper I last used. I'm liking V2 of pgRouting. :slight_smile:

Several years ago there was some discussion on sharing wrappers. Is
there a place in the documentation to point to my wrapper as an example
for others? I've put it in a gist on github:

    https://gist.github.com/worthlutz/72fce4ba32093754c1d4f819707e595a

--
*Worth Lutz*

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

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Hi Worth,

you might want to see the proposed withPoints family of functions, which include left/right driving side…

Hopefully for a rewrite of trsp that idea can be used.

Vicky

···

On Thu, Jul 7, 2016 at 7:35 PM, Stephen Woodbridge <woodbri@swoodbridge.com> wrote:

You can add a link to this wiki page:

https://github.com/pgRouting/pgrouting/wiki/Third-Party-Resources-and-Writing-functions

Which is linked off the main wiki page here:

https://github.com/pgRouting/pgrouting/wiki#learning-pgrouting

Thank you for all the nice comments about 2.x. Vicky as been continuing the work I started with 2.0, and she has release 2.1, 2.2 and has 2.3 well on its way to a new release in a month or so. These releases fix a HUGE number of issues and preview new functions that will be officially released on 3.0.

We appreciate all the support and help we get from our community.

-Steve

On 7/7/2016 8:22 PM, Worth Lutz wrote:

Hi All,

It has been 3 yrs. since I last worked with pgRouting. I’m very
impressed with the changes in V2.

I’m working on some corrections to the documentation as I relearn how to
do routing. I’ve had great success and by viewing my tables in QGIS,
I’ve been able to find many of the problems in my network.

I’ve got a simple wrapper I’m using for routing between two x-y points.
Input is source x-y and target x-y and the wrapper finds the nearest
edges to feed into the pgr_trsp function.

Using this function is much simpler than the ‘shootingstar_sp_smart’
wrapper I last used. I’m liking V2 of pgRouting. :slight_smile:

Several years ago there was some discussion on sharing wrappers. Is
there a place in the documentation to point to my wrapper as an example
for others? I’ve put it in a gist on github:

https://gist.github.com/worthlutz/72fce4ba32093754c1d4f819707e595a


Worth Lutz


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


This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


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

Georepublic UG (haftungsbeschränkt)
Salzmannstraße 44, 
81739 München, Germany

Vicky Vergara
Operations Research

eMail: vicky@[georepublic.de](http://georepublic.de)
Web: [https://georepublic.info](https://georepublic.info)

Tel: +49 (089) 4161 7698-1
Fax: +49 (089) 4161 7698-9

Commercial register: Amtsgericht München, HRB 181428
CEO: Daniel Kastl

Hi Vicky,

Thanks for pointing me to those functions. I had not delved that far into the documentation yet.

···

Worth Lutz

On 7/8/2016 1:25 AM, Vicky Vergara wrote:

Hi Worth,

you might want to see the proposed withPoints family of functions, which include left/right driving side…

Hopefully for a rewrite of trsp that idea can be used.

Vicky

On Thu, Jul 7, 2016 at 7:35 PM, Stephen Woodbridge <woodbri@swoodbridge.com> wrote:

You can add a link to this wiki page:

https://github.com/pgRouting/pgrouting/wiki/Third-Party-Resources-and-Writing-functions

Which is linked off the main wiki page here:

https://github.com/pgRouting/pgrouting/wiki#learning-pgrouting

Thank you for all the nice comments about 2.x. Vicky as been continuing the work I started with 2.0, and she has release 2.1, 2.2 and has 2.3 well on its way to a new release in a month or so. These releases fix a HUGE number of issues and preview new functions that will be officially released on 3.0.

We appreciate all the support and help we get from our community.

-Steve

On 7/7/2016 8:22 PM, Worth Lutz wrote:

Hi All,

It has been 3 yrs. since I last worked with pgRouting. I’m very
impressed with the changes in V2.

I’m working on some corrections to the documentation as I relearn how to
do routing. I’ve had great success and by viewing my tables in QGIS,
I’ve been able to find many of the problems in my network.

I’ve got a simple wrapper I’m using for routing between two x-y points.
Input is source x-y and target x-y and the wrapper finds the nearest
edges to feed into the pgr_trsp function.

Using this function is much simpler than the ‘shootingstar_sp_smart’
wrapper I last used. I’m liking V2 of pgRouting. :slight_smile:

Several years ago there was some discussion on sharing wrappers. Is
there a place in the documentation to point to my wrapper as an example
for others? I’ve put it in a gist on github:

https://gist.github.com/worthlutz/72fce4ba32093754c1d4f819707e595a


Worth Lutz


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


This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


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

Georepublic UG (haftungsbeschränkt)
Salzmannstraße 44, 
81739 München, Germany

Vicky Vergara
Operations Research

eMail: vicky@[georepublic.de](http://georepublic.de)
Web: [https://georepublic.info](https://georepublic.info)

Tel: +49 (089) 4161 7698-1
Fax: +49 (089) 4161 7698-9

Commercial register: Amtsgericht München, HRB 181428
CEO: Daniel Kastl

_______________________________________________
pgrouting-dev mailing list
[pgrouting-dev@lists.osgeo.org](mailto:pgrouting-dev@lists.osgeo.org)
[http://lists.osgeo.org/mailman/listinfo/pgrouting-dev](http://lists.osgeo.org/mailman/listinfo/pgrouting-dev)