Using the latest setup-x86_64_2.919 to install Cygwin, I just noticed that Spatialite is not there. So, I installed it from the source code (libspatialite-5.0.1.tar.gz) and I re-installed gdal-3.5.1 from the setup file. It seems that gdal has not been compiled with Spatialite. Interestingly, the same happens although I installed gdal-3.5.1 from the source code. I just want to use the magic -sql sqlite call with the ogr2ogr command, so if anyone knows how to deal with Spatialite in Cygwin I would appreciate suggestions.
Any hints are welcomed.
The current Cygwin package of
gdalis NOT compiled withSpatiaLitebut it is compiled with indirect SQLite dependecyIf you are interested to add
SpatiaLiteto Cygwin the best way is to offer yourself as maintainerSee some general information on
https://cygwin.com/packaging-contributors-guide.html
If you are interested, you should follow the Cygwin package maintainer mailing list
https://cygwin.com/mailman/listinfo/cygwin-apps/
After that, adding
SpatiaLitedependency toGdalis a minor issue that will be handled by thegdalpackage maintainerhttps://cygwin.com/packages/summary/gdal-src.html