Skip to content

CLI refactoring: unified TileFormat dispatch, merge/import/export aliases, comprehensive multi-format tests - #42

Merged
trasch merged 1 commit into
mainfrom
cli_enhancement
Jul 6, 2026
Merged

trasch merged 1 commit into
mainfrom
cli_enhancement

Conversation

@trasch

@trasch trasch commented Jul 6, 2026

Copy link
Copy Markdown
Contributor
  • TileFormat enum with extension-based detection, async loadTile(), and format properties
  • All CLI commands (dump, info, query, merge, import, export) use TileFormat for input
  • MergeOptions shared ParsableArguments struct for merge/import/export
  • Import, Export are aliases for Merge (identical options and behavior)
  • Merge outputs to all supported formats (MVT, MLT, GeoJSON, GPX, Shapefile, GeoPackage)
  • Fixed MVTEncoder crash on Linux with NSNumber/NSDecimalNumber property values
  • Fixed GeoPackage import tile initialization for multi-table case
  • Comprehensive CLI test matrix: 59 tests covering every command x format x key parameter
  • MVTCLITests split into per-command test files + shared TestHelpers
  • Updated README.md and AGENTS.md documentation for multi-format support

…ases, comprehensive multi-format tests

- TileFormat enum with extension-based detection, async loadTile(), and format properties
- All CLI commands (dump, info, query, merge, import, export) use TileFormat for input
- MergeOptions shared ParsableArguments struct for merge/import/export
- Import, Export are aliases for Merge (identical options and behavior)
- Merge outputs to all supported formats (MVT, MLT, GeoJSON, GPX, Shapefile, GeoPackage)
- Fixed MVTEncoder crash on Linux with NSNumber/NSDecimalNumber property values
- Fixed GeoPackage import tile initialization for multi-table case
- Comprehensive CLI test matrix: 59 tests covering every command x format x key parameter
- MVTCLITests split into per-command test files + shared TestHelpers
- Fatal error isNotEmpty → !isEmpty for cross-module access
- Updated README.md and AGENTS.md documentation for multi-format support
@trasch trasch self-assigned this Jul 6, 2026
@trasch trasch added the enhancement New feature or request label Jul 6, 2026
@trasch
trasch merged commit cc5f067 into main Jul 6, 2026
1 check passed
@trasch
trasch deleted the cli_enhancement branch July 6, 2026 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant