bz2 support for OSM reading and writing
This commit is contained in:
parent
3d6ed3e2fd
commit
58c47bb1a5
8 changed files with 101 additions and 9 deletions
|
|
@ -379,7 +379,7 @@ void OsmBuilder::filterWrite(const std::string& in, const std::string& out,
|
|||
latLngBox.add(Box<double>({minlon, minlat}, {maxlon, maxlat}));
|
||||
}
|
||||
|
||||
util::xml::XmlWriter wr(out, true, 4);
|
||||
util::xml::XmlWriter wr(out, false, 0);
|
||||
|
||||
wr.put("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
|
||||
wr.openTag("osm", {{"version", "0.6"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue