Skip to content

Conversation

HTRamsey
Copy link
Collaborator

@HTRamsey HTRamsey commented Aug 8, 2025

Just the interface, not yet implemented into plans. Would be replaced by GDAL if I had that working

@HTRamsey HTRamsey requested a review from Copilot August 8, 2025 11:45
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR restructures shape file handling by consolidating functionality from the Shape module into the Geo module and adds GeoJSON support. The changes prepare the codebase for GeoJSON handling while maintaining existing KML and SHP file support.

  • Moves shape file handling classes from src/Utilities/Shape/ to src/Utilities/Geo/
  • Adds new GeoJSON helper classes for reading and writing GeoJSON format files
  • Updates JsonHelper to support GeoJSON coordinate format alongside existing coordinate handling

Reviewed Changes

Copilot reviewed 18 out of 30 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/Utilities/Geo/GeoJsonHelper.h New header defining GeoJSON file handling interface
src/Utilities/Geo/GeoJsonHelper.cc Implementation of GeoJSON parsing and coordinate conversion
src/Utilities/JsonHelper.h Updated coordinate functions to support GeoJSON format
src/Utilities/JsonHelper.cc Refactored coordinate handling with unified implementation
src/Utilities/Geo/CMakeLists.txt Added GeoJSON sources and moved shape file sources from Shape module
src/Utilities/Geo/ShapeFileHelper.* Moved from Shape module with logging category updates
src/Utilities/Geo/SHPFileHelper.* Moved from Shape module with parameter name consistency
src/Utilities/Geo/KMLHelper.* Moved from Shape module with parameter name consistency
src/Utilities/Geo/KMLDomDocument.* Moved from Shape module with include reorganization
test/Utilities/Geo/CMakeLists.txt Added shape test files moved from Shape module

@HTRamsey HTRamsey merged commit f1b8f0f into mavlink:master Aug 27, 2025
13 checks passed
@HTRamsey HTRamsey deleted the dev-geojson branch August 27, 2025 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant