Convert LOC to PARQUET

Turn LOC files into PARQUET. A GeoParquet file with one row for each feature: its shape as WKB in a geom column that GeoParquet metadata describes with its geometry types, bounding box and coordinate system, then every attribute as a column, with lists and nested values kept as Parquet lists and structs.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Geocache waypoints as a GeoParquet file.Each feature becomes one row, with its shape in a geom column.

  1. What you get

    A GeoParquet file with one row for each feature. The shape is stored as WKB in a geom column. GeoParquet metadata describes that column with its geometry types, bounding box and coordinate system.

    Every attribute becomes a column of its own. Lists and nested values are kept as Parquet lists and structs. The result is one file.

  2. Shapes and points

    Waypoints become points. The coordinate system of the source is kept, and heights stay in the shapes as Z and in the ele column of points.

    If the source holds routes or tracks, routes become lines and tracks become multilines with a part for each segment. Every route and track point also becomes a point of its own, with its time in UTC and the values the device logged with it, such as satellites, heart rate as hr and cadence as cad.

    A layer column names the layer each feature comes from: waypoints, routes, tracks, route_points or track_points. track_fid and route_fid tie each point to its track or route.

  3. What is left out

    Columns that no feature fills are left out. A column appears in the file only when at least one feature has a value for it.

LOC and PARQUET.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 · PARQUET

Parquet

The columnar data format of analytics. Compressed, typed and fast to scan.

Extensions
.parquet .pq
MIME type
application/vnd.apache.parquet
Kind
Text and data

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

terminal
$ cv convert report.loc report.parquet
$ cv convert report.loc report.parquet

Questions.What people ask about LOC to PARQUET.

01OF 04

Yes. The coordinate system of the source is kept, and the GeoParquet metadata describes it along with the geometry types and bounding box.

Yes. Heights stay in the shapes as Z and in the ele column of points.

Read the layer column. It names the layer each feature comes from, such as waypoints, routes, tracks, route_points or track_points.

Columns that no feature fills are left out. If no feature has a value for an attribute, it does not get a column.

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