From OpenStreetMap Wiki
Jump to: navigation, search

Hikar (see gitlab repository) is an augmented reality app for Android (4.1+) which overlays OpenStreetMap ways on the device's camera feed. Its aim is to help navigation for walkers/hikers (hence the name) and other outdoor users. The colour scheme used is (referring to the highway tag).

  • green = footway
  • brown = bridleway or anything with designation=public_bridleway
  • red = byway
  • orange = track
  • blue = cycleway
  • white = road, or anything else

How it works (briefly)

Hikar uses the Android location and sensor APIs to obtain the location and orientation of the device, then loads OSM data (as GeoJSON, produced from a PostGIS database) and height data (either SRTM or Ordnance Survey LandForm PANORAMA) from the Freemap server. The data is then cached on the device to avoid network access next time you're in that area. The height data is used to position the OSM data in 3D, e.g. overlay a footpath on the slope of a hill so that it appears correctly. The sensor API is used to obtain an orientation matrix which is then used with OpenGL to display the OSM data overlaid on the device's camera feed.

More details

See the Hikar page on the Freemap server.

Author Nick Whitelegg (nickw), last update 12/03/19