[−][src]Function convert_osm::extract::extract_osm
pub fn extract_osm(
map: &mut RawMap,
opts: &Options,
timer: &mut Timer<'_>
) -> OsmExtract
From 25ef532f60f90424fa0534bcfca69226e79c8aa3 Mon Sep 17 00:00:00 2001
From: dabreegster
cargo run --bin geojson_to_osmosis < boundary.geojson > clipping.poly
to
-convert that geojson to the
+region you want to simulate and save the GeoJSON locally. Use
+cargo run --bin geojson_to_osmosis < boundary.geojson
to convert that GeoJSON
+to the
Osmosis format
required by osmconvert.
Note that you may hit problems if you use JOSM to download additional data to a @@ -208,11 +208,13 @@ osmconvert, gdal, etc.
region you want to simulate and save the geojson locally.Use
-cargo run --bin geojson_to_osmosis < boundary.geojson > importer/config/your_city/region_name.poly
-to convert that geojson to the
+
Use cargo run --bin geojson_to_osmosis < boundary.geojson
to convert that
+geojson to the
Osmosis format
-required by osmconvert.
mv boundary0.poly importer/config/your_city/region_name.poly
, repeating if
+you drew multiple polygons.
Copy importer/config/tel_aviv/cfg.json
to
diff --git a/print.html b/print.html
index 450b9c08ac..cbd8ddd264 100644
--- a/print.html
+++ b/print.html
@@ -334,9 +334,9 @@ invert.
cargo run --bin geojson_to_osmosis < boundary.geojson > clipping.poly
to
-convert that geojson to the
+region you want to simulate and save the GeoJSON locally. Use
+cargo run --bin geojson_to_osmosis < boundary.geojson
to convert that GeoJSON
+to the
Osmosis format
required by osmconvert.
Note that you may hit problems if you use JOSM to download additional data to a @@ -361,11 +361,13 @@ osmconvert, gdal, etc.
region you want to simulate and save the geojson locally.Use
-cargo run --bin geojson_to_osmosis < boundary.geojson > importer/config/your_city/region_name.poly
-to convert that geojson to the
+
Use cargo run --bin geojson_to_osmosis < boundary.geojson
to convert that
+geojson to the
Osmosis format
-required by osmconvert.
mv boundary0.poly importer/config/your_city/region_name.poly
, repeating if
+you drew multiple polygons.
Copy importer/config/tel_aviv/cfg.json
to
diff --git a/rustdoc/convert_osm/extract/fn.extract_osm.html b/rustdoc/convert_osm/extract/fn.extract_osm.html
index aecfa0d209..bef4a9eafb 100644
--- a/rustdoc/convert_osm/extract/fn.extract_osm.html
+++ b/rustdoc/convert_osm/extract/fn.extract_osm.html
@@ -1,2 +1,2 @@
pub fn extract_osm(
map: &mut RawMap,
opts: &Options,
timer: &mut Timer<'_>
) -> OsmExtract
pub fn extract_osm(
map: &mut RawMap,
opts: &Options,
timer: &mut Timer<'_>
) -> OsmExtract