On Tue, 29 Nov 2022 22:22:05 -0800 (PST), Elham Peiravian wrote:
> Hello Everyone,
>
> I am a newbie in SpatialLite, and I am trying to practice how to
> change the projection of a dataset by using the ST_Transform command
> and I get this error:
>
> I don't have any prior experience with this so I was hoping someone
> could let me know what the problem is here?
>
Hi Elham,
the ST_Transform() SQL function fully relies on the support of the
PROJ library that handles any coord reprojection.
recent versions of PROJ (starting from PROJ.6) strictly require to
access a SQLite database of their own where all geodesic informations
are stored (Ellipsoids, Prime Meridians, Reference Systems, formulae
and so on).
the error message clearly states that no such database in installed
on your PC (or it's' installaed but in the wrong location), so the
PROJ library is now completely disabled.
SOLUTION: you are just required to correctly install the PROJ DB.
You've surely received a copy of the PROJ DB into the same package
shipping the binary executable of spatialite_gui for Windows.
The simplest and easiest solution is to copy it into the same
folder where the EXE is.
please read this Wiki page for any furher information:
https://www.gaia-gis.it/fossil/libspatialite/wiki?name=PROJ.6
NOTE: at the bottom of the Wiki page you'll find a specific
paragraph about Windows platforms.
bye Sandro