Skip to content
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

JGD2011→WGS 84の変換を加える #155

Merged
merged 2 commits into from
Jan 8, 2024
Merged

Conversation

ciscorn
Copy link
Member

@ciscorn ciscorn commented Jan 7, 2024

JGD2011→WGS 84の変換処理を、仮のTransformerの実装に加えておく。

JGD2011の height(標高、東京湾平均海面)をWGS 84の height(楕円体高)に変換するだけ。

Close: #109

@ciscorn ciscorn self-assigned this Jan 7, 2024
@ciscorn ciscorn changed the base branch from main to swap-xy January 7, 2024 07:47
@ciscorn ciscorn requested a review from a team January 7, 2024 07:47
Copy link

codecov bot commented Jan 7, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Files Patch % Lines
nusamai/src/main.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
Components Coverage Δ
GUI ∅ <ø> (∅)
Backend 76.10% <94.44%> (+0.32%) ⬆️
Libraries 86.34% <100.00%> (-0.01%) ⬇️

📢 Thoughts on this report? Let us know!

@ciscorn ciscorn merged commit 62c1696 into swap-xy Jan 8, 2024
4 checks passed
@ciscorn ciscorn deleted the feature/jgd-to-wgs branch January 8, 2024 01:29
ciscorn added a commit that referenced this pull request Jan 8, 2024
## 変更内容

### 仮のTransformerで「とりあえず」の変換処理を行う
- x-y 入れかえ処理を入れておく
    - これにともない GeoJSON, GeoPackage ドライバ内での x-y 入れかえは除去する
- WGS 84 にしておく処理も追加 #155

### Gpkg, GeoJSON 周りのリファクタリング
- `nusamai-geojson` に "indexed" でないふつうのジオメトリをGeoJSON
Valueに変換する関数を追加(tiling2d sink で使う)。
    - #154 もこのPRにマージ
- Gpkg のバイナリジオメトリの構築で、 `Vec<u8>` でなく `std::io::Write` trait
を使う(`Vec<u8>`はWrite)。一時的なVecの生成も除去。

---

Closes: #125
Closes: #76
ciscorn added a commit that referenced this pull request Jan 9, 2024
## 変更内容

### #153 

#### 仮のTransformerで「とりあえず」の全頂点の変換処理を行う
- x-y 入れかえ処理を入れておく
    - これにともない GeoJSON, GeoPackage ドライバ内での x-y 入れかえは除去する
- CRSを WGS 84 にしておく処理も追加 #155

#### Gpkg, GeoJSON 周りのリファクタリング
- `nusamai-geojson` に "indexed" でないふつうのジオメトリをGeoJSON
Valueに変換する関数を追加(tiling2d sink で使う)。
    - #154 もこのPRにマージ
- Gpkg のバイナリジオメトリの構築で、 `Vec<u8>` でなく `std::io::Write` trait
を使う(`Vec<u8>`はWrite)。一時的なVecの生成も除去。

### その他

- Gpkg sink が、インメモリSQLiteを扱えていない(`:memory:` というファイルを作ってしまう)問題を修正
- SipHash → aHash #156
- Iterator::chain 除去 #157
- Noop Sink, Serde Sinkを走らせるだけのテストに GeoJSONとGPKG も追加
- `nusamai_citygml::object::Geometries` の名前を `GeometryStore`
に変更(ジオメトリのつめあわせであることを多少分かりやすく)
- `GeometryStore` にCRSの情報をもたせられるようにしておく(仮)
- その他細かい調整など
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant