Skip to content

fix: use Kapsi WMS map sources for MML maps and add PVARKI terrain sources - #164

Closed
Street3r wants to merge 1 commit into
mainfrom
tak-map-fix-and-additions
Closed

Street3r wants to merge 1 commit into
mainfrom
tak-map-fix-and-additions

Conversation

@Street3r

Copy link
Copy Markdown
Contributor

Description

Fixes #124.

The MML maps used Kapsi as an XYZ tile source, which no longer works. They now use Kapsi WMS (customWmsMapSource, WMS 1.1.1, EPSG:3857, png, https).

  • MML_Peruskartta.xml and MML_Ortoilmakuva.xml changed to WMS.
  • New MML_Taustakartta.xml.
  • New terrain sources pvarki-terrain-high.json (MML 2m) and pvarki-terrain-mid.json (TAK Bathy). Elevation data only, not shown in the map list.
  • Map names renumbered so each map has its own number and the MML maps come first. Google_Roadmap.xml moved from 3 to 6.
  • Manifests list the new files.

Applied to tak_datapackage/default/environment-packages/Maps/ and tak_missionpkg/default/{atak,itak,wintak}/. No code changes: non-.tpl files are copied into the packages as they are.

aditionalparameters is spelled with one "d" on purpose (MOBAC XML schema). File names are kept as before to keep the change small.

Tested by hand:

  • ATAK: client package imports, maps 1–6 are listed in order and load
  • ATAK: terrain sources load and elevation data is used
  • iTAK: client package imports, maps load
  • WinTAK: client package imports, maps load
  • Environment Maps data package via TAK Server

User-Facing Changes

MML maps work again

The National Land Survey of Finland (MML) maps in the TAK client packages load again. The map list is now:

1 MML Maastokartta, 2 MML Ilmakuva, 3 MML Taustakartta (new), 4 Google Hybrid, 5 Google Satellite, 6 Google Roadmap.

Terrain data for ATAK

ATAK packages include terrain sources (high and mid resolution), so elevation data is available in the map.

Anything Else You'd Like to Mention

Maps come from Kapsi until our own map server is available.

Description

User-Facing Changes

Short title of the change

A few sentences describing the change to a user.

Anything Else You'd Like to Mention

…urces

## Description
Fixes #124.

The MML maps used Kapsi as an XYZ tile source, which no longer works. They now use Kapsi WMS (`customWmsMapSource`, WMS 1.1.1, EPSG:3857, png, https).

- `MML_Peruskartta.xml` and `MML_Ortoilmakuva.xml` changed to WMS.
- New `MML_Taustakartta.xml`.
- New terrain sources `pvarki-terrain-high.json` (MML 2m) and `pvarki-terrain-mid.json` (TAK Bathy). Elevation data only, not shown in the map list.
- Map names renumbered so each map has its own number and the MML maps come first. `Google_Roadmap.xml` moved from 3 to 6.
- Manifests list the new files.

Applied to `tak_datapackage/default/environment-packages/Maps/` and `tak_missionpkg/default/{atak,itak,wintak}/`. No code changes: non-`.tpl` files are copied into the packages as they are.

`aditionalparameters` is spelled with one "d" on purpose (MOBAC XML schema). File names are kept as before to keep the change small.

Tested by hand:
- [x] ATAK: client package imports, maps 1–6 are listed in order and load
- [x] ATAK: terrain sources load and elevation data is used
- [x] iTAK: client package imports, maps load
- [x] WinTAK: client package imports, maps load
- [x] Environment Maps data package via TAK Server

## User-Facing Changes
<!-- releasenote:start -->
### MML maps work again
The National Land Survey of Finland (MML) maps in the TAK client packages load again. The map list is now:

1 MML Maastokartta, 2 MML Ilmakuva, 3 MML Taustakartta (new), 4 Google Hybrid, 5 Google Satellite, 6 Google Roadmap.

### Terrain data for ATAK
ATAK packages include terrain sources (high and mid resolution), so elevation data is available in the map.
<!-- releasenote:end -->

## Anything Else You'd Like to Mention
Maps come from Kapsi until our own map server is available.
@Street3r
Street3r requested a review from rambo October 29, 2026 16:36
@Street3r Street3r closed this Oct 29, 2026
@Street3r
Street3r deleted the tak-map-fix-and-additions branch October 29, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Fix MML maps with kapsi

1 participant