openpanos
A platform for creating linked, navigable networks of 360 panoramas.
Introduction
OpenPanos is a platform for creating linked networks of 360 panoramas. It is based on the core engine of OpenTrailView, a project to
create 360 tours of paths and trails. It uses various other libraries:
- Pannellum - a flexible and powerful panorama viewing library, developed by Matthew Petroff.
- GeoJSON Path Finder - a library to create a routing graph from GeoJSON and route between two points. Developed by
Per Liedman; note that you have to currently use my own fork with OpenPanos (included in this package),
as it relies on a bugfix which has not been merged into master on the original project yet. This is likely to change.
OpenPanos consists of two parts, a client and a server. It is possible to use the client without the server if you provide your own server.
The client
The client (openpanos-client
; this package) is Pannellum and GeoJSON Path Finder-based, and handles displaying and linking the panoramas. By default, the client will work with the OpenPanos server. However this is configurable and you can connect it to your own PostGIS-based API.
The server
The server (openpanos-server
) is node.js based and by default, works with a standard OpenStreetMap PostGIS database to serve OpenStreetMap data as GeoJSON, which is used to link the panoramas. To populate this database, you need to download a standard osm.pbf
file, e.g. from Geofabrik, use Osmosis to extract the area you want, and then osm2pgsql to import the data into the database. See here for more details.