GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ferys2195/gpx-tool: GPX Tool — A web-based utility for viewing GPX files, managing waypoints, and measuring land area. Supports interactive marker placement and UTM coordinate input (like MapSource, but on the web).

BranchesTags
Open more actions menu

Latest commit

 

History

92 Commits
92 Commits

Folders and files

NameName
Last commit message
Last commit date
.cursor/rules
.cursor/rules
 
 
public
public
 
 
screenshots
screenshots
 
 
src
src
 
 
.gitignore
.gitignore
 
 
.prettierrc
.prettierrc
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
components.json
components.json
 
 
eslint.config.js
eslint.config.js
 
 
index.html
index.html
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.app.json
tsconfig.app.json
 
 
tsconfig.json
tsconfig.json
 
 
tsconfig.node.json
tsconfig.node.json
 
 
vite.config.ts
vite.config.ts
 
 

Repository files navigation

GPX Tool

A web-based GIS utility for viewing GPX files, managing waypoints, calculating polygon land area, and converting UTM coordinates — inspired by MapSource, built for the modern web.

License: MIT React TypeScript Vite Tailwind CSS Leaflet


🗺️ Preview

GPX Tool Screenshot


✨ Key Features

  • 📍 GPX File Support — Load and visualize GPX tracks, routes, and waypoints on an interactive map.
  • 🌐 UTM & Lat/Lng Coordinate Support — Input, display, and convert coordinates in UTM (Universal Transverse Mercator) and Latitude/Longitude formats.
  • 🖨️ Cartographic PDF Export (UTM WGS 84 Layout) — Export Route & Track maps into print-ready PDF documents featuring:
    • Outer frame with Easting ($X$) and Northing ($Y$) UTM grid labels on all 4 margin borders (e.g. 49 M 708450).
    • Unified reference projection to prevent spatial distortion across multi-zone routes.
    • Multi-basemap support (Global Map, Esri Satellite Imagery, and OpenStreetMap).
    • Essential cartographic elements: Scale Bar, True/Magnetic North Arrow declination indicator, and footer branding.
    • Automatic Page 2+ Coordinate List Table listing point indices, Lat/Lng, UTM Easting/Northing, segment distances, and cumulative totals.
  • 📌 Waypoint Management — Interactively add, view, edit, and organize waypoints via map clicks or structured sidebars.
  • 📐 Polygon & Area Measurement — Draw polygons and accurately calculate surface area and perimeter using @turf/turf.
  • ✍️ Interactive Geoman Tools — Full vector drawing and editing toolbar (shapes, polylines, markers, and edits) integrated directly onto Leaflet maps.
  • 🗺️ Layer Switcher & Custom Controls — Switch map tiles, track live mouse coordinates, and control map fly-to targets easily.
  • 📄 GPX Export Options — Export individual routes, tracks, waypoints, or full map sessions to standardized .gpx files.

🛠️ Tech Stack

Technology Purpose
React 19 Component-based UI framework
TypeScript Type-safe development environment
Vite Next-generation frontend build tool
Leaflet & React-Leaflet Interactive mapping engine and React wrappers
Leaflet Geoman Vector drawing, editing, and measurement toolbar
jsPDF & html2canvas High-resolution PDF map layout & multi-page document generator
Turf.js (@turf/turf) Advanced geospatial engine for area & distance calculations
Proj4 (proj4) UTM coordinate system transformations and conversions
Zustand Lightweight, high-performance state management
Tailwind CSS v4 Utility-first CSS styling system
Radix UI & Lucide React Accessible UI primitives and modern iconography

📦 Getting Started

Prerequisites

Ensure you have Node.js (v18+ recommended) and npm installed.

Installation

  1. Clone the repository:

    git clone https://github.com/ferys2195/gpx-tool.git
    cd gpx-tool
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm run dev
  4. Build for production:

    npm run build
  5. Preview production build:

    npm run preview

📝 Note

The project architecture is continuously evolving with modular feature organization (waypoint, measure, drawing, export, map features).


📄 License

This project is licensed under the MIT License.

About

GPX Tool — A web-based utility for viewing GPX files, managing waypoints, and measuring land area. Supports interactive marker placement and UTM coordinate input (like MapSource, but on the web).

gpx-tool.mazafathi.com

Topics

leafletjsreactreact-leafletutm-source

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.