You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <spanstyle="white-space: nowrap;">`-c`</span>, <spanstyle="white-space: nowrap;">`--coordinates`</span> `<latitude>,<longitude>`| coordinates of any location within the tile |
@@ -223,6 +227,27 @@ Second, the OSM API only returns data that falls within the requested bounding b
223
227
224
228
You can skip the download entirely by passing your own OSM or Overpass JSON file with the `--input` option. The Overpass step can be disabled with the `--no-overpass` flag. When disabled, Map Machine will attempt to reconstruct water polygons from the partial data by completing boundaries along the bounding box edges.
225
229
230
+
### GPX track overlay
231
+
232
+
The `render` command can draw GPX tracks on top of the map. When a GPX file is provided with `--gpx`, Map Machine parses the track, computes a bounding box around it (with a small padding), downloads the corresponding OSM data, and renders the track as a colored line on top of the map.
233
+
234
+
```shell
235
+
map-machine render --gpx track.gpx
236
+
```
237
+
238
+
You can also combine `--gpx` with an explicit bounding box or other render options:
Command `tile` is used to generate PNG tiles for [slippy maps](https://wiki.openstreetmap.org/wiki/Slippy_Map). To use them, run [Map Machine tile server](#tile-server).
0 commit comments