The BASTION app
Maps
Offline map packs, overlays from other tools, drawing layers, waypoints and your position.
The Maps screen
The Maps screen has two parts:
- OFFLINE MAPS, with Import, Folder, Layers and Open viewer.
- WAYPOINTS, with a search box that searches title, MGRS and notes.
The base map and map packs
A world map is built in. It is called World base and shows coastlines, rivers, borders, cities and major highways with English names. It needs no download.
For detail, you add map packs. A map pack is an MBTiles file. Packs can hold:
- picture (raster) maps;
- vector maps with roads, buildings and place names;
- shaded relief and contour lines.
Packs arrive by Import (one file), Folder (a folder of files), by sync, or by peer-to-peer sharing. You can build packs for any area on the website's Maps page.
ATAK tile caches (.sqlite or .db files from ATAK's image cache) are converted when you import them. The result is as detailed as the cache was.
Layers
Layers opens the layer list. It is on the Maps screen and in the map viewer, and has two tabs: Map layers and Annotations.
For each map pack you can:
- switch it on or off;
- Move up or Move down. The order of the list is the order the layers are drawn in;
- change its opacity;
- Go to area, which moves the map to the pack and switches it on;
- Lock it at a zoom level, or Unlock it;
- delete it.
Change the base map
Use as base makes a pack the base map. Its row then reads Base layer — always drawn.
Packs that cover the whole world are marked Base candidate. If you choose any other pack, the map shows empty sea outside its area. The previous base stays in the list, switched off.
Delete a pack
Deleting a pack removes it from this device. If it came from a sync and is still on the server, the next sync downloads it again.
Other map settings
- The light/dark switch on the map changes the map only, not the rest of the app.
- Settings, MAPS, Map label language sets the language for place names. A place with no name in that language shows its English name, or failing that its local name.
- Map credits are at the bottom left of the map.
Overlays from other tools
An overlay is a route, boundary or set of points made in another tool, such as ATAK or GIS software. BASTION reads KML, KMZ, GeoJSON and CoT files.
To add one, do any of these:
- open or share the file to BASTION from another app;
- use Import on the Maps screen;
- put it in the Maps area of My files on the website, or in your own server's
maps/folder, and sync.
Each one becomes a map layer marked Read-only overlay.
What to expect:
- A GeoJSON file must end in
.geojson. A.jsonfile is not recognised. - A CoT file is read as points only.
- A read-only overlay is drawn in BASTION's own colours: lines in gold, areas in green, points in light gold. The file's own colours, icons and line styles are not used.
Convert an overlay to a drawing layer
A read-only overlay can't be edited. To edit it, convert it:
- Open Layers and find the overlay's row.
- Choose Convert to drawing layer, then Convert.
Points become pins, lines become routes, and areas stay areas. Names and descriptions become notes. Colours become the nearest BASTION colour. Icons, line widths and other styling are not kept.
The new layer appears under the Annotations tab. The overlay stays in the list, switched off.
An overlay with more than 2,000 shapes can't be converted. It stays a read-only layer.
Drawing layers
A drawing layer holds shapes you draw on the map.
- Open Layers, then the Annotations tab.
- Choose New annotation layer, type a Layer name, and choose Create & draw.
- Pick a tool:
- Pin for a point;
- Route for a line, built tap by tap;
- Area for a closed shape, built tap by tap;
- Freehand, drawn by dragging.
- Use Undo to step back, Finish to complete a shape, and Done when you've finished drawing.
Each shape gets a colour and a note. Pin, Route and Area points can be placed by tapping the map or at the crosshair.
For each layer, the Annotations tab offers on/off, Move up, Move down, Add pins to layer, View objects and Delete layer.
View objects lists what's in the layer. From there:
- To ATAK opens Android's share sheet with the layer as a KML file. Pick ATAK there; it has to be installed. Any other app that reads KML can be picked instead.
- Export GeoJSON writes a file other tools can read.
- A single object can be edited, sent to ATAK the same way, pinned to Emergency or deleted.
Waypoints
Long-press the map to add a waypoint. Fill in Title and Notes and choose Save waypoint.
A waypoint offers Pin, Send to ATAK, Copy coords, Open in maps and Delete waypoint.
Coordinates and your position
- The coordinate bar shows the centre of the map, under the crosshair. Tap it to cycle between decimal degrees, degrees-minutes-seconds and MGRS. Long-press to copy.
- GPS is off until you tap the position button. Android asks for location permission the first time.
- Long-press the position button to centre the map on yourself.
- GPS switches off when you leave the map, and has to be switched on again each time you start the app.
- GPS only receives. Switching it on transmits nothing, and BASTION does not send your position anywhere on its own.
Sharing your drawings and waypoints
A personal device cannot send its drawing layers or waypoints to a server. You can pass them to another device by peer-to-peer sharing, or send them to ATAK.
See Known limits for the other limits in this version.