I store my geographical information in PostgreSQL database.
I want to use GraphHopper for my routing propose, but GraphHopper can read information in shapefiles or OSM format. I now convert my information to shapefile format and use GraphHopper. But I want to read information directly from PostgreSQL and for this propose I have to write a custom reader for this.
How can write this reader?