diff options
| author | typebrook <typebrook@gmail.com> | 2019-12-09 20:21:08 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-12-09 20:21:08 +0800 |
| commit | c72b747d215b7419ac60c1630221c41cfc207df8 (patch) | |
| tree | 298e7bcf4cbbb0fa428940794a27de125abe9a7f | |
| parent | f3edd1a22f1383b3d370f61a29a315630c96bfe0 (diff) | |
update
| -rwxr-xr-x | scripts/osm/osm.get.id | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/osm/osm.get.id b/scripts/osm/osm.get.id deleted file mode 100755 index 93593b5..0000000 --- a/scripts/osm/osm.get.id +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #! /bin/sh | ||
| 2 | |||
| 3 | # $1 as [node|way|relation], $2 as id | ||
| 4 | echo "<osm version=\"0.6\">" | ||
| 5 | sed -nr "/^ *<$1 id=\"$2\".*/,/^ *<\/$1>/p" | ||
| 6 | echo "</osm>" | ||