Skip to content

Commit 013c2d1

Browse files
committed
pub(geobase): stable release 1.5.0
1 parent 2fe3bf8 commit 013c2d1

File tree

6 files changed

+44
-29
lines changed

6 files changed

+44
-29
lines changed

README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,12 @@ Read the docs 👉 [geospatial.navibyte.dev](https://geospatial.navibyte.dev/)!
1515

1616
🗺️ [Roadmap 2025: The current state and candidate issues for the geobase package](https://github.com/navibyte/geospatial/issues/254).
1717

18+
✨ New (2025-03-11): The stable version 1.5.0 with [global grids](https://geospatial.navibyte.dev/v1/geobase/global-grids/), better WGS84 [projection](https://geospatial.navibyte.dev/v1/geobase/projections/) support and [unit conversions](https://geospatial.navibyte.dev/v1/geobase/unit-conversions/).
19+
1820
✨ New (2024-11-10): The stable release with [ellipsoidal geodesy functions](https://geospatial.navibyte.dev/v1/geobase/ellipsoidal-geodesy/) letting you calculate distances, bearings, destination positions and intermediate points along the Earth surface accurately.
1921

2022
✨ New (2024-07-26): The stable version 1.3.0 with centroid, polylabel, point-in-polygon and other cartesian 2D calculations enhanced - [read more](https://geospatial.navibyte.dev/v1/geobase/geometry-calculations/)!
2123

22-
✨ New (2024-05-26): The new documentation website ([geospatial.navibyte.dev](https://geospatial.navibyte.dev/)) for [geobase](https://geospatial.navibyte.dev/v1/geobase/)
23-
and [geodata](https://geospatial.navibyte.dev/v1/geodata/)
24-
package documentation published along with the stable version 1.2.0.
25-
26-
✨ New (2024-04-22): The stable version 1.1.0 adds support for Newline-delimited GeoJSON, EWKT and EWKB. See also the article [Decode and encode GeoJSON, WKT and WKB in Dart and Flutter apps](https://medium.com/@navibyte/decode-and-encode-geojson-wkt-and-wkb-in-dart-and-flutter-apps-ab2ef4ece2f1).
27-
28-
✨ New (2023-10-29): The stable version 1.0.0 is now ready. See also the article [Geospatial tools for Dart - version 1.0 published](https://medium.com/@navibyte/geospatial-tools-for-dart-version-1-0-published-0f9673e510b3) at Medium.
29-
3024
## :package: Packages
3125

3226
[Dart](https://dart.dev/) code packages published at
@@ -61,8 +55,10 @@ package documentation by chapters:
6155
* [🔵 Ellipsoidal geodesy](https://geospatial.navibyte.dev/v1/geobase/ellipsoidal-geodesy/)
6256
* [📐 Spherical geodesy](https://geospatial.navibyte.dev/v1/geobase/spherical-geodesy/)
6357
* [📅 Metadata](https://geospatial.navibyte.dev/v1/geobase/metadata/)
58+
* [🌐 Global grids](https://geospatial.navibyte.dev/v1/geobase/global-grids/)
6459
* [🗺️ Projections](https://geospatial.navibyte.dev/v1/geobase/projections/)
6560
* [🔢 Tiling schemes](https://geospatial.navibyte.dev/v1/geobase/tiling-schemes/)
61+
* [⚖️ Unit conversions](https://geospatial.navibyte.dev/v1/geobase/unit-conversions/)
6662

6763
The [geodata](https://geospatial.navibyte.dev/v1/geodata/)
6864
package documentation by chapters:
@@ -346,6 +342,12 @@ Code | Description
346342

347343
## :newspaper_roll: News
348344

345+
2025-03-11
346+
* ✨ The stable version 1.5.0 with [global grids](https://geospatial.navibyte.dev/v1/geobase/global-grids/), better WGS84 [projection](https://geospatial.navibyte.dev/v1/geobase/projections/) support and [unit conversions](https://geospatial.navibyte.dev/v1/geobase/unit-conversions/).
347+
* All docs: [geospatial.navibyte.dev](https://geospatial.navibyte.dev/).
348+
* Published packages at pub.dev:
349+
* [geobase version 1.5.0](https://pub.dev/packages/geobase/versions/1.5.0)
350+
349351
2024-11-10
350352
* ✨ The stable release with [ellipsoidal geodesy functions](https://geospatial.navibyte.dev/v1/geobase/ellipsoidal-geodesy/) letting you calculate distances, bearings, destination positions and intermediate points along the Earth surface accurately.
351353
* All docs: [geospatial.navibyte.dev](https://geospatial.navibyte.dev/).
@@ -465,6 +467,8 @@ SDKs:
465467
* [Flutter](https://flutter.dev/)
466468

467469
Latest on Dart SDKs
470+
* [Dart 3.7](https://medium.com/dartlang/announcing-dart-3-7-bf864a1b195c) with developer productivity enhancements.
471+
* [Dart 3.6](https://medium.com/dartlang/announcing-dart-3-6-778dd7a80983) with digit separators and new features in the pub ecosystem (pub download counts and pub workspaces)
468472
* [Dart 3.5](https://medium.com/dartlang/dart-3-5-6ca36259fa2f) with improvements in interoperability and an update on the Dart roadmap.
469473
* [Dart 3.4](https://medium.com/dartlang/dart-3-4-bd8d23b4462a) with WebAssembly (WASM) updates and the roadmap for Dart *macros*.
470474
* [Dart 3.3](https://medium.com/dartlang/dart-3-3-325bf2bf6c13) with extension types, evolving JavaScript-interoperability and experimental support for WebAssembly.
@@ -480,6 +484,8 @@ Latest on Dart SDKs
480484
* [Dart 2.12](https://medium.com/dartlang/announcing-dart-2-12-499a6e689c87) with sound null safety
481485

482486
Latest on Flutter SDKs
487+
* [Flutter 3.29](https://medium.com/flutter/whats-new-in-flutter-3-29-f90c380c2317) running on Dart 3.7 and with updates to Impeller, Cupertino and DevTools.
488+
* [Flutter 3.27](https://medium.com/flutter/whats-new-in-flutter-3-27-28341129570c) running on Dart 3.6 and with enhanced Impeller and improvements to Cupertino widgets.
483489
* [Flutter 3.24](https://medium.com/flutter/whats-new-in-flutter-3-24-6c040f87d1e4) running on Dart 3.5 and with Multi-View Embedding and preview on Flutter GPU.
484490
* [Flutter 3.22](https://medium.com/flutter/whats-new-in-flutter-3-22-fbde6c164fe3) running on Dart 3.4 and stable support for WebAssembly (WASM), Graphics rendering enhancements, and AI updates.
485491
* [Flutter 3.19](https://medium.com/flutter/whats-new-in-flutter-3-19-58b1aae242d2) running on Dart 3.3 and Gemini API integration, Impeller updates, and Windows Arm64 support.

dart/geobase/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
## 1.5.0
22

3-
NOTE: [geobase version 1.5.0](https://github.com/navibyte/geospatial/milestone/8) currently under development (1.5.0-dev.5).
3+
[geobase release 1.5.0](https://github.com/navibyte/geospatial/milestone/8)
4+
5+
✨ New (2025-03-11): The stable version 1.5.0 with [global grids](https://geospatial.navibyte.dev/v1/geobase/global-grids/), better WGS84 [projection](https://geospatial.navibyte.dev/v1/geobase/projections/) support and [unit conversions](https://geospatial.navibyte.dev/v1/geobase/unit-conversions/).
46

57
🧩 Features:
68
* [Port conversions between (historical) ellipsoidal datums to Dart #256](https://github.com/navibyte/geospatial/issues/256)

dart/geobase/README.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,6 @@ and [WKB](https://en.wikipedia.org/wiki/Well-known_text_representation_of_geomet
1010

1111
## Features
1212

13-
✨ New (2024-11-10): The stable version 1.4.0 with [ellipsoidal geodesy functions](https://geospatial.navibyte.dev/v1/geobase/ellipsoidal-geodesy/) letting you calculate distances, bearings, destination positions and intermediate points along the Earth surface accurately.
14-
15-
✨ New (2024-07-26): The stable version 1.3.0 with centroid, polylabel, point-in-polygon and other cartesian 2D calculations enhanced - [read more](https://geospatial.navibyte.dev/v1/geobase/geometry-calculations/)!
16-
17-
✨ New (2024-05-26): The new documentation website ([geospatial.navibyte.dev](https://geospatial.navibyte.dev/)) for the [geobase](https://geospatial.navibyte.dev/v1/geobase/)
18-
package documentation published along with the stable version 1.2.0.
19-
20-
✨ New (2024-04-22): Support for Newline-delimited GeoJSON, EWKT and EWKB added. Check out [the blog post](https://medium.com/@navibyte/decode-and-encode-geojson-wkt-and-wkb-in-dart-and-flutter-apps-ab2ef4ece2f1).
21-
22-
<a title="Ktrinko, CC0, via Wikimedia Commons" href="https://commons.wikimedia.org/wiki/File:Eckert4.jpg"><img alt="World map with Natural Earth data, Excert projection" src="https://raw.githubusercontent.com/navibyte/geospatial_docs/v2023-08-12/assets/doc/projections/eckert4/320px-Eckert4.jpg" align="right"></a>
23-
2413
Key features:
2514
* 🌐 geographic (longitude-latitude) and projected positions and bounding boxes
2615
* 🧩 simple geometries (point, line string, polygon, multi point, multi line string, multi polygon, geometry collection)
@@ -34,6 +23,21 @@ Key features:
3423
* 🔢 tiling schemes and tile matrix sets (web mercator, global geodetic)
3524
* ⚖️ unit conversions (angle, angular velocity, area, distance, speed and time)
3625

26+
## Latest changes
27+
28+
✨ New (2025-03-11): The stable version 1.5.0 with [global grids](https://geospatial.navibyte.dev/v1/geobase/global-grids/), better WGS84 [projection](https://geospatial.navibyte.dev/v1/geobase/projections/) support and [unit conversions](https://geospatial.navibyte.dev/v1/geobase/unit-conversions/).
29+
30+
✨ New (2024-11-10): The stable version 1.4.0 with [ellipsoidal geodesy functions](https://geospatial.navibyte.dev/v1/geobase/ellipsoidal-geodesy/) letting you calculate distances, bearings, destination positions and intermediate points along the Earth surface accurately.
31+
32+
✨ New (2024-07-26): The stable version 1.3.0 with centroid, polylabel, point-in-polygon and other cartesian 2D calculations enhanced - [read more](https://geospatial.navibyte.dev/v1/geobase/geometry-calculations/)!
33+
34+
✨ New (2024-05-26): The new documentation website ([geospatial.navibyte.dev](https://geospatial.navibyte.dev/)) for the [geobase](https://geospatial.navibyte.dev/v1/geobase/)
35+
package documentation published along with the stable version 1.2.0.
36+
37+
✨ New (2024-04-22): Support for Newline-delimited GeoJSON, EWKT and EWKB added. Check out [the blog post](https://medium.com/@navibyte/decode-and-encode-geojson-wkt-and-wkb-in-dart-and-flutter-apps-ab2ef4ece2f1).
38+
39+
<a title="Ktrinko, CC0, via Wikimedia Commons" href="https://commons.wikimedia.org/wiki/File:Eckert4.jpg"><img alt="World map with Natural Earth data, Excert projection" src="https://raw.githubusercontent.com/navibyte/geospatial_docs/v2023-08-12/assets/doc/projections/eckert4/320px-Eckert4.jpg" align="right"></a>
40+
3741
## Documentation
3842

3943
Comprehensive guidance on how to use this package and about
@@ -51,8 +55,10 @@ package documentation by chapters:
5155
* [🔵 Ellipsoidal geodesy](https://geospatial.navibyte.dev/v1/geobase/ellipsoidal-geodesy/)
5256
* [📐 Spherical geodesy](https://geospatial.navibyte.dev/v1/geobase/spherical-geodesy/)
5357
* [📅 Metadata](https://geospatial.navibyte.dev/v1/geobase/metadata/)
58+
* [🌐 Global grids](https://geospatial.navibyte.dev/v1/geobase/global-grids/)
5459
* [🗺️ Projections](https://geospatial.navibyte.dev/v1/geobase/projections/)
5560
* [🔢 Tiling schemes](https://geospatial.navibyte.dev/v1/geobase/tiling-schemes/)
61+
* [⚖️ Unit conversions](https://geospatial.navibyte.dev/v1/geobase/unit-conversions/)
5662

5763
See also overview topics about *Geospatial tools for Dart*:
5864

@@ -389,7 +395,7 @@ Add the dependency in your `pubspec.yaml`:
389395

390396
```yaml
391397
dependencies:
392-
geobase: ^1.5.0-dev.5
398+
geobase: ^1.5.0
393399
```
394400
395401
Import it:

dart/geobase/lib/src/vector/formats/wkb/wkb_decoder.dart

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020-2024 Navibyte (https://navibyte.com). All rights reserved.
1+
// Copyright (c) 2020-2025 Navibyte (https://navibyte.com). All rights reserved.
22
// Use of this source code is governed by a “BSD-3-Clause”-style license that is
33
// specified in the LICENSE file.
44
//
@@ -8,20 +8,21 @@ part of 'wkb_format.dart';
88

99
class _WkbGeometryDecoder implements ContentDecoder {
1010
final GeometryContent builder;
11-
final bool singlePrecision;
11+
//final bool singlePrecision;
1212

1313
_WkbGeometryDecoder(
14-
this.builder, {
14+
this.builder, //{
1515
// ignore: unused_element
16-
this.singlePrecision = false,
17-
});
16+
// this.singlePrecision = false,
17+
//}
18+
);
1819

1920
@override
2021
void decodeBytes(Uint8List source, {Map<String, dynamic>? options}) {
2122
_WkbGeometryBufferDecoder(
2223
builder,
2324
ByteReader.view(source),
24-
singlePrecision: singlePrecision,
25+
//singlePrecision: singlePrecision,
2526
).buildAll();
2627
}
2728

dart/geobase/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: geobase
22
description: Geospatial data, geometry, geodesy, projections, tiling schemes, and vector formats (GeoJSON, WKT, WKB).
3-
version: 1.5.0-dev.5
3+
version: 1.5.0
44
repository: https://github.com/navibyte/geospatial
55
homepage: https://geospatial.navibyte.dev/
66

dart/geodata/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ Add the dependency in your `pubspec.yaml`:
202202

203203
```yaml
204204
dependencies:
205-
geodata: ^1.4.0
205+
geodata: ^1.3.0
206206
```
207207
208208
Import it:

0 commit comments

Comments
 (0)