8000 101 new function shape to geojson by SanderDevisscher · Pull Request #102 · inbo/fistools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

SanderDevisscher
Copy link
Collaborator

fixes #101 by reworking shape_to_geojson.R from the backoffice

@SanderDevisscher SanderDevisscher linked an issue Jan 7, 2025 that may be closed by this pull request
18 tasks
@SanderDevisscher SanderDevisscher marked this pull request as draft January 7, 2025 12:14
@SanderDevisscher SanderDevisscher marked this pull request as ready for review January 7, 2025 12:17
@SanderDevisscher SanderDevisscher self-assigned this Jan 7, 2025
@SanderDevisscher SanderDevisscher added Function Issue related to a function New Nieuwe functie/data labels Jan 7, 2025
@SanderDevisscher SanderDevisscher marked this pull request as draft January 7, 2025 12:23
@SanderDevisscher SanderDevisscher marked this pull request as ready for review January 7, 2025 12:29
@SanderDevisscher SanderDevisscher requested a review from Copilot June 18, 2025 08:00
Copy link
@Copilot Copilot AI left a 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 in R/shape_to_geojson.R
  • Exported the new function and added here to DESCRIPTION
  • 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Function Issue related to a function New Nieuwe functie/data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[NEW function] shape to geojson
1 participant
0