mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Create the output tile directory even if there are no valid features
This commit is contained in:
@@ -65,6 +65,7 @@ static bool pbfname(const char *s) {
|
||||
void check_dir(const char *dir, bool force, bool forcetable) {
|
||||
struct stat st;
|
||||
|
||||
mkdir(dir, S_IRWXU | S_IRWXG | S_IRWXO);
|
||||
std::string meta = std::string(dir) + "/" + "metadata.json";
|
||||
if (force) {
|
||||
unlink(meta.c_str()); // error OK since it may not exist;
|
||||
|
||||
Reference in New Issue
Block a user