-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove download-osm make-dc, gen bbox (#297)
Simplify `download-osm` to only generate bbox value, without the overly complex (and unneeded) docker-compose config file. New functionality: * `--bbox` will generate a simple text file containing the bounding box string. The value will be either computed based on the geofabrik's catalog, or for other sources it will continue using `osmconvert` * `download-osm bbox <pbf-file> <bbox-file>` will parse pbf file to generate the same text file with bbox string * The `--output` param is now required when used with `--bbox` Removed functionality: * `--make-dc` parameter and `make-dc` command.
- Loading branch information
Showing
9 changed files
with
151 additions
and
240 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,65 @@ | ||
{ | ||
"DESCRIPTION": "This is a fake catalog of Geofabrik areas used in testing", | ||
"type": "FeatureCollection", | ||
"features": [ | ||
"DESCRIPTION" : "This is a fake catalog of Geofabrik areas used in testing", | ||
"type" : "FeatureCollection", | ||
"features" : [ | ||
{ | ||
"type": "Feature", | ||
"properties": { | ||
"id": "monaco-test", | ||
"parent": "europe", | ||
"iso3166-1:alpha2": [ | ||
"MC" | ||
], | ||
"name": "A test file", | ||
"urls": { | ||
"pbf": "http://localhost:8555/monaco-20150428.osm.pbf", | ||
"updates": "http://localhost:8555/fake-updates/" | ||
"id" : "monaco-test", | ||
"parent" : "europe", | ||
"iso3166-1:alpha2" : [ "MC" ], | ||
"name" : "A test file", | ||
"urls" : { | ||
"pbf" : "http://localhost:8555/monaco-20150428.osm.pbf", | ||
"updates" : "http://localhost:8555/fake-updates/" | ||
} | ||
} | ||
}, | ||
"geometry" : { "type" : "MultiPolygon", "coordinates" : [[[[7.448637,43.739920],[7.420651,43.723350],[7.409205,43.729330],[7.410161,43.730720],[7.411732,43.731390],[7.413011,43.731620],[7.412909,43.733790],[7.412364,43.734290],[7.415174,43.736180],[7.421612,43.740330],[7.421557,43.740800],[7.423117,43.741350],[7.424507,43.740690],[7.426007,43.742260],[7.427535,43.743690],[7.428709,43.745900],[7.430755,43.748850],[7.431923,43.748560],[7.433675,43.749520],[7.435904,43.749790],[7.437361,43.750830],[7.436782,43.751490],[7.437709,43.751690],[7.438827,43.751330],[7.438466,43.748990],[7.441831,43.745050],[7.448637,43.739920]]]]} | ||
}, | ||
{ | ||
"type": "Feature", | ||
"properties": { | ||
"id": "us/michigan", | ||
"parent": "north-america", | ||
"iso3166-2": [ | ||
"id" : "us/michigan", | ||
"parent" : "north-america", | ||
"iso3166-2" : [ | ||
"US-MI" | ||
], | ||
"name": "Michigan", | ||
"urls": { | ||
"pbf": "https://download.geofabrik.de/north-america/us/michigan-latest.osm.pbf", | ||
"bz2": "https://download.geofabrik.de/north-america/us/michigan-latest.osm.bz2", | ||
"shp": "https://download.geofabrik.de/north-america/us/michigan-latest-free.shp.zip", | ||
"pbf-internal": "https://osm-internal.download.geofabrik.de/north-america/us/michigan-latest-internal.osm.pbf", | ||
"history": "https://osm-internal.download.geofabrik.de/north-america/us/michigan-internal.osh.pbf", | ||
"taginfo": "https://taginfo.geofabrik.de/north-america/us/michigan/", | ||
"updates": "https://download.geofabrik.de/north-america/us/michigan-updates" | ||
"name" : "Michigan", | ||
"urls" : { | ||
"pbf" : "https://download.geofabrik.de/north-america/us/michigan-latest.osm.pbf", | ||
"bz2" : "https://download.geofabrik.de/north-america/us/michigan-latest.osm.bz2", | ||
"shp" : "https://download.geofabrik.de/north-america/us/michigan-latest-free.shp.zip", | ||
"pbf-internal" : "https://osm-internal.download.geofabrik.de/north-america/us/michigan-latest-internal.osm.pbf", | ||
"history" : "https://osm-internal.download.geofabrik.de/north-america/us/michigan-internal.osh.pbf", | ||
"taginfo" : "https://taginfo.geofabrik.de/north-america/us/michigan/", | ||
"updates" : "https://download.geofabrik.de/north-america/us/michigan-updates" | ||
} | ||
} | ||
}, | ||
"geometry" : { "type" : "MultiPolygon", "coordinates" : [[[[7.448637,43.739920],[7.420651,43.723350]]]]} | ||
}, | ||
{ | ||
"type": "Feature", | ||
"properties": { | ||
"id": "europe", | ||
"name": "Europe", | ||
"urls": { | ||
"pbf": "https://download.geofabrik.de/europe-latest.osm.pbf", | ||
"updates": "http://localhost:8555/fake-europe-updates/" | ||
"id" : "europe", | ||
"name" : "Europe", | ||
"urls" : { | ||
"pbf" : "https://download.geofabrik.de/europe-latest.osm.pbf", | ||
"updates" : "http://localhost:8555/fake-europe-updates/" | ||
} | ||
} | ||
}, | ||
"geometry" : { "type" : "MultiPolygon", "coordinates" : [[[[7.448637,43.739920],[7.420651,43.723350]]]]} | ||
}, | ||
{ | ||
"type": "Feature", | ||
"properties": { | ||
"id": "north-america", | ||
"name": "North America", | ||
"urls": { | ||
"pbf": "https://download.geofabrik.de/north-america-latest.osm.pbf", | ||
"updates": "http://localhost:8555/fake-north-america-updates/" | ||
"id" : "north-america", | ||
"name" : "North America", | ||
"urls" : { | ||
"pbf" : "https://download.geofabrik.de/north-america-latest.osm.pbf", | ||
"updates" : "http://localhost:8555/fake-north-america-updates/" | ||
} | ||
} | ||
}, | ||
"geometry" : { "type" : "MultiPolygon", "coordinates" : [[[[7.448637,43.739920],[7.420651,43.723350]]]]} | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7.3830115,43.516333,7.500333,43.7543525 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7.409205,43.72335,7.448637,43.75169 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters