BioKIC / Symbiota

The Symbiota Virtual Flora/Fauna project develops on-line tools to aid the generation, exploration and management of biodiversity data (collection specimens, observations, images, checklists, keys, etc.). See also: http://bdj.pensoft.net/articles.php?id=1114 and https://symbiota.org/. For documentation, please visit https://symbiota.org/docs
GNU General Public License v2.0
33 stars 49 forks source link

Wkt to geojson #1432

Open MuchQuak opened 1 month ago

MuchQuak commented 1 month ago

Issues #836 #307

Note This is a 3.2 issue and will not be merge until we are ready to make Development 3.2 staging.

Problem Summary

Our WKT, Well Known Text, format is incorrectly ordered in latitude then longitude. This means that wkt's created from would not work if imported into our system. Also if some of the geometries are getting transferred to lng lat then all points and spacial indices need to be changed to lng lat in order to use Mysql/MariaDB spacial functions.

Work Summary

More Work

I am starting the review process early since this is a large pr and will likely have issues but there is still some more work I know off.

Running Locally

There is no extra symbini config you just need to run the 3.2 patch sql. This only adds things minus some data cleaning of omoccurpoints that have no lat or lng data which should not interfere with any 3.1 code.

Pull Request Checklist:

Pre-Approval

Post-Approval

Thanks for contributing and keeping it clean!