Metadata-Version: 2.4
Name: c2c_gpx
Version: 0.0.3
Summary: tool for exporting camptocamp searches into gpx files
Project-URL: Homepage, https://github.com/UlysseV/c2c_gpx
Project-URL: Repository, https://github.com/UlysseV/c2c_gpx.git
Project-URL: Issues, https://github.com/UlysseV/c2c_gpx/issues
License-Expression: MIT
License-File: LICENSE
Requires-Python: >=3.10
Requires-Dist: attrs==25.4.0
Requires-Dist: cattrs==26.1.0
Requires-Dist: certifi==2026.1.4
Requires-Dist: charset-normalizer==3.4.4
Requires-Dist: gpxpy==1.6.2
Requires-Dist: idna==3.11
Requires-Dist: markdown==3.10.2
Requires-Dist: platformdirs==4.9.2
Requires-Dist: pyproj==3.7.2
Requires-Dist: requests-cache==1.3.0
Requires-Dist: requests==2.32.5
Requires-Dist: tqdm==4.67.3
Requires-Dist: typing-extensions==4.15.0
Requires-Dist: url-normalize==2.2.1
Requires-Dist: urllib3==2.6.3
Description-Content-Type: text/markdown

# c2c_gpx

Export camptocamp search data to a gpx file intended for osmand or oruxmap.

## Install

```shell
python -m pip install c2c_gpx
```

This will add a new command `c2c_gpx` to your PATH.
Use `c2c_gpx -h` for help.


## How-To

Go to camptocamp.org and search for your document/activity/area of interest, add any filter you want.
When satisfied, use the url as a parameter to `c2c_gpx`:
```bash
c2c_gpx https://www.camptocamp.org/routes?bbox=1234,5678,9101,11213&act=rock_climbing -o my_routes.gpx
```

The resulting file can be opened in any map app.

## External ressources
- https://gpx.studio/app to see your gpx file online
- https://osmand.net/docs/technical/osmand-file-formats/osmand-gpx/
- https://www.camptocamp.org/articles/838875/en/api-c2c-v6
- https://github.com/c2corg/v6_api/wiki
