Skip to content

Converters: Source geometries or "improved" versions? #119

@m-mohr

Description

@m-mohr

Originally posted by @m-mohr in #117 (comment)

A general question (also applies to FI and EE currently). Do we already fix geometries in converters or do we use fiboa improve -g when needed? I slightly tend towards the latter, it would allow to get the original geometries out of the converters if needed.

On the other hand, we also have this explode_multipolygon option which we seem to set very randomly... I'm wondering whether that should also move to the improve toolset?

@ivorbosloper wrote:

The question for explode_multipolygon is, do we always want "normal" polygons, or do we also allow multipolygons in our datasets? I always disliked multipolygons for crop fields/parcels, but that might be my bias.

And invalid polygons give you problems everywhere and all the time. I want to get rid of invalidity as early as possible...

@m-mohr wrote:

My thinking was that in convert we keep the source geometries as they are and then allow people to fix things when needed. > If we want consistency, the alternative would be to always run make_valid and explode_multipolygon to ensure consistent datasets. Right now it seems pretty author specific, which options are used in the converters, which is not ideal.

@cholmes I think you said at some point that converters should do less and we should push more into additional CLI commands? Is that also true for this case?

@ivorbosloper wrote:

One of the ideas behind collecting all these datasets is to make it really easy to use them. If all data is consistent valid and to a lesser degree also polygon, you don't have to fix data yourself. Given the documentation (data-survey and converter), someone can go back to the original file if required.

But it depends what we want to create.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions