Convert LOC to GML

Turn LOC files into GML. A GML 3.2 document with one feature type holding the features and their attributes, in the source's coordinate system and without a separate schema file.

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 GML 3.2.One file with a feature type that holds your features and their attributes.

  1. What you get

    A GML 3.2 document with one feature type. It holds the features and their attributes, in the coordinate system of the source. No separate schema file comes with it.

    Waypoints become points. Heights stay in the shapes as Z and in the ele column of points. When some features have heights and others do not, the ones without get a height of 0.

  2. How attributes are written

    A layer column names the GPX layer each feature comes from: waypoints, routes, tracks, route_points or track_points. 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. It carries its time in UTC and the values the device logged with it, such as satellites, heart rate as hr and cadence as cad. The track_fid and route_fid columns tie each point to its track or route.

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

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

GML

Geography Markup Language, the OGC's XML for map features, as WFS services send it.

Extensions
.gml
MIME type
application/gml+xml
Kind
Text and data

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

terminal
$ cv convert report.loc report.gml
$ cv convert report.loc report.gml

Questions.What people ask about LOC to GML.

01OF 04

Yes. The output is one file with a single feature type.

No. The document comes without a separate schema file.

When some features have heights and others do not, the ones without get a height of 0.

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