{"id":16677909,"url":"https://github.com/dushistov/libspatialite","last_synced_at":"2025-10-07T19:13:58.605Z","repository":{"id":136592827,"uuid":"116239887","full_name":"Dushistov/libspatialite","owner":"Dushistov","description":"a library extending the basic SQLite core in order to get a full fledged Spatial DBMS, really simple and lightweight, but mostly OGC-SFS compliant","archived":false,"fork":false,"pushed_at":"2018-02-21T15:28:00.000Z","size":139477,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T14:53:52.740Z","etag":null,"topics":["c","gis","spatial","sql","sqlite"],"latest_commit_sha":null,"homepage":"https://www.gaia-gis.it/fossil/libspatialite/index","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dushistov.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-04T09:17:34.000Z","updated_at":"2024-09-18T00:48:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"71e64bd3-d316-47a2-be0d-e77757b75887","html_url":"https://github.com/Dushistov/libspatialite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dushistov%2Flibspatialite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dushistov%2Flibspatialite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dushistov%2Flibspatialite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dushistov%2Flibspatialite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dushistov","download_url":"https://codeload.github.com/Dushistov/libspatialite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254094770,"owners_count":22013639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","gis","spatial","sql","sqlite"],"created_at":"2024-10-12T13:27:53.003Z","updated_at":"2025-10-07T19:13:58.600Z","avatar_url":"https://github.com/Dushistov.png","language":"C","readme":"  --------------------- libspatialite ------------------------\n\nPLEASE read the following information.\n\n1 - Installation\n2 - Required dependencies\n3 - Build notes\n  3.1: Building on Linux\n  3.2: Building on Mac OS X\n  3.3: Building on Windows\n    3.3.1: using MinGW / MSYS\n    3.3.2: using Visual Studio .NET\n  \n=====================================================================\n\n1. Installation:\n=================\n\nThe default destination path prefix for installed files is /usr/local.\nResults from the installation script will be placed into subdirectories\ninclude and lib.  If this default path prefix is appropriate, then execute:\n\n    ./configure\n\nIf another path prefix is required, then execute:\n\n    ./configure --prefix=/my/path\n\nIn either case, the directory of the prefix path must exist and be\nwritable by the installer.\n\nAfter executing configure, execute:\n\n    make\n    make install\n\nOr even better, you can *strip* any executable binary, in order\nto eliminate any debugging symbol, and thus widely reducing\ntheir size:\n\n    make install-strip\n\n2. Required dependencies:\n=========================\n    \nThe main external dependencies needed in order to build 'libspatialite' \nare:\n - SQLite 3 (http://www.sqlite.org)\n    This is a hard dependency - you can't build libspatialite without it. SQLite\n    version 3.7.3 or later is strongly preferred - if you have an earlier\n    version then you will need to pass --enable-geocallbacks=no to the\n    ./configure script.\n    \n - PROJ.4 (http://trac.osgeo.org/proj/)\n    This is strongly recommended, unless you have a particular purpose in mind\n    for your libspatialite build, and know that you won't need it. It is usually\n    available as a package, and libspatialite is pretty flexible about versions.\n\n - GEOS (http://trac.osgeo.org/geos/)\n    This is strongly recommended, unless you have a particular purpose in mind\n    for your libspatialite build, and know that you won't need it. It is usually\n    available as a package, but libspatialite will have more capability if you\n    use version 3.3.0 or later so make sure that the package is recent enough.\n    Use --enable-geosadvanced=no argument to the ./configure script if you want\n    to use an earlier version of GEOS.\n\n - FreeXL (http://www.gaia-gis.it/FreeXL/)\n    This is recommended if you want to be able to import data from Microsoft\n    Excel format (.xls suffix) files. If you do not wish to use it, you will\n    need to pass --enable-freexl=no to the ./configure script. Version 0.0.4\n    or later is required.\n\nNote that you need development code (e.g. -dev packages on Debian Linux and \nderivatives such as Ubuntu, or -devel packages on most other Linux\ndistributions).\n\n\nICONV [Windows]\n---------------\nWhen building on Windows, then you also need to provide iconv to ensure that\nappropriate character set conversions are available. This dependency is not \nusually an issue when building on Linux or Mac OS X, because these systems \nprovide iconv as a standard component.\n\nFor Windows the preferred solution is to download and install the pre-built \niconv binaries and related files from:\nhttp://gnuwin32.sourceforge.net/packages/libiconv.htm\n\n3 - Build notes\n===============\n\n3.1: Building on Linux and similar systems\n------------------------------------------\n\nBuilding libspatialite on Linux and similar systems such as BSD or other Unix\nvariants does not require any special settings. If you have unpacked the sources\nas ./libspatialite-3.1.0, then the required steps are:\n\n# cd libspatialite-3.1.0\n# ./configure\n# make\n# sudo make install\n#     or (in order to save some disk space)\n# sudo make install-strip\n\n3.2: Building on Mac OS X\n-------------------------\n\nBuilding 'libspatialite' on Mac OS X very similar to Linux. You simply have to\nset explicitly some environment variables. If you have unpacked the sources as \n./libspatialite-3.1.0, then the required steps are:\n\n# cd libspatialite-3.1.0\n# export \"CFLAGS=-I/opt/local/include\"\n# export \"LDFLAGS=-I/opt/local/lib\"\n# ./configure \n# make\n# sudo make install\n#     or (in order to save some disk space)\n# sudo make install-strip\n\nIMPORTANT NOTICE: this will build an executable for your specific platform.\nThat is, when building on a PPC Mac, the resulting binary will be be for PPC.\nSimilarly, when building on Intel Mac, resulting binary will be for  Intel.\n\n3.3: Building on Windows\n------------------------\n\nOn Windows systems you can choose using two different compilers:\n- MinGW / MSYS\n  This represents a smart porting of a minimalistic Linux-like\n  development toolkit\n- Microsoft Visual Studio .NET\n  This is the standard platform development toolkit from Microsoft.\n\n3.3.1: using MinGW / MSYS\n-------------------------\n\nWe assume that you have already installed the MinGW compiler and the MSYS shell.\nBuilding 'libspatialite' under Windows is then more or less like building\non any other UNIX-like system. If you have unpacked the sources as \nC:\\libspatialite-3.1.0, then the required steps are:\n\n$ cd c:/libspatialite-3.1.0\n$ export \"CFLAGS=-I/usr/local/include\"\n$ export \"LDFLAGS=-L/usr/local/lib\"\n$ ./configure --target=mingw32\n$ make\n$ make install-strip\n$     or (in order to save some disk space)\n$ make install-strip\n\n\n3.3.2: using Microsoft Visual Studio .NET\n-----------------------------------------\n\nWe assume that you have already installed Visual Studio enabling the command\nline tools. Note that you are expected to the Visual Studio command prompt shell\nrather than the GUI build environment. If you have unpacked the sources as \nC:\\libspatialite-3.1.0, then the required steps are:\n\n\u003e cd c:\\libspatialite-3.1.0\n\u003e nmake /f makefile.vc\n\u003e nmake /f makefile.vc install\n\nPlease note: standard definitions in 'makefile.vc' assumes:\n- enabling PROJ\n- disabling GEOS\n\nIf you want to alter the default behaviour then make modifications in \n'makefile.vc'. Also note that 'libspatialite-geos.def' contains those external\nsymbols to be exported from the DLL when you build GEOS.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdushistov%2Flibspatialite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdushistov%2Flibspatialite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdushistov%2Flibspatialite/lists"}