Skip to content

Commit

Permalink
Ready for 1.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhi13man committed Oct 29, 2021
1 parent 372b81f commit 484dfbd
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Releases

## [1.0.0] - [Unreleased]
## [1.0.0] - 30th October, 2021

- First Stable Release (unless there is some breaking bugs tha slipped by).
- Addition of GeoCoding API.
- Metadata models.
- **BREAKING:** GeoJsonFeatureProperties Data Model removed and replaced with unparsed `Map<String, dynamic>` as it doesn't have any static structure across various endpoints.
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,14 @@ With all of their internal Optimizations, this includes:
4. **[Time-Distance Matrix](https://openrouteservice.org/dev/#/api-docs/matrix):**
Obtain one-to-many, many-to-one and many-to-many matrices for time and distance. Returns duration or distance matrix for multiple source and destination points.

5. **Pelias Geocoding:**
5. **[Pelias Geocoding](https://openrouteservice.org/dev/#/api-docs/geocode):**
Resolve input coordinates to addresses and vice versa. Provides functionality for geocoding autocomplete queries, search queries, and reverse geocoding.

| Reverse Geocoding Information used on Map |
| ------------------------------------------- |
| ![Reverse Geocode on Map][reverse_geo_img] |

[reverse_geo_img]: https://raw.githubusercontent.com/Dhi13man/open_route_service/main/screenshots/reverse_geocoding_map.png

6. **[POIs](https://openrouteservice.org/dev/#/api-docs/pois):**
Obtains information about the Points of Interest (POIs) in the area surrounding a geometry which can either be a bounding box, polygon or buffered linestring, or point.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: open_route_service
description: An encapsulation made around openrouteservice APIs, for Dart and Flutter projects, to easily generate Routes and their data.
version: 0.7.0
version: 1.0.0
homepage: https://github.com/dhi13man/open_route_service/

environment:
Expand Down
Binary file added screenshots/reverse_geocoding_map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion test/services/directions_tests.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ void directionsTests({
expect(routeCoordinates.length, greaterThan(0));
});

test('Cross-validate [directionsRouteCoordsGet] and [directionsMultiRouteCoordsPostGet]',
test(
'Cross-validate [directionsRouteCoordsGet] and [directionsMultiRouteCoordsPostGet]',
() async {
final List<Coordinate> routeCoordinates =
await service.directionsRouteCoordsGet(
Expand Down
2 changes: 1 addition & 1 deletion test/services/geocode_tests.dart
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ void geocodeTests({
final Coordinate geocodedCoordinate =
geocodeData.features.first.geometry.coordinates.first.first;

// Now, reverse geocode the coordinate received
// Now, reverse geocode the coordinate received
// from geocoding geocodeLocalityQueryText.
final GeoJsonFeatureCollection reverseGeocodeData =
await service.geocodeReverseGet(
Expand Down

0 comments on commit 484dfbd

Please sign in to comment.