[talk-ph] PgrServer Routing Web Service

Mario Basa mario.basa at gmail.com
Tue Apr 19 07:41:16 UTC 2022


Greetings,

I am a Filipino Open Source developer and have been recently developing a Routing Web Service which I named PgrServer  that might be of interest to this list. 

PgrServer is very much similar to PgRouting (which I also co-developed) wherein the topology data resides in PostgreSQL/PostGIS; in fact any topology data created for PgRouting is usable also for PgrServer. The benefit of this is that any network data set, be it road or fiber optic lines or water drainage system, can be used for routing. And since the cost attribute that determines the path of the route is in the database, this cost can be easily updated to result in a desired type of route (fastest route or shortest route for example). 

But unlike PgRouting, PgrSever loads the entire network into memory during startup. This results in very fast serches even in dense networks, and is able to do long distance searches which PgRouting struggles with. PgrServer uses JGraphT network library which includes a rich set of routing algorithms, and JSprit library to solve Vehicle Routing Problems (VRP) and rich Traveling Salesperson Problems (TSP).

And ofcourse, PgrServer is a Web Service that contains REST APIs that can easily be incorporated to custom applications or GIS systems like QGIS. 

The source code and documentation of the PgrServer project can be found here: 

https://github.com/mbasa/pgrServer/ 

And a sample demo application using the Philippine OSM data can be seen here: 

http://mbasa.dynv6.net/pgrserver_demo/

The demo is written in Flutter and can best viewed using the Chrome Browser (although Safari can be used but the Cross-Origin Restriction has to be disabled). Try doing a search from Sorsogon City to Vigan City for fun. 


Regards.


Mario Basa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-ph/attachments/20220419/9e4268be/attachment.htm>


More information about the talk-ph mailing list