Convert LOC to FGB
Turn LOC files into FlatGeobuf. A FlatGeobuf with the features and their attributes in the source's coordinate system and a spatial index.
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 FlatGeobuf file.Features and attributes keep their coordinate system and get a spatial index.
What you get
One FGB file with the features and their attributes, in the coordinate system of the source. The file includes a spatial index. Waypoints become points.
What changes
Features without a geometry are left out. Lists and nested values become JSON text.
The shapes are written in 2D, so only the ele column of points keeps heights. Columns that no feature fills are left out of the file.
Layers and columns
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.
LOC and FGB.What each format is.
The formats
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
FlatGeobuf
FlatGeobuf, a compact binary format for map features that streams over the web.
- Extensions
- .fgb
- MIME type
- application
/flatgeobuf - Kind
- Text and data
In your code.The same LOC to FGB conversion through the API, for your app or your agent.
$ cv convert report.loc report.fgb$ cv convert report.loc report.fgbQuestions.What people ask about LOC to FGB.
Only for points. The shapes are written in 2D, so the ele column of points is the one place heights are kept.
No. Features without a geometry are left out of the FGB file.
It names the GPX layer a feature comes from: waypoints, routes, tracks, route_points or track_points.
They become JSON text in the output.