Convert GEOJSON to LOC
Turn GEOJSON files into LOC. A geocaching LOC file with one waypoint for each point, with its name and description.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop GEOJSON files on the dialor turn it to pick what to do
Waypoints for a geocaching LOC file.Each point in the GeoJSON becomes one waypoint with its name and description.
What you get
One LOC file, the Geocaching waypoint format. It holds one waypoint for each point in the GeoJSON file, and each waypoint carries the name and the description of its point.
What it leaves behind
Routes and tracks are dropped. Only points become waypoints, so lines and other paths in the GeoJSON do not appear in the LOC file.
A GeoJSON file with no points has nothing to turn into waypoints, so the conversion fails.
Going the other way
To turn waypoints back into map data, use LOC to GEOJSON. To combine several files first, see merge GEOJSON.
GEOJSON and LOC.What each format is.
The formats
GeoJSON
Points, lines and polygons as JSON, the web's map data format.
- Extensions
- .geojson
- MIME type
- application
/geo +json - Kind
- Text and data
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
In your code.The same GEOJSON to LOC conversion through the API, for your app or your agent.
$ cv convert report.geojson report.loc$ cv convert report.geojson report.locQuestions.What people ask about GEOJSON to LOC.
Each point becomes one waypoint in the LOC file. The waypoint has the name and the description of the point.
No. Routes and tracks are dropped. Only points are converted.
A file without waypoints fails. Check that the GeoJSON contains points.
One file. All the waypoints go into a single LOC file.