{"id":48025378,"url":"https://github.com/richard-thomas/orchard_sitemap","last_synced_at":"2026-04-04T13:50:03.548Z","repository":{"id":78841241,"uuid":"543763182","full_name":"richard-thomas/orchard_sitemap","owner":"richard-thomas","description":"Automation demo: QGIS data \u0026 styling to OpenLayers web map","archived":false,"fork":false,"pushed_at":"2023-10-07T20:28:51.000Z","size":2814,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-01-27T11:32:25.369Z","etag":null,"topics":["openlayers","orchard","qgis","sld"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/richard-thomas.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-09-30T19:41:35.000Z","updated_at":"2023-04-15T07:34:23.000Z","dependencies_parsed_at":"2024-01-15T12:54:10.026Z","dependency_job_id":null,"html_url":"https://github.com/richard-thomas/orchard_sitemap","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":0.06666666666666665,"last_synced_commit":"6ea0d3c4d6122a857ba202c38aa6c97f8f206b9c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/richard-thomas/orchard_sitemap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richard-thomas%2Forchard_sitemap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richard-thomas%2Forchard_sitemap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richard-thomas%2Forchard_sitemap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richard-thomas%2Forchard_sitemap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/richard-thomas","download_url":"https://codeload.github.com/richard-thomas/orchard_sitemap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richard-thomas%2Forchard_sitemap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31402276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["openlayers","orchard","qgis","sld"],"created_at":"2026-04-04T13:50:02.718Z","updated_at":"2026-04-04T13:50:03.403Z","avatar_url":"https://github.com/richard-thomas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Orchard Sitemap (QGIS to OpenLayers demo)\n\nThis web map (as hosted directly on GitHub) can be viewed via its [information page](https://richard-thomas.github.io/orchard_sitemap/info) or [directly](https://richard-thomas.github.io/orchard_sitemap/dist). It maps a small area of approximately 20m x 40m, but includes a large number of features with more detail being revealed as the user zooms progressively further in.\n\nIt is a demo of the [ol-sld-styler](https://www.npmjs.com/package/ol-sld-styler) (OpenLayers SLD Styler) and [ol-load-geopackage](https://www.npmjs.com/package/ol-load-geopackage) (OpenLayers OGC GeoPackage Loader) JavaScript NPM modules. Data and styling for the web map has been generated primarily in QGIS and exported as an OGC GeoPackage using the [Package Layers](https://docs.qgis.org/3.16/en/docs/user_manual/processing_algs/qgis/database.html#package-layers) Processing Toolbox operation. This allows the web map to be quickly rebuilt from subsequent updated QGIS exports.\n\nThe [OGC GeoPackage](https://www.geopackage.org/) used in this example is: [mrco_site_interactive.gpkg](https://github.com/richard-thomas/orchard_sitemap/tree/main/dist/mrco_site_interactive.gpkg). The Geopackage contains a collections of vector data layers and the associated SLD styling combined into a single \"layer_styles\" table as XML strings.\n\nA version of the source QGIS map document used to generate the above GeoPackage can be loaded into QGIS from [orchard_site-local-gpkg.qgz](dist/orchard_site-local-gpkg.qgz). Note that this version has had its data sources redirected to the GeoPackage in the local folder (rather than the collection of original data sources).\n\nThe ol-sld-styler module requires a separate \"layer configuration\" object which is defined in this example in file [mapconfig.js](https://github.com/richard-thomas/orchard_sitemap/tree/main/dist/mapconfig.js). It includes some user-defined function hooks for modifying SLD-imported styling where desired styling was not possible due to QGIS export or SLD limitations.\n\nBy using OGC GeoPackages as its primary data/styling sources, this web map can also be downloaded and used as an _offline_ map viewer for mobile phones or tablets which have poor (or non-existent) network connectivity. When a network connection is available, data and stying updates could then be done by downloading just 1 file.\n\nFor more details of how to (re-)build this example, please see the sister-project in the [DS_Canal](https://github.com/richard-thomas/DS_Canal) GitHub repository.\n\n## Licence\n\nOriginal code in this module is provided under the ISC licence - see [LICENCE](LICENCE.md).\n\nRaw spatial data created for this web map (i.e. the contents of file mrco_site_interactive.gpkg) is provided under the Creative Commons Attribution 4.0 [(CC BY-SA 4.0)](https://creativecommons.org/licenses/by-sa/4.0/) International License.\n\n## Acknowledgements\n\nThe following open source software and icons were used under licence:\n\n- [Font Awesome](https://fontawesome.com/) v5 icons under the [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) licence\n- [OpenLayers](https://openlayers.org/) [ol](https://www.npmjs.com/package/ol) NPM module: under the [BSD 2-Clause License](https://opensource.org/licenses/BSD-2-Clause)\n- Proj4js [proj4](https://www.npmjs.com/package/proj4) NPM module under the [MIT](https://github.com/proj4js/proj4js/blob/master/LICENSE.md) licence\n- OpenLayers OGC GeoPackage Loader [ol-load-geopackage](https://www.npmjs.com/package/ol-load-geopackage) NPM module under the [ISC](https://github.com/richard-thomas/ol-load-geopackage/blob/master/LICENCE.md) licence\n- OpenLayers SLD Styler [ol-sld-styler](https://www.npmjs.com/package/ol-sld-styler) NPM module under the [ISC](https://github.com/richard-thomas/ol-sld-styler/blob/main/LICENCE.md) licence\n- (Within ol-sld-styler) [@NieuwlandGeo/sldreader](https://www.npmjs.com/package/@nieuwlandgeo/sldreader) NPM module under the [ISC](https://github.com/NieuwlandGeo/SLDReader/blob/master/LICENSE) licence","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichard-thomas%2Forchard_sitemap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frichard-thomas%2Forchard_sitemap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichard-thomas%2Forchard_sitemap/lists"}