geocore 0.10.1 geocore: ^0.10.1 copied to clipboard
Geospatial data structures (points, geometry, features, meta) and parsers (GeoJSON, WKT) for Dart.
0.10.1 #
π Maintenance:
- The SDK constraint updated from '>=2.17.0 <3.0.0' to '>=2.17.0 <4.0.0'.
Note: The
geocore
package uses version 0.3.x of thegeobase
package (not compatible withgeobase
0.4.x and later).
0.10.0 #
Note: After the
geocore
version 0.10.0 (published at 2022-08-21), no new features are currently planned on this package.
β οΈ Breaking changes:
- Content interfaces, content encoders and text formats redesigned
- Type changes on projections and adapters #151
- Move "basic transforms" from geobase to geocore #152
𧩠Features:
π Maintenance:
0.9.0 #
0.8.1 #
Small fix with latest dependency to geobase
version 0.1.1.
0.8.0 #
Major and breaking changes compared to version 0.7.2.
Some classes generalized and moved to the geobase package, that is depended on.
After changes key features of this geocore package:
- π geospatial data structures (geometry, features and metadata)
- π geographic coordinates (longitude-latitude)
- πΊοΈ projected coordinates (cartesian XYZ)
- π· geometry primitives (bounds or bbox, point, line string, polygon)
- 𧩠multi geometries (multi point, multi line string, multi polygon, geometry collections)
- β feature objects (with id, properties and geometry) and feature collections
- π GeoJSON data parser
- πͺ§ WKT (Well-known text representation of geometry) data parser
β οΈ Breaking changes:
- Refactor Feature class inheritance and types of id and properties members #39
- Define more specific return type on newWith and newFrom methods of Point sub classes #41
- Populate results by default when intersecting with bounds on point and bounded series #42
- Define consistent mini library exports with base classes included #31
- Move temporal classes to "base" mini-library #69
- Generalize and move project and transform from geocore to geobase #95
- Intersects bounds generalized on geobase #97
𧩠Features:
- Add copyWith method to Point classes #43
- Initial support and abstractions for Coordinate transformations on core classes and reading datasource #15
- Test point equality in 2D or 3D by tolerance in Point class #47
- Check if point series is closed by tolerance #48
- Add CartesianPoint to the Point-class hierarchy #54
- Coordinate conversion between WGS84 (lon-lat) and Web Mercator projection (meters)
- Add simpler constructors on geometry classes expecting bounded or point series #59
- Add projection support provided by the proj4dart package #60
- Common base class or interface for temporal Instant and Interval classes #70
- Add support for empty geometries other than Point and abstract Geometry #35
π Refactoring:
- Refactor coordinate value members of immutable Point classes #44
- Elev and m coordinate values as default in some GeoPoint classes #45
- Rename point factories of Point classes #49
- Separate some common features of geocore to separate common package #86
- Remove "empty point" concept #85
- Simplify Feature and FeatureCollection classes #88
- Simplify temporal classes (Instant, Interval) and add equality and hashCode impls #93
- Equality and hashcodes on Point and other Geometry classes #12
π Maintenance:
π Documentation:
0.7.2 #
0.7.1 #
0.7.0 #
- BETA version 0.7.0 with minor breaking changes
- Use
Map<String, Object?>
instead ofMap<String, dynamic>
as properties- Factory:
Feature.view()
- Function typedef:
CreateFeature
- Factory:
- updated dependency 0.7.1 on attributes
- required changes visible in Feature class and GeoJSON factories
- Official Dart lint rules applied with recommend set #32
0.6.2 #
- BETA version 0.6.2 with documentation updates
- Documentation updates with explaining features, geometries and other classes #25
- Factory and other fixes on Bounds, GeometryCollection, Instant etc. #26
0.6.1 #
- BETA version 0.6.1 with partial support for Well-known text representation of geometry or WKT
- Also easier to use factories for points, line strings, polygons, etc.
- Make geometries from arrays of num values.
- Parse geometries from text with default implementation based on WKT.
- Other text encodings can be implemented using custom parsers.
- Initial WKT support
- Easier constructor to make point and other geometry instances.
- Some other minor fixes.
0.6.0 #
- BETA version 0.6.0 with minor breaking changes
- Lint rules and analysis options updated
- Also
implicit-casts
andimplicit-dynamic
to false requiring code changes - many other smaller changes and optimizations partially due issues #8
0.5.0 #
- BETA version 0.5.0 with stable null-safety requiring the stable Dart 2.12
0.5.0-nullsafety.0 #
- BETA version 0.5.0 with (relative small) breaking changes compared to 0.4.1
- Enhancing geospatial data factories, for example range filter
- Bounds and Point with new methods: writeValues and valuesAsString
0.4.1-nullsafety.0 #
- Alpha version 0.4.1 with minor feature changes compared to 0.4.0
- may require migrations
- Point interface has now x, y, z and m getters of type num, not double
- However GeoPoint still has lon, lat, elev getters as double as previously
- GeoJSON parser has breaking changes on point, bounds and feature factories
- Coordinate value getter properties as num on points #2
- Point and geometry factory interfaces and implementations #3
- Point factory constructor consistency #4
- Adapt factory changes to GeoJSON parser #5
- GeoJSON parser to allow extended Feature data #6
- at least partial implementation, forward json object to factory function too
- BoundsBuilder as utility class #7
0.4.0-nullsafety.0 #
- Alpha version 0.4.0 with breaking changes compared to 0.3.0
- New dependency:
attributes
(^0.4.0-nullsafety.0) for common data structures - Non-geospatial data structures moved to
attributes
- Removed dependency: fixnum (1.0.0-nullsafety.0)
- Restructured lib/src folder:
- base
- crs
- feature
- geo
- meta
- extent
- parse
- factory
- geojson
- utils
- geography
- Restructured mini-libraries provided by the package:
- 'package:geocore/base.dart'
- 'package:geocore/crs.dart'
- 'package:geocore/feature.dart'
- 'package:geocore/geo.dart'
- 'package:geocore/meta_extent.dart'
- 'package:geocore/parse_factory.dart'
- 'package:geocore/parse_geojson.dart'
- Still the whole library is available by:
- 'package:geocore/geocore.dart'
- Refactoring code in many places too
0.3.0-nullsafety.0 #
- Alpha version 0.3.0 with breaking changes compared to 0.2.0
- New dependency: fixnum (^1.0.0-nullsafety.0) for Int64 (Dart VM / JavaScript)
- New constructors on Point and GeoPoint for creating points from coordinates
- GeoPoint sub classes to support representing also M-coordinate
- New enumerated type: enum CRSType { geographic, projected, local }
- Empty geometry to map null geometries (ie. from GeoJSON) to such instance
- Multi geometry: MultiPoint, MultiLineString, MultiPoint, GeometryCollection
- Feature class changes: FeatureId, Feature, FeatureSeries, FeatureCollection
- Factory abstraction for creating geometries, features and feature collections
- Factory implementation for GeoJSON, initial version, not full coverage
- FeatureCollection, Feature
- Point, LineString, Polygon
- MultiPoint, MultiLineString, MultiPoint
- GeometryCollection
- Refactoring also some other constructors for consistent naming conventions
- Some tests added also to test parsing GeoJSON data
0.2.0-nullsafety.0 #
- Alpha version 0.2.0 with breaking changes compared to 0.1.0.
- More geometries: LineString (any line string or linear ring), Polygon
- Custom Iterable interface and sub implementation: Series, SeriesView
- Geometry series: GeometrySeries, PointSeries, LineStringSeries, PolygonSeries
- Features and collections: Feature, FeatureSeries
0.1.0-nullsafety.2 #
- Small fixes on README.md
0.1.0-nullsafety.1 #
- Small fixes on links of pubspec.yaml
0.1.0-nullsafety.0 #
- Initial pre-release version, the API of the library is not stable
- Designed for null-safety (requires sdk: '>=2.12.0-0 <3.0.0')
- Uses as dependency: Equatable (^2.0.0-nullsafety.0)
- Cartesian points using doubles: Point2, Point2m, Point3, Point3m
- Cartesian points using integers: Point2i, Point3i
- Geographical points using doubles: GeoPoint2, GeoPoint3
- Geographical camera: GeoCamera
- Geographical bounds: GeoBounds
- Coordinate reference systems: CRS class with two predefined identifiers
- Temporal coordinates: Instant, Interval
- Geospatial extent: Extent
- Web links: Link