notum-cz / strapi-plugin-location

This plugin allows users to create location inputs and store latitude and longitude values as geometry types in a PostGIS database. It also provides functionality to filter items based on their location.
MIT License
24 stars 13 forks source link

fix: correctly handling NULL of geom fields #115

Closed JannikZed closed 8 months ago

JannikZed commented 8 months ago

After some more testing I realised, that postgres is often not working as expected when trying to cast geom fields to text. With this improvement, the query works better.

omikulcik commented 8 months ago

Hi, thank you! :)