GISWiki - Das freie Portal für Geoinformatik (GIS)
Wechseln zu: Navigation, Suche

PostLBS is a project wich main objective is to provide core tools for Location Based Services (LBS) as Open Source Software (OSS) that can provide Routing (pgRouting) and Geocoding (geocoder.ja. Currently for Japan only) functionalities which are similar to those found on commercial software.

These capabilities should be accessible to both OSS and proprietary GIS clients. Also, they should have the flexibility to handle different data attribute organizations and have a data format which is interchangeable with other existing data formats.

PostLBS key features

At the moment PostLBS consists of two modules: a routing module called pgRouting, and a address coder for Japanese addresses named geocoder.ja.


  • Routing engine, integrated into PostgreSQL.
  • Accessible by multiple clients through JDBC, ODBC, or directly using the PostgreSQL APIs. The clients can either be PCs and/or mobile devices.
  • Uses PostGIS for its geographic data format, which in turn uses OGC's data format Well Konwn Text (WKT) and Well Known Binary (WKB). This allows usage of existing open data converters.
  • Open Source Software like qGIS and uDIG can modify the data/attributes, and these modifications can be reflected instantaneously through the routing engine.
  • The "cost" parameter can be dynamically prepared through SQL, so its value can come from multiple fields or tables. The parameter can also be prepared using PostgreSQL's other functionality which are also accessible via sql such as Statistical and Calendar functions.
  • Driving Distance polygons can easily be used as a query parameter for Marketing Analysis using different tables within the database.
  • pgRouting is released under GNU General Public License (GPL).
  • pgRouting is based on pgDijkstra (, the routing module of Camp2Camp's CartoWeb (, a comprehensive and ready to use Web based GIS. Although pgDijkstra was originally designed only for shortest-path queries and small networks, it provides a very rich framework to which additional functionalities can be easily integrated.


  • Japanese Geocoding capability is independent from any database.
  • Geocoding module and address data can be fully stored in memory, so it can process an estimate of 100,000 searches per minute.
  • Can handle multiple character codes such as Shift-JIS, UTF-8 and EUC.
  • Provides text normalize functions that can handle several types of Japanese address formats.
  • geocoder.ja is released under GNU Lesser General Public License (LGPL).