@osm-editor-kit/osm-data 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 +7 -2
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
# `@osm-editor-kit/osm-data`
|
|
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
|
+
- Fetch OSM JSON from Overpass or the OSM API
|
|
9
|
+
- Parse responses into in-memory indexes (ways, relations, tagged nodes, coordinates)
|
|
10
|
+
- Look up which ways belong to a relation
|
|
11
|
+
- Merge several downloads into one graph, preferring newer element versions
|
|
12
|
+
- Shared TypeScript types for parsed OSM session data
|
|
8
13
|
|
|
9
14
|
## Usage
|
|
10
15
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osm-editor-kit/osm-data",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.1",
|
|
4
4
|
"description": "Download, parse, and merge OSM API/Overpass responses into an indexed in-memory store.",
|
|
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-data"
|
|
11
11
|
},
|
|
12
|
+
"homepage": "https://github.com/osmberlin/street-space-editor/tree/main/packages/osm-data",
|
|
12
13
|
"type": "module",
|
|
13
14
|
"sideEffects": false,
|
|
14
15
|
"files": [
|