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

マインクラフト出力設定をGUIに追加 #554

Merged
merged 1 commit into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions app/src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
pipeline::{feedback, Canceller},
sink::{
cesiumtiles::CesiumTilesSinkProvider, czml::CzmlSinkProvider, geojson::GeoJsonSinkProvider,
gltf::GltfSinkProvider, gpkg::GpkgSinkProvider, kml::KmlSinkProvider, mvt::MvtSinkProvider,
ply::StanfordPlySinkProvider, serde::SerdeSinkProvider, shapefile::ShapefileSinkProvider,
DataSinkProvider,
gltf::GltfSinkProvider, gpkg::GpkgSinkProvider, kml::KmlSinkProvider,
minecraft::MinecraftSinkProvider, mvt::MvtSinkProvider, ply::StanfordPlySinkProvider,
serde::SerdeSinkProvider, shapefile::ShapefileSinkProvider, DataSinkProvider,
},
source::{citygml::CityGmlSourceProvider, DataSourceProvider},
transformer::{
Expand Down Expand Up @@ -115,6 +115,7 @@
"gltf" => Some(Box::new(GltfSinkProvider {})),
"ply" => Some(Box::new(StanfordPlySinkProvider {})),
"cesiumtiles" => Some(Box::new(CesiumTilesSinkProvider {})),
"minecraft" => Some(Box::new(MinecraftSinkProvider {})),

Check warning on line 118 in app/src-tauri/src/main.rs

View check run for this annotation

Codecov / codecov/patch

app/src-tauri/src/main.rs#L118

Added line #L118 was not covered by tests
_ => None,
}
}
Expand Down
5 changes: 5 additions & 0 deletions app/src/lib/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ const filetypeOptions: Record<string, { label: string; extensions: string[]; eps
{ value: 10173, label: 'JGD2011 / 平面直角座標系 XII + 標高 (EPSG:10173)' },
{ value: 10174, label: 'JGD2011 / 平面直角座標系 XIII + 標高 (EPSG:10174)' }
]
},
minecraft: {
label: 'Minecraft',
extensions: [''],
epsg: [{ value: 4979, label: 'WGS 84 (EPSG:4979)' }]
}
};

Expand Down
Loading