Open rudokemper opened 1 year ago
I'm very sure I know less than you all here but I recall an older instruction for writing preset jsons. That all needed to be points even if they were polygons. I'm pretty sure any of my technical knowledge on the territory date and the config builder is way out of date. @rudokemper can I confirm that you were able to replicate the issue with the default as well? I'm pretty sure that there was no work done on export features recently. All energy is going into the refactor these days so fixing bugs is an easier process for our team. I can flag this issue as part of the export revisioning that we started last year.
Describe the bug In Territory, when an Area is created with a preset that can be mapped only as an
area
(and notline
), the feature type in the GeoJSON export isLineString
instead of the expectedPolygon
. This appears only to be happening for presets that can be created as an area exclusively - for presets that can be mapped as botharea
andline
geometry types, the GeoJSON type is set to the correct geometry.Can you do the same thing twice? The exact steps to see the problem again.
area
value, and some presets with botharea
andline
values, in thegeometry
key (and the same association indefaults.json
)area
geometry will be exported asLineString
Expected behavior Areas should always be
type
:polygon
.Screenshots
Mapeo Version: