{"id":26042577,"url":"https://github.com/dpmcmlxxvi/olturf","last_synced_at":"2025-04-10T05:35:39.100Z","repository":{"id":44605445,"uuid":"78386655","full_name":"dpmcmlxxvi/olturf","owner":"dpmcmlxxvi","description":"A Turf toolbar for OpenLayers.","archived":false,"fork":false,"pushed_at":"2022-02-05T05:46:17.000Z","size":4111,"stargazers_count":31,"open_issues_count":3,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-31T09:17:50.944Z","etag":null,"topics":["algorithm","geospatial","gis","javascript","ol3-turf","openlayers","toolbar","turf"],"latest_commit_sha":null,"homepage":"https://dpmcmlxxvi.github.io/olturf/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dpmcmlxxvi.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-09T02:30:25.000Z","updated_at":"2024-10-25T21:42:31.000Z","dependencies_parsed_at":"2022-09-26T20:30:54.813Z","dependency_job_id":null,"html_url":"https://github.com/dpmcmlxxvi/olturf","commit_stats":null,"previous_names":["dpmcmlxxvi/ol3-turf"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpmcmlxxvi%2Folturf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpmcmlxxvi%2Folturf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpmcmlxxvi%2Folturf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpmcmlxxvi%2Folturf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dpmcmlxxvi","download_url":"https://codeload.github.com/dpmcmlxxvi/olturf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248163999,"owners_count":21058064,"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":["algorithm","geospatial","gis","javascript","ol3-turf","openlayers","toolbar","turf"],"created_at":"2025-03-07T16:35:38.907Z","updated_at":"2025-04-10T05:35:39.074Z","avatar_url":"https://github.com/dpmcmlxxvi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenLayers Turf\n\n[![build](https://github.com/dpmcmlxxvi/olturf/actions/workflows/build.yml/badge.svg)](https://github.com/dpmcmlxxvi/olturf/actions)\n[![coverage](https://img.shields.io/coveralls/dpmcmlxxvi/olturf.svg)](https://coveralls.io/r/dpmcmlxxvi/olturf?branch=master)\n[![codacy](https://app.codacy.com/project/badge/Grade/c8c1b0c8b3c842df96a08276fe3cb69a)](https://www.codacy.com/gh/dpmcmlxxvi/olturf/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=dpmcmlxxvi/olturf\u0026amp;utm_campaign=Badge_Grade)\n[![npm](https://badge.fury.io/js/olturf.svg)](https://badge.fury.io/js/olturf)\n\n[OpenLayers Turf](https://github.com/dpmcmlxxvi/olturf) (olturf) is a\n[Turf](http://turfjs.org/) toolbar for [OpenLayers](http://openlayers.org/).\nThe toolbar provides the following features:\n\n- **Customizable** commands to display\n- **Forms** to collect command inputs\n- **Popups** to display numerical outputs\n- **Input** features are selected in the map\n- **Output** features are displayed in the map\n\nInstead of displaying all the Turf commands available, individual commands can\nbe selected or a subset of pre-defined groups can be displayed. The following\ngroups are available `aggregation`, `classification`, `data`, `grids`,\n`interpolation`, `measurement`, `misc`, `joins`, `transformation`.\n\n  ![](docs/web/img/olturf-example-screenshot.png)\n\n## GETTING STARTED\n\nA toolbar can be added to an OpenLayers map by adding its dependencies\n\n```html\n\u003clink href=\"https://cdn.rawgit.com/openlayers/openlayers.github.io/master/en/v5.3.0/css/ol.css\"\n  rel=\"stylesheet\" type=\"text/css\" /\u003e\n\u003clink href=\"https://unpkg.com/olturf/dist/olturf.min.css\" rel=\"stylesheet\" type=\"text/css\" /\u003e\n\n\u003cscript src=\"https://cdn.rawgit.com/openlayers/openlayers.github.io/master/en/v5.3.0/build/ol.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://unpkg.com/@turf/turf@5.1.6/turf.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://unpkg.com/olturf/dist/olturf.min.js\"\u003e\u003c/script\u003e\n```\n\nthen creating an instance and adding it to the map\n\n```javascript\nconst toolbar = new olturf.Toolbar();\nconst map = new ol.Map({...});\nmap.addControl(toolbar);\n```\n\n## DOCUMENTATION\n\nThe following help is available at the olturf\n[website](http://dpmcmlxxvi.github.io/olturf):\n\n-   [Introduction](http://dpmcmlxxvi.github.io/olturf/web/)\n-   [Getting Started](http://dpmcmlxxvi.github.io/olturf/web/start.html)\n-   [Examples](http://dpmcmlxxvi.github.io/olturf/web/demos.html)\n-   [API](http://dpmcmlxxvi.github.io/olturf/api/)\n\n## BUILD\n\nTo build and test the library locally:\n\n```shell\nnpm install\nnpm test\n```\n\nThe bundled library and stylesheet are at `dist/olturf.min.js` and\n`dist/olturf.min.css`.\n\n## LICENSE\n\nCopyright (c) 2016 Daniel Pulido \u003cmailto:dpmcmlxxvi@gmail.com\u003e\n\nSource code is released under the [MIT License](http://opensource.org/licenses/MIT).\nDocumentation is released under the [CC BY 4.0](http://creativecommons.org/licenses/by-sa/4.0/).\nIcons are from [OSGeo](http://trac.osgeo.org/osgeo/wiki) and released under the\n[CC BY 3.0](http://creativecommons.org/licenses/by-sa/3.0/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpmcmlxxvi%2Folturf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdpmcmlxxvi%2Folturf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpmcmlxxvi%2Folturf/lists"}