{"id":20072275,"url":"https://github.com/mapnik/node-mapnik-sample-code","last_synced_at":"2025-05-05T20:33:09.132Z","repository":{"id":8183265,"uuid":"9609468","full_name":"mapnik/node-mapnik-sample-code","owner":"mapnik","description":"Sample code demonstrating usage of node-mapnik","archived":false,"fork":false,"pushed_at":"2016-02-11T00:21:25.000Z","size":818,"stargazers_count":69,"open_issues_count":6,"forks_count":33,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-09T04:11:17.448Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"nens/CassandraDump","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mapnik.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":"2013-04-22T21:36:35.000Z","updated_at":"2024-04-19T15:18:18.000Z","dependencies_parsed_at":"2022-09-16T09:01:31.515Z","dependency_job_id":null,"html_url":"https://github.com/mapnik/node-mapnik-sample-code","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/mapnik%2Fnode-mapnik-sample-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapnik%2Fnode-mapnik-sample-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapnik%2Fnode-mapnik-sample-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapnik%2Fnode-mapnik-sample-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mapnik","download_url":"https://codeload.github.com/mapnik/node-mapnik-sample-code/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252571403,"owners_count":21769828,"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-13T14:39:17.734Z","updated_at":"2025-05-05T20:33:08.448Z","avatar_url":"https://github.com/mapnik.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-mapnik examples\n\n## Depends\n\n - Node.js v0.10.x\n - Mapnik node.js bindings (`node-mapnik`)\n\n\nInstall `node-mapnik` like:\n\n    npm install mapnik@latest\n\nA few examples have other dependencies. Install all possible like:\n\n    npm install express generic-pool get\n\n\nExamples are designed to be run from the root like:\n\n    node ./render/app.js ./stylesheet.xml map.png\n\n\nExamples are arranged into topic directories:\n\n* **render** - Simple map to image renderer example. Start here.\n* **image** - Server that just responds with a single image.\n* **tile** - Example tileservers. Also includes PostGIS example. (see \u003chttps://github.com/springmeyer/coalition\u003e for a fuller example with PostGIS) \n* **wms**  - Example WMS servers (see \u003chttps://github.com/mapbox/landspeed.js\u003e for a real WMS server)\n* **memory_datasource** - rendering of native javascript objects using in memory features created up front\n\n## Other files\n\n* **utils** - helper methods\n* **data** - world map shapefile used in examples \n* **stylesheet.xml** - sample mapnik xml stylesheet\n\n## Using examples\n\nTo run most examples, read the code then execute their app.js file. \n\nIn tile examples you can view the output in polymaps via tile/index.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapnik%2Fnode-mapnik-sample-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmapnik%2Fnode-mapnik-sample-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapnik%2Fnode-mapnik-sample-code/lists"}