-
Notifications
You must be signed in to change notification settings - Fork 41
feat(r/sedonadb): add CRS printing for sedonadb_dataframe #475
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?
Changes from all commits
eb1afe2
90d78fa
fc7c375
ee8fa5c
7e616e4
ac60e14
c6ee791
17cbc50
26789b0
5bfc62b
24258b7
9996def
c51a335
712d2b2
905a1f9
aa708e0
21507be
a1de706
53a9d10
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # Licensed to the Apache Software Foundation (ASF) under one | ||
| # or more contributor license agreements. See the NOTICE file | ||
| # distributed with this work for additional information | ||
| # regarding copyright ownership. The ASF licenses this file | ||
| # to you under the Apache License, Version 2.0 (the | ||
| # "License"); you may not use this file except in compliance | ||
| # with the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, | ||
| # software distributed under the License is distributed on an | ||
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| # KIND, either express or implied. See the License for the | ||
| # specific language governing permissions and limitations | ||
| # under the License. | ||
|
|
||
| #' Parse CRS from GeoArrow metadata | ||
| #' | ||
| #' @param crs_json A JSON string representing the CRS (PROJJSON or authority code) | ||
| #' @returns A list with components: authority_code (e.g., "EPSG:5070"), srid (integer), | ||
| #' name (character string with a human-readable CRS name), and proj_string (character | ||
| #' string with the PROJ representation of the CRS), or \code{NULL} when no CRS | ||
| #' information is available, when the \code{"crs"} field is not present in the | ||
| #' metadata, or when parsing the CRS information fails. | ||
| #' @keywords internal | ||
| sd_parse_crs <- function(crs_json) { | ||
| parse_crs_metadata(crs_json) | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.