projection_cs 1.3.0
projection_cs: ^1.3.0 copied to clipboard
A Dart package for coordinate system transformations using the Proj4 library.
1.3.0 #
- EXPANDED PROJECTION SUPPORT: Added comprehensive Turkish coordinate system support
- Added EPSG projection codes for Turkish ED50 coordinate systems:
EPSG:2302- 3Der ED50 DOM30 (3-degree Transverse Mercator zone)EPSG:2319- 3Der ED50 DOM27 (3-degree Transverse Mercator zone)EPSG:2321- 3Der ED50 DOM33 (3-degree Transverse Mercator zone)EPSG:2322- 3Der ED50 DOM36 (3-degree Transverse Mercator zone)EPSG:2323- 3Der ED50 DOM39 (3-degree Transverse Mercator zone)EPSG:2324- 3Der ED50 DOM42 (3-degree Transverse Mercator zone)EPSG:2325- 3Der ED50 DOM45 (3-degree Transverse Mercator zone)
- Added EPSG UTM projection codes for Turkish ED50 systems:
EPSG:32635- 6Der ED50 DOM27 (UTM Zone 35)EPSG:32636- 6Der ED50 DOM33 (UTM Zone 36)EPSG:32637- 6Der ED50 DOM39 (UTM Zone 37)EPSG:32638- 6Der ED50 DOM45 (UTM Zone 38)
- Added additional SR-ORG projection codes for Turkish ITRF96 UTM systems:
SR-ORG:7869- 6Der ITRF DOM27 (UTM Zone 35)SR-ORG:7870- 6Der ITRF DOM33 (UTM Zone 36)SR-ORG:7871- 6Der ITRF DOM39 (UTM Zone 37)SR-ORG:7872- 6Der ITRF DOM45 (UTM Zone 38)
- Updated
ProjectionConverterto handle all new projection codes with proper coordinate order - Enhanced Turkish geodetic infrastructure support with accurate datum transformation parameters
- All new projections fully integrated into conversion methods and coordinate handling logic
- Added EPSG projection codes for Turkish ED50 coordinate systems:
1.2.1 #
- LOCALE INDEPENDENCE: Enhanced WKT generation with locale-independent formatting
- Modified
WktGeneratorto use locale-independentWKTWriterconfiguration - Disabled formatting and tab settings to ensure consistent output regardless of system locale
- Prevents decimal separator and number formatting issues across different regional settings
- Ensures reliable WKT output format in international environments
- Added
_createLocaleIndependentWriter()method for proper WKT writer initialization
- Modified
1.2.0 #
- CODE REORGANIZATION: Improved project structure and maintainability
- Reorganized
lib/src/directory with better separation of concerns - Created specialized folders for different functionalities:
projections/- Coordinate projection conversion logic (ProjectionConverter,ProjectionDefinitions)generators/- WKT geometry generation and spatial operations (WktGenerator)parsers/- WKT parsing functionality (UniversalWKTParser)model/- Data models and geometry objects (unchanged)utils/- Utility functions and exceptions (unchanged)
- Updated import paths throughout the codebase to reflect new structure
- All existing functionality remains unchanged - only internal organization improved
- Enhanced code maintainability and developer experience
- Verified all tests pass after reorganization
- Reorganized
1.1.0 #
- Added WKTParser
1.0.5 #
- OPTIMIZATION: Improved performance for same-projection transformations
- Added early return optimization when source and target projections are identical
- Applied to both
convert()andconvertBatch()methods - Eliminates unnecessary computation for same-projection scenarios
- FEATURE: Added WKT projection conversion functionality
- Added
convertWkt()method to transform WKT geometries between coordinate systems - Supports all standard WKT geometry types (Point, LineString, Polygon, Multi-geometries, GeometryCollection)
- Comprehensive error handling and validation for WKT parsing and transformation
- Enhanced spatial workflow by enabling direct WKT coordinate system transformations
- Added
1.0.3 #
- ENHANCEMENT: Enhanced WKT to Geometry conversion with projection support
- Updated
wktToGeometry()method to accept optionalsourceProjectionKeyparameter - Added automatic coordinate conversion from source projection to EPSG:4326 (WGS84)
- Added comprehensive projection conversion support for all geometry types (Point, LineString, Polygon, Multi-geometries, GeometryCollection)
- Enhanced spatial analysis workflow by providing direct geometry objects in standardized WGS84 coordinates
- Improved documentation with detailed examples for projection conversion use cases
- Added extensive test coverage for projection conversion scenarios
- Updated
1.0.2 #
- FEATURE: Added WKT to Geometry conversion methods
- Added
wktToGeometry()method to convert WKT strings to dart_jts Geometry objects - Added
geometryToWkt()method to convert Geometry objects back to WKT strings - Enhanced spatial analysis capabilities by providing direct access to Geometry objects
- Comprehensive error handling and documentation for new conversion methods
- Enables advanced spatial operations using dart_jts library directly
- Added
1.0.1 #
- BUGFIX: Fixed coordinate order issue in EPSG:3857 to EPSG:4326 conversions
- Improved coordinate input format handling for Web Mercator (EPSG:3857)
- Added comprehensive documentation for coordinate order expectations
- Enhanced
_createSourcePointmethod to handle projected coordinate systems correctly - Fixed polygon coordinate misalignment that caused Turkey boundaries to appear in wrong locations
- Added detailed coordinate order validation for EPSG:3857 inputs
1.0.0 #
- Initial Release - Complete coordinate projection and spatial analysis package for Dart/Flutter
- ProjectionConverter: PROJ4-based coordinate system transformations
- Single point conversion with
convert()method - Batch conversion with
convertBatch()method - Support for Turkish national coordinate systems (ITRF96, ED50)
- Support for global coordinate systems (WGS84, UTM, Web Mercator)
- Single point conversion with
- WktGenerator: Comprehensive spatial operations using dart_jts
- Geometry creation (Point, LineString, Polygon, Multi-geometries)
- Spatial analysis (buffer, convex hull, centroid, envelope)
- Overlay operations (union, intersection, difference, symmetric difference)
- Spatial predicates (intersects, contains, touches, within, covers, etc.)
- Measurements (area, length, distance calculations)
- Geometry validation and simplification
- WKT (Well-Known Text) output generation
- ProjectionDefinitions: Pre-configured projection definitions
- Turkish National Coordinate Systems (ITRF96 3-degree zones)
- European Datum 1950 (ED50) systems
- UTM 6-degree zone systems
- Spatial Reference Organization (SR-ORG) definitions
- Global coordinate systems (EPSG standards)
- Code Organization: MARK comments for improved navigation and maintainability
- Dependencies: dart_jts ^0.3.0+1, proj4dart ^2.1.0, latlong2: ^0.9.1
- Platform Support: Flutter and Dart applications