{"id":18739558,"url":"https://github.com/springmeyer/sqlite3-mapnik","last_synced_at":"2025-11-19T13:30:17.577Z","repository":{"id":66365775,"uuid":"2269442","full_name":"springmeyer/sqlite3-mapnik","owner":"springmeyer","description":"standalone build of mapnik sqlite plugin","archived":false,"fork":false,"pushed_at":"2011-12-19T23:42:21.000Z","size":3856,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T18:28:08.091Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/springmeyer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-08-25T17:44:23.000Z","updated_at":"2019-08-13T14:49:19.000Z","dependencies_parsed_at":"2023-02-20T02:45:32.606Z","dependency_job_id":null,"html_url":"https://github.com/springmeyer/sqlite3-mapnik","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/springmeyer%2Fsqlite3-mapnik","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fsqlite3-mapnik/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fsqlite3-mapnik/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fsqlite3-mapnik/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/springmeyer","download_url":"https://codeload.github.com/springmeyer/sqlite3-mapnik/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239619570,"owners_count":19669447,"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":[],"created_at":"2024-11-07T15:36:21.810Z","updated_at":"2025-11-19T13:30:17.519Z","avatar_url":"https://github.com/springmeyer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sqlite-mapnik\n\nStandalone sqlite plugin\n\n\n## Setup\n\nUnpack and build sqlite3\n\n    cd deps\n    mkdir -p build\n    tar xvf sqlite-autoconf-3070900.tar.gz\n    cd sqlite-autoconf-3070900/\n    export CFLAGS=\"-DSQLITE_ENABLE_RTREE=1 -O3 -fPIC\"\n    ./configure --prefix=`pwd`/../build --enable-static --disable-shared\n    make -j4 \u0026\u0026 make install\n    cd ../../\n\nPlugin Mapnik's sqlite plugin locally\n\n    git clone git://github.com/mapnik/mapnik.git mapnik_sources\n    cp -r mapnik_sources/plugins/input/sqlite sqlite_sources\n\nNow, make any changes to the mapnik sqlite sources and build locally like:\n\n    make\n\nTo be able to test your local `sqlite.input` you need to move the globally installed one aside:\n\n    mv `mapnik-config --input-plugins`/sqlite.input sqlite_plugin.backup\n\n## Test\n\nIf you have node and node-mapnik installed do:\n\n    node test.js\n\nIf not install node-mapnik with npm:\n\n    npm install mapnik\n\nThe `node test.js` should print some json about the data.\n\n\n## Done testing?\n\nMove the old sqlite plugin back into place:\n\n    mv sqlite_plugin.backup `mapnik-config --input-plugins`/sqlite.input \n\n\n## Troubleshooting\n\nIf the plugin compiles but mapnik does not recognize it as valid, try\nopening it with python's ctypes which may reveal linking errors:\n\n    import ctypes\n    ctypes.CDLL('./sqlite.input')","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringmeyer%2Fsqlite3-mapnik","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspringmeyer%2Fsqlite3-mapnik","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringmeyer%2Fsqlite3-mapnik/lists"}