NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #2714 most downloaded on pub.dev
An Open-Source Dart and Flutter Library for Efficiently Handling GeoJSON Data in Compliance with RFC 7946
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.2 years
Nearly every release is documented
notes for 57 of 59 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
59 releases · first in 2020
One column per quarter.
Support for null geometry values in GeoJSONFeature and GeoJSONFeatureCollection according to the GeoJSON spec.
findNearestFeature to handle features with null geometry.Enhanced the _removeBbox function to include null safety checks and an identity comparison to optimize performance and reliability. This improvement p
_removeBbox function to include null safety checks and an identity comparison to optimize performance and reliability. This improvement prevents unnecessary computations by checking if the input bounding boxes (bbox1 and bbox2) are identical or if bbox2 is null, thereby returning bbox1 directly under these conditions.Added isPointInside method in GeoJSONPolygon to check if a point is inside a given polygon.
isPointInside method in GeoJSONPolygon to check if a point is inside a given polygon.isPointInsideComplex in GeoJSONPolygon to determine if a point lies within a complex polygon while considering holes.optimalPointInside method to GeoJSONPolygon for calculating the optimal point within a polygon, enhancing label placement in geospatial analyses.Resolved RangeError in equality comparison for GeoJSONPolygon when comparing polygons with different point counts (Issue #23).
RangeError in equality comparison for GeoJSONPolygon when comparing polygons with different point counts (Issue #23).GeoJSONMultiPolygon and GeoJSONMultiLineString to handle nested structures more effectively, addressing the concerns raised in Issue #23Fix centroid calculation to address algebraic sign issues for clockwise and counterclockwise polygons (Issue #22).
Updated the equality operator (==) and hashCode methods for the objects
This new release of geojson_vi v2.1.0 continues to uphold our commitment to providing a robust, reliable, and efficient tool for developers working wi
This new release of geojson_vi v2.1.0 continues to uphold our commitment to providing a robust, reliable, and efficient tool for developers working with GeoJSON data in Dart and Flutter. While maintaining full compliance with the RFC 7946 standard, we have introduced key enhancements allowing more versatility in managing and manipulating your geospatial data.
We have significantly upgraded the findProperties method within the GeoJSONFeatureCollection class. Now, it comes with an optional contains parameter, enabling you to perform an approximate search on properties. This enhanced feature can cater to use cases where you need to find properties that contain certain keywords, enhancing the flexibility of data search within your GeoJSON collections.
In our commitment to constantly improving the codebase, we have refactored imports and applied the 'part of' directive for better code organization. This would facilitate easier understanding, modification, and code navigation, enhancing maintainability.
In addition to software enhancements, we believe in empowering our developers with rich resources. The update comes with extensive updates to README.md file and unit tests for various GeoJSON classes. This includes unit tests for GeoJSONPoint, GeoJSONMultiPoint, GeoJSONLineString, GeoJSONMultiLineString, GeoJSONPolygon, GeoJSONMultiPolygon, GeoJSONGeometryCollection, and GeoJSONFeature classes, equipping you with a comprehensive guide to maximize the utilization of geojson_vi.
To make the journey smoother for our users, we have added an example usage of the newly enhanced findProperties feature in the GeoJSONFeatureCollection class. This practical example will help you understand the functionality better and implement it seamlessly in your applications.
As always, we are eager to hear from our community. Please don't hesitate to give me feedback, suggestions, or any issues you encounter. Your active participation helps us to keep refining and enhancing geojson_vi.
Enjoy coding with geojson_vi v2.1.0!
Happy Geospatial Coding!
Add dartdoc comments to source code
Fix Unhandled Exception: type 'int' is not a subtype of type 'String?'
Fix GeometryCollection.bbox crashes when geometries is empty list #15
Fix casting null value of "properties" to map #18
* Fix empty map casting
Fixes "The coordinates MUST be one or more elements" in GeoJSONGeometryCollection #16
fixes issue 13 - multipolygon assert
* Updated API documentation
* Removed: load, save methods * Fixed: formatting issues
* Fixed: formatting issues * Changed: README
* Internal refactor * Migrate to null-safety
* Fixed bbox of multipolygons * Adds unit tests to: * points * polygons * multipolygons
* Changed toMap to toMap()
Added toString() to save GeoJSON objects as string
GeoJSON from GeoJSON String Objects is supported: FeatureCollection, Feature and all the Geometries like Point, MultiPoint, LineString, MultiLineStrin
Create GeoJSON from GeoJSON String Objects, clear cache
* Formatting issues
Added distance getter for LineString
* Removed debugging info
* Fixed bbox reading
* Make properties member public
* Removed debugging info
Added bbox properties and fixed minor bugs
* Handles errors
* Export FeatureCollection
Make the id property of the feature writable
Make the title property of the feature writable
* Removed some sample data files
Nothing published for this version
Compatible with runtime flutter-web of web
* Compatiple with Flutter
* Update the document
Refactoring the code, create instance from a cache if available
* Format code
* Compatibility issues
* Compatibility issues
Added calculate area example into the readme
* Update the package export
* Update the document
* Update the document
* Fix encode issues
* Update GeoJSON UML model
* Update the document
* Update the package description
* Update the package description
* Update the package description
* Fix formatting issues
Nothing published for this version
* Update the package description
* Update the package description
* Update the document
Initial version, created by chuyentt
Your coding agent can read these notes before it upgrades. Set up the MCP server →