GPX File Tester
This tool allows you to test and verify GPX files in the Brighton Hash system. It checks that GPX files are properly formatted, displayable on maps, and have correct track names.
What This Tool Tests:
- File Existence: Verifies GPX file exists on the server
- File Parsing: Checks GPX XML is valid and can be read
- Map Display: Checks track can be rendered on a Leaflet map
- Track Name: Checks track name is in the format “#### pub, town”
- Coordinates: Checks starting point is within 250 metres of the pub
Updating Track Names:
Two ways to update track names:
- Re-upload Files: The track name will update on load (works regardless of the
GPX_ALLOW_WRITEsetting). - Enable Auto-Update: Set
define('GPX_ALLOW_WRITE', true);infunctions.phpand rescan to automatically update any track names in GPX files based on the database. It is currently set to false.
You must be logged in to use the GPX tester.