You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✨ 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).
15
+
14
16
✨ 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.
15
17
16
18
## :package: Packages
@@ -120,6 +122,10 @@ Geospatial feature and feature collections can be instantiated easily too:
120
122
]);
121
123
```
122
124
125
+
### GeoJSON, WKT and WKB with geobase
126
+
127
+
More details in the article (2024-04-14) [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).
128
+
123
129
GeoJSON, WKT and WKB formats are supported as input and output:
124
130
125
131
```dart
@@ -142,6 +148,77 @@ GeoJSON, WKT and WKB formats are supported as input and output:
142
148
LineString.decode(bytes, format: WKB.geometry);
143
149
```
144
150
151
+
A sample showing more deeply how to handle WKB and EWKB binary data:
152
+
153
+
```dart
154
+
// to get a sample point, first parse a 3D point from WKT encoded string
155
+
final p = Point.parse('POINT Z(-0.0014 51.4778 45)', format: WKT.geometry);
156
+
157
+
// to encode a geometry as WKB/EWKB use toBytes() or toBytesHex() methods
158
+
159
+
// encode as standard WKB data (format: `WKB.geometry`), prints:
The [geodata](https://pub.dev/packages/geodata) package has the following
@@ -198,8 +275,15 @@ Code | Description
198
275
199
276
## :newspaper_roll: News
200
277
278
+
2024-04-22
279
+
* ✨ The [stable version 1.1.0](https://github.com/navibyte/geospatial/milestone/1) adds support for Newline-delimited GeoJSON, EWKT and EWKB.
280
+
* 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).
281
+
* Published packages at pub.dev:
282
+
*[geobase version 1.1.0](https://pub.dev/packages/geobase/versions/1.1.0)
283
+
*[geodata version 1.1.0](https://pub.dev/packages/geodata/versions/1.1.0)
284
+
201
285
2023-10-29
202
-
* ✨ 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
286
+
* ✨ 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
203
287
*[geobase version 1.0.0](https://github.com/navibyte/geospatial/issues/175)
204
288
*[geodata version 1.0.0](https://github.com/navibyte/geospatial/issues/187)
205
289
@@ -258,6 +342,9 @@ Some external links and other resources.
258
342
259
343
Geospatial:
260
344
*[GeoJSON](https://geojson.org/) based on [RFC 7946](https://tools.ietf.org/html/rfc7946)
345
+
*[Newline-delimited GeoJSON](https://stevage.github.io/ndgeojson/) with variants specified elsewhere:
*[Dart 3](https://medium.com/dartlang/announcing-dart-3-53f065a10635) with 100% sound null safety, new features (records, patterns, and class modifiers), and a peek into the future.
383
+
*[Dart 3.3](https://medium.com/dartlang/dart-3-3-325bf2bf6c13) with extension types, evolving JavaScript-interoperability and experimental support for WebAssembly.
384
+
*[Dart 3.2](https://medium.com/dartlang/dart-3-2-c8de8fe1b91f) with improved language & developer experience.
385
+
*[Dart 3](https://medium.com/dartlang/announcing-dart-3-53f065a10635) with 100% sound null safety, new features (records, patterns, and class modifiers), and a peek into the future.
297
386
*[Dart 3 alpha](https://medium.com/dartlang/dart-3-alpha-f1458fb9d232) with records, patterns, access controls, portability advancements and the new Dart 3 type system (100% sound null safety)
298
387
*[Dart 2.18](https://medium.com/dartlang/dart-2-18-f4b3101f146c) with Objective-C & Swift interop, and improved type inference
299
388
*[Dart 2.17](https://medium.com/dartlang/dart-2-17-b216bfc80c5d) with enum member support, parameter forwarding to super classes, flexibility for named parameters, and more
@@ -304,6 +393,9 @@ Latest on Dart SDKs
304
393
*[Dart 2.12](https://medium.com/dartlang/announcing-dart-2-12-499a6e689c87) with sound null safety
305
394
306
395
Latest on Flutter SDKs
396
+
*[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.
397
+
*[Flutter 3.16](https://medium.com/flutter/whats-new-in-flutter-3-16-dba6cb1015d1) running on Dart 3.2 and with Material 3 by default, Impeller preview for Android, etc.
398
+
*[Flutter 3.13](https://medium.com/flutter/whats-new-in-flutter-3-13-479d9b11df4d) running on Dart 3.1 and with new 2D scrolling widgets and faster graphics.
307
399
*[Flutter 3.10](https://medium.com/flutter/whats-new-in-flutter-3-10-b21db2c38c73) running on Dart 3 and with seamless web and mobile integration, and stable Impleller for iOS.
308
400
*[Flutter 3.7](https://medium.com/flutter/whats-new-in-flutter-3-7-38cbea71133c) with Material 3 updates and iOS improvements
0 commit comments