Skip to content

Add is_enu parameter and coordinate conversion functions to geojson2svg#8

Merged
district10 merged 3 commits intomasterfrom
tzx/260131-1
Jan 31, 2026
Merged

Add is_enu parameter and coordinate conversion functions to geojson2svg#8
district10 merged 3 commits intomasterfrom
tzx/260131-1

Conversation

@district10
Copy link
Member

Add is_enu parameter and coordinate conversion functions to geojson2svg

  • Add is_enu parameter to geojson2svg() to skip lla2enu conversion
    when input coordinates are already in ENU format
  • Add geojson_to_enu() function to convert WGS84 to ENU coordinates
  • Add geojson_to_wgs84() function to convert ENU back to WGS84
  • Update geojson2svg() to accept both file paths and FeatureCollection objects
  • Add GeoJSONInput type alias for Union[str, geojson.FeatureCollection]

zhixiong-tang and others added 3 commits January 31, 2026 09:49
- Add `is_enu` parameter to `geojson2svg()` to skip lla2enu conversion
  when input coordinates are already in ENU format
- Add `geojson_to_enu()` function to convert WGS84 to ENU coordinates
- Add `geojson_to_wgs84()` function to convert ENU back to WGS84
- Update `geojson2svg()` to accept both file paths and FeatureCollection objects
- Add GeoJSONInput type alias for Union[str, geojson.FeatureCollection]

Co-Authored-By: Claude (claude-opus-4.5) <noreply@anthropic.com>
@district10 district10 merged commit 575a52d into master Jan 31, 2026
13 checks passed
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.

2 participants