Web app to reduce the size of GeoJSON files.
This tool reduces GeoJSON file sizes through two main techniques:
Coordinates in GeoJSON files often have excessive decimal places (e.g., 1.123456789). For most web mapping applications, 6 decimal places (~0.1 meters accuracy) is more than sufficient. This tool truncates coordinates to your specified precision, significantly reducing file size.
GeoJSON features often contain many properties that aren't needed for display. You can select only the properties you need, removing unnecessary data.
- Install dependencies:
pnpm install - Run dev server:
pnpm dev - Run tests:
pnpm test - Run checks:
pnpm check && pnpm lint
To create a production version:
pnpm build# Run tests once
pnpm test
# Watch mode
pnpm test:watch