sqlite_plus_geo 0.1.0
sqlite_plus_geo: ^0.1.0 copied to clipboard
Pure Dart geometry, spatial SQL, and R-tree queries for sqlite_plus.
example/README.md
sqlite_plus_geo examples #
dart run bin/main.dart opens an in-memory sqlite_plus database and runs four demos:
- Facilities within 5 km of a point, ordered by spherical distance.
- A GeoJSON feature collection imported and queried offline.
- The administrative polygon that contains a coordinate.
ST_Intersectionof two parcel squares.
The program prints:
Clinic | North | 2 | 2.0 | true
A map widget is not a dependency. Convert a stored point with point.toMapPosition(). Pass longitude and latitude to the widget's own point type. X is already longitude.