atviriduomenys / spinta

Spinta is a framework to describe, extract and publish data (a DEP Framework).
MIT License
10 stars 4 forks source link

Error, when checking if geometry is withing bounding box #654

Closed sirex closed 1 week ago

sirex commented 1 week ago

This error comes from:

Which was released in 0.1.61 version.

Here is an example:

thumbnail_image001

Data: https://get.data.gov.lt/datasets/gov/aaa/ezerai_tvenkiniai/EzerasTvenkinys

DSA: https://github.com/atviriduomenys/manifest/blob/master/datasets/gov/aaa/ezerai_tvenkiniai.csv

shape type: geometry(3346), 3346 (LKS94) has (172763.81 5972477.98 685350.95 6268543.17) bounding box, but error message shows, LKS94 bounding box, but converted to WGS84, while data is given as LKS94.

Also in tests of #497 I see, that coordinates where converted, for some reason:

https://github.com/atviriduomenys/spinta/pull/497/files#diff-96cf54fbd61a6d7374f1949d8023d21100f6216dc2838e415f90f698ee10d6e1R318-R320

On strange thing, that this error appears on Spinta 0.1.55 version, at least this version is shown on spinta --version. :shrug: