Skip to content

Artemis21/mimaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mimaps

This repository contatins code for exploring, rendering and performing pathfinding on data from Ordinance Survey GB's path and road networks. The current state of this program is very experimental.

To make use of it, you will first need to obtain a copy of the relevant datasets (for performance we make a lot of assumptions about the data, so other datasets using the same formats way well not work). The program expects to find a folder in the current directory called source_data, with mastermap_paths and mastermap_roads subdirectories containing the OSGB data as GML files. When running a fresh build, it will construct and index an SQLite file containing all the relevant data parsed from GML. There are several million datapoints to import, so indexing can take a few minutes, and the resulting file will be around 3.5 GB. However, efficient indexing means that it can be queried multiple times per frame.

The program also expects a directory called assets containing a subdirectory raster_25k with OSGB 1:25k map renderings, to display a raster layer. However, these need not cover the whole area.

Features

Rendering the navigation networks:

Screenshot From 2025-11-11 02-21-29

Snap-to-path style pathfinding: the user draws the rough directions they would like to go, and the program computes a route along the network which is close.

image

About

OSGB navigation data explorer & pathfinder

Resources

Stars

Watchers

Forks