django-rest-framework-gis
django-rest-framework-gis copied to clipboard
Aberations and enclave when using precision arguments on geometry field
The geometry when using borders = GeometryField(precision=2, remove_duplicates=True)
With no precision or remove duplicates arguments:
We can see that reducing precision leads to new enclosed borders and the creation of vertical or horizontal lines.
Welcome @Guilouf.
Is this a bug report? If so, could you please clarify the following:
- what's the outcome you were expecting
- what's the current outcome
- why the actual outcome is wrong
If this is not a bug report, can you please clarify your request?
Welcome @Guilouf.
Is this a bug report? If so, could you please clarify the following:
* what's the outcome you were expecting * what's the current outcome * why the actual outcome is wrongIf this is not a bug report, can you please clarify your request?
I'd say its a bug report:
- what's the outcome you were expecting:
A border with reduced precision but with the same topology, i.e no no enclave ( new zones created along the borders as we can see in the screenshot) and no vertical lines.
Here is the artifacts i talk about, in the red circles.
- what's the current outcome the image above is the current outcome
- why the actual outcome is wrong It creates new "borders"