 S.Shekhar introduces direction as a spatial object and presents a solution to object-direction-based queries.The most common representations for the data model follow.An open-source software program that adds support for geographic objects to the PostgreSQL object-relational database.