Convert LOC to PMTILES

Turn LOC files into PMTILES. A PMTiles archive of vector tiles in Web Mercator with one layer named after the file and each feature's attributes as its properties, from zoom 0 to the deepest zoom, at most 14, at which the map spans no more than 64 tiles across.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop LOC files on the dialor turn it to pick what to do

Geocaching waypoints as vector map tiles.One PMTiles archive that a web map can read straight from a file server.

  1. What you get

    A single PMTiles file of vector tiles in Web Mercator. It holds one layer, named after the file, and each feature's attributes become its properties. The tiles run from zoom 0 down to the deepest zoom, at most 14, at which the map spans no more than 64 tiles across.

    Waypoints and route points become points. Routes and tracks become lines. A layer column names the GPX layer each feature comes from: waypoints, routes, tracks or route_points.

  2. What changes

    Coordinates are rounded to each zoom's tile grid, and shapes are cut at tile edges. A tile over 500 KB is written with less detail or fewer features.

    Lists and nested values become JSON text. Columns that no feature fills are left out.

  3. What is left out

    Features without a geometry are not written. Single track points are left out, and with them the times and logged values of tracks.

    For other targets, see every LOC conversion.

LOC and PMTILES.What each format is.

The formats

From · LOC

Geocaching LOC

Geocache waypoints downloaded from Geocaching.com as a .loc file.

Extensions
.loc
MIME type
application/x-geocaching-loc+xml
Kind
Text and data
To · PMTILES

PMTiles

Vector map tiles for every zoom in one PMTiles archive, which a web map reads straight from a file server.

Extensions
.pmtiles
MIME type
application/vnd.pmtiles
Kind
Text and data

In your code.The same LOC to PMTILES conversion through the API, for your app or your agent.

terminal
$ cv convert report.loc report.pmtiles
$ cv convert report.loc report.pmtiles

Questions.What people ask about LOC to PMTILES.

01OF 04

It contains vector tiles for every zoom from 0 to the deepest zoom, in one archive. All features sit in one layer named after the file.

Use the layer column. Each feature carries the GPX layer it comes from: waypoints, routes, tracks or route_points.

No. Single track points are left out, and the times and logged values of tracks go with them.

It is at most 14. It is the zoom at which the map spans no more than 64 tiles across.

More conversions.Other ways in and out of LOC and PMTILES.