-
Notifications
You must be signed in to change notification settings - Fork 0
101 new function shape to geojson #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…m/inbo/fistools into 101-new-function-shape-to-geojson
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
A new shape_to_geojson
function was added to convert shapefiles to GeoJSON, with updates to exports, dependencies, and documentation to support the feature.
- Implemented
shape_to_geojson
inR/shape_to_geojson.R
- Exported the new function and added
here
toDESCRIPTION
- Bumped package version to 1.2.20 and updated site docs (pkgdown version and cross-references)
Reviewed Changes
Copilot reviewed 43 out of 43 changed files in this pull request and generated 4 comments.
File | Description |
---|---|
docs/reference/*.html | Bumped package version (1.2.19 → 1.2.20), updated pkgdown build version, added GeoJSON link in See also where relevant |
R/shape_to_geojson.R | Added new function to convert shapefiles to GeoJSON |
NAMESPACE | Exported shape_to_geojson |
DESCRIPTION | Updated Version to 1.2.20 and added here to Imports |
Comments suppressed due to low confidence (2)
R/shape_to_geojson.R:1
- [nitpick] The new function lacks accompanying unit tests. Consider adding tests for directory vs single-file inputs, CRS transformations, and overwrite behavior.
#' Convert shapefiles to geojson
R/shape_to_geojson.R:2
- [nitpick] The roxygen documentation mixes Dutch and English. For consistency with the rest of the package, consider writing all documentation in English.
#' Deze functie zet alle shapes in een specifieke map, één bestand of een lijst van bestanden
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
fixes #101 by reworking shape_to_geojson.R from the backoffice