Skip to content

Commit 14cc57b

Browse files
authored
Merge pull request #745 from Maxxen/v1.4-andium-dev
fix non-const vector output
2 parents 46b4ecc + 6837cea commit 14cc57b

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

src/spatial/modules/geos/geos_module.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,10 @@ struct ST_AsMVTGeom {
393393

394394
res_data[out_idx] = lstate.Serialize(result, cleaned_clipped);
395395
}
396+
397+
if (args.AllConstant() || args.size() == 1) {
398+
result.SetVectorType(VectorType::CONSTANT_VECTOR);
399+
}
396400
}
397401

398402
//------------------------------------------------------------------------------------------------------------------
File renamed without changes.

0 commit comments

Comments
 (0)