@osm-editor-kit/osm-way-chain 0.1.0-alpha.0 → 0.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -4
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
# `@osm-editor-kit/osm-way-chain`
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> [!NOTE]
|
|
4
|
+
> This package is an **alpha** release and still under active development. APIs may change; install with the npm `alpha` dist-tag.
|
|
4
5
|
|
|
5
6
|
## What it does
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
- Walk connected highway ways left and right from a center segment
|
|
9
|
+
- Rank neighbor candidates (same road kind, name, ref)
|
|
10
|
+
- Flag junctions where more than one neighbor is equally good
|
|
11
|
+
- Flip geometry and directional tags when a way is digitized the “wrong” way
|
|
12
|
+
- Decide which highways count as road-like (for editors and Overpass)
|
|
13
|
+
- Adapter for in-memory session data from `@osm-editor-kit/osm-data`
|
|
10
14
|
|
|
11
15
|
## Usage
|
|
12
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osm-editor-kit/osm-way-chain",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.1",
|
|
4
4
|
"description": "Traverse and orient connected OSM highway ways for multi-segment editing sessions.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Tobias Jordans",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"url": "git+https://github.com/osmberlin/street-space-editor.git",
|
|
10
10
|
"directory": "packages/osm-way-chain"
|
|
11
11
|
},
|
|
12
|
+
"homepage": "https://github.com/osmberlin/street-space-editor/tree/main/packages/osm-way-chain",
|
|
12
13
|
"type": "module",
|
|
13
14
|
"sideEffects": false,
|
|
14
15
|
"files": [
|