Skip to content

Commit

Permalink
replicate v1.2.3 from QGIS plugins website
Browse files Browse the repository at this point in the history
  • Loading branch information
koebi committed Apr 27, 2021
1 parent 3cc6d3b commit 0edf01e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 1 addition & 4 deletions ORStools/gui/directions_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,7 @@ def get_parameters(self):
layer = self.dlg.avoidpolygon_dropdown.currentLayer()
if layer:
transformer = transform.transformToWGS(layer.sourceCrs())
# FIXME: bug in GPKG driver I think:
# https://github.com/GIScience/orstools-qgis-plugin/issues/114
# Wrote to dev mailing list
geom = layer.getGeometry(0) or layer.getGeometry(1)
geom = next(layer.getFeatures())
geom.transform(transformer)
self.options['avoid_polygons'] = json.loads(geom.asJson())

Expand Down
5 changes: 3 additions & 2 deletions ORStools/metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ name=ORS Tools
qgisMinimumVersion=3.0
description=openrouteservice routing, isochrones and matrix calculations for QGIS

version=1.2.2
version=1.2.3
author=GIS • OPS UG & HeiGIT gGmbH
email=nils@gis-ops.com

about=ORS Tools provides access to most of the functions of openrouteservice.org, based on OpenStreetMap. The tool set includes routing, isochrones and matrix calculations, either interactive in the map canvas or from point files within the processing framework. Extensive attributes are set for output files, incl. duration, length and start/end locations.

changelog=2020/02/20 v1.2.2 workaround for possible QGIS geopackage bug (#114): backwards-compatible and future-proof
changelog=2020/02/22 v1.2.3 wasn't a bug, implemented Nyall's suggestion: https://github.com/qgis/QGIS/issues/34606#issuecomment-589901410
2020/02/20 v1.2.2 workaround for possible QGIS geopackage bug (#114): backwards-compatible and future-proof
2019/12/02 v1.2.1 fix isochrone layer bug for empty IDs (#113), fix isochrones for local setups (#112)
2019/08/19 v1.2.0 Implement avoid_polygons parameter (#79)
2019/08/19 v1.1.1 Update metadata, bcs repository moved to GIScience
Expand Down

0 comments on commit 0edf01e

Please sign in to comment.