{"id":20072257,"url":"https://github.com/mapnik/mapnik-reference","last_synced_at":"2025-10-11T08:34:29.220Z","repository":{"id":1370058,"uuid":"1321307","full_name":"mapnik/mapnik-reference","owner":"mapnik","description":"JSON specification of Mapnik styling and datasources","archived":false,"fork":false,"pushed_at":"2020-11-05T19:20:24.000Z","size":955,"stargazers_count":51,"open_issues_count":14,"forks_count":48,"subscribers_count":22,"default_branch":"gh-pages","last_synced_at":"2025-09-12T09:50:47.837Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://mapnik.org/mapnik-reference/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mapnik.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"contributing.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-02-02T18:23:10.000Z","updated_at":"2025-04-10T15:31:53.000Z","dependencies_parsed_at":"2022-07-29T11:09:40.420Z","dependency_job_id":null,"html_url":"https://github.com/mapnik/mapnik-reference","commit_stats":null,"previous_names":[],"tags_count":55,"template":false,"template_full_name":null,"purl":"pkg:github/mapnik/mapnik-reference","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapnik%2Fmapnik-reference","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapnik%2Fmapnik-reference/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapnik%2Fmapnik-reference/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapnik%2Fmapnik-reference/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mapnik","download_url":"https://codeload.github.com/mapnik/mapnik-reference/tar.gz/refs/heads/gh-pages","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapnik%2Fmapnik-reference/sbom","scorecard":{"id":616914,"data":{"date":"2025-08-11","repo":{"name":"github.com/mapnik/mapnik-reference","commit":"06460d65ba56aaae925e10e72ff1a1d7288758eb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":3,"reason":"Found 6/18 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: The Unlicense: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'gh-pages'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T04:14:12.567Z","repository_id":1370058,"created_at":"2025-08-21T04:14:12.567Z","updated_at":"2025-08-21T04:14:12.567Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006610,"owners_count":26084148,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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:13.440Z","updated_at":"2025-10-11T08:34:29.205Z","avatar_url":"https://github.com/mapnik.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mapnik-reference\n\n`mapnik-reference` is a spec of what Mapnik styling and datasource properties are supported for each version.\n\nIt is useful for building parsers, tests, compilers, and syntax highlighting/checking for languages.\n\n[![Build Status](https://travis-ci.org/mapnik/mapnik-reference.svg)](https://travis-ci.org/mapnik/mapnik-reference)\n\nDefault branch is `gh-pages` which is displayed at http://mapnik.org/mapnik-reference\n\n## Versioning\n\nThe version of this repository indicates the schema of the reference.json file.\nSchema changes of any type are expected to change the implementation requirements\nof a parser, so they will increment the major version of this repository in\n[semver style](http://semver.org/).\n\nThe directories in this repository directly correspond to released versions of Mapnik\nand the next targeted release of Mapnik.\n\n## Meaning\n\nThe structure of the file is as such:\n\n* `version`: the version of Mapnik targeted. Same as the containing directory.\n* `style`: properties of the `Style` XML element\n* `layer`: properties of the `Layer` XML element\n* `symbolizers/*`: properties that apply to **all** symbolizers\n* `symbolizers/symbolizer`: properties that apply to **each** type of symbolizer\n* `colors`: named colors supported by Mapnik. see `include/mapnik/css_color_grammar.hpp`\n\n### Property stability\nThe `status` key may be used to define the stability of a property. When the key is not specified,\nthen the `status` is `stable`. Possible values are:\n\n- **stable:** `property` is here to stay and its behavior is not anticipated to change\n- **unstable:** `property` is here to stay but its behavior/meaning of `property` may change\n- **deprecated:** `property` should not be used and will be removed in upcoming major version of Mapnik\n- **experimental:** `property` should not be used and may change, be re-named, or disappear at any time\n\n\n## Using\n\nThis is a valid [npm](http://npmjs.org/) module and therefore can easily be used with\n[node.js](http://nodejs.org/).\n\n    npm install mapnik-reference\n\nInstall it as a dependency of your application. Then use that API to get a reference instance\nfor a specific version of Mapnik:\n\n```javascript\nvar mapnik_reference = require('mapnik-reference');\nvar ref = mapnik_reference.load('3.0.0');\n```\n\nYou can also get access to an array of all known versions:\n\n```javascript\nvar mapnik_reference = require('mapnik-reference');\nmapnik_reference.versions;\n[ '2.0.0',\n  '2.0.1',\n  '2.0.2',\n  '2.1.0',\n  '2.1.1',\n  '2.2.0',\n  '2.3.0',\n  '3.0.0' ]\n```\n\nOther implementations will want to simply copy the [JSON](http://www.json.org/) file\nfrom the desired implementation, like `2.0.1/reference.json`.\n\nThe file can then be parsed with any of the many [json parsers](http://www.json.org/).\n\n## Testing\n\nTests require python and node.js:\n\n    make test\n\n## Users\n\n* [carto.js](https://github.com/mapbox/carto)\n* Mapnik itself (the util/validate-mapnik-instance.py is used to check binding consistency like in [#1427](https://github.com/mapnik/mapnik/issues/1427))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapnik%2Fmapnik-reference","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmapnik%2Fmapnik-reference","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapnik%2Fmapnik-reference/lists"}