Skip to content
This repository was archived by the owner on Mar 15, 2023. It is now read-only.

Commit 9138187

Browse files
authored
Merge pull request #5 from oganexon/develop
1.1.1
2 parents 85025af + 83249e6 commit 9138187

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
### Fixed
1414
### Security -->
1515

16+
## [1.1.1] - 2020-05-06
17+
18+
### Fixed
19+
20+
- `rails` command now scan for all rails instead of a small subset.
21+
1622
## [1.1.0] - 2020-05-05
1723

1824
### Added
1925

20-
- `rails` command
26+
- `rails` command.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bte-tools",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "Awesome tools and scripts to enhance your experience on the Build The Earth project!",
55
"scripts": {
66
"lint": "standard src/**/*.js --fix",

src/rails.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function request (radius, center, options) {
7575
const s = findS(points)
7676
const n = findN(points)
7777

78-
const query = `(way[railway~"^(rail|subway|tram)$"](${s.join(',')},${n.join(',')});>;);out;`
78+
const query = `(way[railway~"^.*$"](${s.join(',')},${n.join(',')});>;);out;`
7979

8080
overpass(query, (err, data) => {
8181
if (err) throw err

0 commit comments

Comments
 (0)