tippecanoe main writes pmtiles output. [#10]

* detect output format using suffix
* after mbtiles is done writing, replace with pmtiles based on map/image tables.
* add method to write_json for writing json sub-object.
This commit is contained in:
Brandon Liu
2022-12-21 14:56:46 +08:00
parent f6332f302a
commit fedebec55a
6 changed files with 478 additions and 6 deletions
+5
View File
@@ -145,6 +145,11 @@ void json_writer::json_write_string(std::string const &str) {
addc('"');
}
void json_writer::json_write_json(std::string const &str) {
json_adjust();
adds(str);
}
void json_writer::json_write_number(double d) {
json_adjust();