PackageTrack
Sign in Get early access

geojson_vi

An Open-Source Dart and Flutter Library for Efficiently Handling GeoJSON Data in Compliance with RFC 7946

2.2.5 18K downloads/mo #2295 most downloaded on pub.dev chuyentt/geojson_vi

What this package is like to depend on

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

0 releases in the last 12 months

see the full history below

Release timeline

59 releases · May 2020 to Jun 2024
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 59
  1. 2.2.5 27 Jun 2024
    Release notes

    Added

    • Support for null geometry values in GeoJSONFeature and GeoJSONFeatureCollection according to the GeoJSON spec.

    Fixed

    • Issue with GeoJSONFeature.fromMap(...) and GeoJSONFeatureCollection.fromMap(...) not allowing null geometry values.
    • Updated findNearestFeature to handle features with null geometry.
    • Updated bbox calculation to handle null geometry.
    Open source →
  2. 2.2.4 27 Apr 2024
    Release notes

    Added

    • None

    Changed

    • Enhanced the _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.

    Deprecated

    • None

    Removed

    • None

    Fixed

    • None

    Security

    • None
    Open source →
  3. 2.2.3 27 Mar 2024
    Release notes

    Added

    • Added isPointInside method in GeoJSONPolygon to check if a point is inside a given polygon.
    • Added isPointInsideComplex in GeoJSONPolygon to determine if a point lies within a complex polygon while considering holes.
    • Added optimalPointInside method to GeoJSONPolygon for calculating the optimal point within a polygon, enhancing label placement in geospatial analyses.
    Open source →
  4. 2.2.2 15 Mar 2024
    Release notes
    • Resolved RangeError in equality comparison for GeoJSONPolygon when comparing polygons with different point counts (Issue #23).
    • Improved equality comparison for GeoJSONMultiPolygon and GeoJSONMultiLineString to handle nested structures more effectively, addressing the concerns raised in Issue #23
    Open source →
  5. 2.2.1 15 Nov 2023
    Release notes
    • Fix centroid calculation to address algebraic sign issues for clockwise and counterclockwise polygons (Issue #22).
    • Update part-of directive to use the URI instead of the library name.
    Open source →
  6. 2.2.0 26 Jun 2023
    Release notes
    • Updated the equality operator (==) and hashCode methods for the objects
    • Revised the implementation of the toMap() method to ensure correct behavior
    • Added comprehensive unit tests to verify the functionality of the objects
    • Add findNearestFeature function to GeoJSONFeatureCollection
    • Rename distance calculation function to calculateHaversineDistance and move to geojson_utils.dart
    • Add utils/geojson_utils.dart
    • Updated unit tests for GeoJSONLineString and GeoJSONPolygon.
    • Added perimeter function to GeoJSONPolygon.
    • Updated Earth's radius in distance calculation.
    Open source →
  7. 2.1.0 03 Jun 2023
    Release notes

    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.

    Key Highlights of the v2.1.0 Release:

    Improved find properties functionality

    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.

    Codebase Refactor for Improved Maintainability

    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.

    Comprehensive Documentation & Unit Tests

    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.

    Example Usage

    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!

    Open source →
    Release notes
    • Add example usage of findProperties in GeoJSONFeatureCollection
    • Add feature search in findProperties with containment
    • Refactor imports and apply 'part of' directive
    Open source →
  8. 2.0.8 29 May 2023
    Release notes
    • Add dartdoc comments to source code
    Open source →
  9. 2.0.7 07 Mar 2022
    Release notes
    • Fix Unhandled Exception: type 'int' is not a subtype of type 'String?'
    Open source →
  10. 2.0.6 24 Dec 2021
    Release notes
    • Fix GeometryCollection.bbox crashes when geometries is empty list #15
    Open source →
  11. 2.0.5 24 Dec 2021
    Release notes
    • Fix casting null value of "properties" to map #18
    Open source →
  12. 2.0.4 08 Nov 2021
    Release notes
    • Fix empty map casting
    Open source →
  13. 2.0.3 08 Jun 2021
    Release notes
    • Fixes "The coordinates MUST be one or more elements" in GeoJSONGeometryCollection #16
    Open source →
  14. 2.0.2 16 Mar 2021
    Release notes
    • fixes issue 13 - multipolygon assert
    • adds indent parameter toJSON
    Open source →
  15. 2.0.2+1 26 Mar 2021
    Release notes
    • Updated API documentation
    Open source →
  16. 2.0.1 12 Mar 2021
    Release notes
    • Removed: load, save methods
    • Fixed: formatting issues
    Open source →
  17. 2.0.1+1 12 Mar 2021
    Release notes
    • Fixed: formatting issues
    • Changed: README
    Open source →
  18. 2.0.0 12 Mar 2021
    Release notes
    • Internal refactor
    • Migrate to null-safety
    Open source →
  19. 1.6.1 09 Mar 2021
    Release notes
    • Fixed bbox of multipolygons
    • Adds unit tests to:
      • points
      • polygons
      • multipolygons
    Open source →
  20. 1.6.0 08 Mar 2021
    Release notes
    • Changed toMap to toMap()
    Open source →
  21. 1.5.0 12 Nov 2020
    Release notes
    • Added toString() to save GeoJSON objects as string
    Open source →
  22. 1.4.0 10 Nov 2020
    Release notes
    • GeoJSON from GeoJSON String Objects is supported: FeatureCollection, Feature and all the Geometries like Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon and GeometryCollection string
    Open source →
  23. 1.3.3 05 Nov 2020
    Release notes
    • Create GeoJSON from GeoJSON String Objects, clear cache
    Open source →
  24. 1.3.3+1 08 Nov 2020
    Release notes
    • Formatting issues
    Open source →
  25. 1.3.2 13 Oct 2020
    Release notes
    • Added distance getter for LineString
    Open source →
  26. 1.3.1 20 Aug 2020
    Release notes
    • Fixed bbox reading
    Open source →
  27. 1.3.1+1 20 Aug 2020
    Release notes
    • Removed debugging info
    Open source →
  28. 1.3.1+2 20 Aug 2020
    Release notes
    • Removed debugging info
    Open source →
  29. 1.3.1+3 09 Sep 2020
    Release notes
    • Make properties member public
    Open source →
  30. 1.3.0 20 Aug 2020
    Release notes
    • Added bbox properties and fixed minor bugs
    Open source →
  31. 1.2.4 19 Aug 2020
    Release notes
    • Handles errors
    Open source →
  32. 1.2.3 15 Aug 2020
    Release notes
    • Export FeatureCollection
    Open source →
  33. 1.2.3+1 18 Aug 2020
    Release notes
    • Make the id property of the feature writable
    Open source →
  34. 1.2.3+2 18 Aug 2020
    Release notes
    • Make the title property of the feature writable
    Open source →
  35. 1.2.3+3 18 Aug 2020
    Release notes
    • Removed some sample data files
    Open source →
  36. 1.2.3+4 19 Aug 2020

    Nothing published for this version

  37. 1.2.2 13 Jun 2020
    Release notes
    • Compatible with runtime flutter-web of web
    Open source →
  38. 1.2.1 08 Jun 2020
    Release notes
    • Compatiple with Flutter
    Open source →
  39. 1.2.1+1 09 Jun 2020
    Release notes
    • Update the document
    Open source →
  40. 1.2.0 04 Jun 2020
    Release notes
    • Refactoring the code, create instance from a cache if available
    Open source →
  41. 1.2.0+1 04 Jun 2020
    Release notes
    • Format code
    Open source →
  42. 1.2.0+2 08 Jun 2020
    Release notes
    • Compatibility issues
    Open source →
  43. 1.2.0+3 08 Jun 2020
    Release notes
    • Compatibility issues
    Open source →
  44. 1.1.0 03 Jun 2020
    Release notes
    • Added calculate area example into the readme
    Open source →
  45. 1.1.0+1 03 Jun 2020
    Release notes
    • Update the package export
    Open source →
  46. 1.1.0+2 03 Jun 2020
    Release notes
    • Update the document
    Open source →
  47. 1.1.0+3 03 Jun 2020
    Release notes
    • Update the document
    Open source →
  48. 1.0.6 25 May 2020
    Release notes
    • Fix encode issues
    Open source →
  49. 1.0.6+1 26 May 2020
    Release notes
    • Update GeoJSON UML model
    Open source →
  50. 1.0.6+2 03 Jun 2020
    Release notes
    • Update the document
    Open source →
  51. 1.0.5 24 May 2020
    Release notes
    • Update the package description
    Open source →
  52. 1.0.5+2 25 May 2020
    Release notes
    • Update the package description
    Open source →
  53. 1.0.5+3 25 May 2020
    Release notes
    • Update the package description
    Open source →
  54. 1.0.5+4 25 May 2020
    Release notes
    • Fix formatting issues
    Open source →
  55. 1.0.4 24 May 2020

    Nothing published for this version

  56. 1.0.3 24 May 2020
    Release notes
    • Update the package description
    Open source →
  57. 1.0.2 24 May 2020
    Release notes
    • Update the package description
    Open source →
  58. 1.0.1 24 May 2020
    Release notes
    • Update the document
    Open source →
  59. 1.0.0 24 May 2020
    Release notes
    • Initial version, created by chuyentt
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive