Skip to content

Commit 3805fec

Browse files
committed
fix(geobase,geodata): fixes on readmes and sample imports
1 parent 31cb843 commit 3805fec

File tree

4 files changed

+5
-16
lines changed

4 files changed

+5
-16
lines changed

dart/geobase/README.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -732,14 +732,6 @@ path.
732732

733733
### Great circle paths
734734

735-
To use spherical geodesy functions you may import the whole `geobase` but
736-
following partial imports should also be enough for most cases:
737-
738-
```dart
739-
import 'package:geobase/coordinates.dart';
740-
import 'package:geobase/geodesy.dart';
741-
```
742-
743735
Examples using *great circle* paths (orthodromic) on a spherical earth model:
744736

745737
```dart
@@ -931,8 +923,7 @@ as a list of `PositionSeries`. It's also possible to get a mapped iterable of
931923

932924
### Feature objects
933925

934-
According to the [OGC Glossary](https://www.ogc.org/ogc/glossary/f) a geospatial
935-
**feature** is *a digital representation of a real world entity. It has a spatial domain, a temporal domain, or a spatial/temporal domain as one of its attributes. Examples of features include almost anything that can be placed in time and space, including desks, buildings, cities, trees, forest stands, ecosystems, delivery vehicles, snow removal routes, oil wells, oil pipelines, oil spill, and so on*.
926+
According to the [OGC Glossary](https://www.ogc.org/resources/ogc-glossary/) a geospatial **feature** is *a digital representation of a real world entity. It has a spatial domain, a temporal domain, or a spatial/temporal domain as one of its attributes. Examples of features include almost anything that can be placed in time and space, including desks, buildings, cities, trees, forest stands, ecosystems, delivery vehicles, snow removal routes, oil wells, oil pipelines, oil spill, and so on*.
936927

937928
Below is an illustration of features in a simple vector map. *Wells* are features
938929
with point geometries, *rivers* with line strings (or polyline) geometries, and

dart/geobase/lib/src/vector_data/model/feature/feature.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ import 'feature_object.dart';
3232
///
3333
/// Feature objects have an optional primary [geometry] of [T].
3434
///
35-
/// According to the [OGC Glossary](https://www.ogc.org/ogc/glossary/f) a
36-
/// feature is "a digital representation of a real world entity. It has a
35+
/// According to the [OGC Glossary](https://www.ogc.org/resources/ogc-glossary/)
36+
/// a feature is "a digital representation of a real world entity. It has a
3737
/// spatial domain, a temporal domain, or a spatial/temporal domain as one of
3838
/// its attributes. Examples of features include almost anything that can be
3939
/// placed in time and space, including desks, buildings, cities, trees, forest

dart/geodata/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ read metadata and feature items from an API service conforming to
255255
Most relevant portions of this sample:
256256

257257
```dart
258-
import 'package:geobase/coordinates.dart';
258+
import 'package:geobase/geobase.dart';
259259
import 'package:geodata/ogcapi_features_client.dart';
260260
261261
Future<void> main(List<String> args) async {

dart/geodata/example/geodata_example.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
To test run this from command line: dart example/geodata_example.dart
1111
*/
1212

13-
import 'package:geobase/common.dart';
14-
import 'package:geobase/coordinates.dart';
15-
import 'package:geobase/vector_data.dart';
13+
import 'package:geobase/geobase.dart';
1614
import 'package:geodata/ogcapi_features_client.dart';
1715

1816
/// This example demonstrates accessing metadata and geospatial feature items

0 commit comments

Comments
 (0)