Skip to content

Commit 0a8804e

Browse files
authored
change crate name (#673)
<!-- Close or Related Issues --> Close #0 ### What I did(変更内容) <!-- Please describe the motivation behind this PR and the changes it introduces. --> <!-- どのような変更をしますか? 目的は? --> - ... ### Notes(連絡事項) <!-- If manual testing is required, please describe the procedure. --> <!-- 手動での動作確認が必要なら手順を簡単に伝えてください。そのほか連絡事項など。 --> None / なし
1 parent 8377f80 commit 0a8804e

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

nusamai/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cesiumtiles = { git = "https://github.com/MIERUNE/cesiumtiles-rs.git" }
2222
flatgeom = { version = "0.0", features = ["serde"] }
2323
nusamai-czml = { path = "../nusamai-czml" }
2424
nusamai-projection = { path = "../nusamai-projection" }
25-
nusamai-mvt = { git = "https://github.com/MIERUNE/tinymvt.git" }
25+
tinymvt = { git = "https://github.com/MIERUNE/tinymvt.git" }
2626
fastanvil = "0.31.0"
2727
fastnbt = "2.5.0"
2828
geojson = "0.24.1"

nusamai/src/sink/cesiumtiles/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ use gltf::write_gltf_glb;
3131
use indexmap::IndexSet;
3232
use itertools::Itertools;
3333
use nusamai_citygml::{object::Value, schema::Schema};
34-
use nusamai_mvt::tileid::TileIdMethod;
34+
use tinymvt::tileid::TileIdMethod;
3535
use nusamai_projection::cartesian::geodetic_to_geocentric;
3636
use rayon::prelude::*;
3737
use slice::{slice_to_tiles, SlicedFeature};

nusamai/src/sink/cesiumtiles/slice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ use nusamai_citygml::{
99
geometry::GeometryType,
1010
object::{ObjectStereotype, Value},
1111
};
12-
use nusamai_mvt::TileZXY;
1312
use nusamai_plateau::{appearance, Entity};
1413
use serde::{Deserialize, Serialize};
14+
use tinymvt::TileZXY;
1515

1616
use super::{material::Material, tiling};
1717
use crate::sink::cesiumtiles::{material::Texture, tiling::zxy_from_lng_lat};

nusamai/src/sink/cesiumtiles/tiling/tree.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Tileset encoder
22
33
use cesiumtiles::tileset;
4-
use nusamai_mvt::TileZXY;
4+
use tinymvt::TileZXY;
55

66
use super::scheme::{calc_parent_zxy, geometric_error};
77

nusamai/src/sink/mvt/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ use flatgeom::{MultiPolygon, MultiPolygon2};
1616
use hashbrown::HashMap;
1717
use itertools::Itertools;
1818
use nusamai_citygml::{object, schema::Schema};
19-
use nusamai_mvt::{geometry::GeometryEncoder, tag::TagsEncoder, tileid::TileIdMethod, vector_tile};
2019
use prost::Message;
2120
use rayon::prelude::*;
2221
use serde::{Deserialize, Serialize};
2322
use slice::slice_cityobj_geoms;
2423
use tags::convert_properties;
24+
use tinymvt::{geometry::GeometryEncoder, tag::TagsEncoder, tileid::TileIdMethod, vector_tile};
2525

2626
use crate::{
2727
get_parameter_value,

nusamai/src/sink/mvt/slice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ use nusamai_citygml::{
66
geometry::GeometryType,
77
object::{ObjectStereotype, Value},
88
};
9-
use nusamai_mvt::{webmercator::lnglat_to_web_mercator, TileZXY};
109
use nusamai_plateau::Entity;
10+
use tinymvt::{webmercator::lnglat_to_web_mercator, TileZXY};
1111

1212
pub fn slice_cityobj_geoms<E>(
1313
obj: &Entity,

nusamai/src/sink/mvt/tags.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use nusamai_citygml::object;
2-
use nusamai_mvt::tag::TagsEncoder;
2+
use tinymvt::tag::TagsEncoder;
33

44
pub fn convert_properties(
55
tags: &mut Vec<u32>,

nusamai/src/transformer/transform/projection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ impl ProjectionTransform {
111111
Self::rectangular_to_lnglat(v[0], v[1], v[2], input_epsg);
112112
};
113113
// LngLat to Web Mercator
114-
(v[0], v[1]) = nusamai_mvt::webmercator::lnglat_to_web_mercator_meters(lng, lat)
114+
(v[0], v[1]) = tinymvt::webmercator::lnglat_to_web_mercator_meters(lng, lat)
115115
});
116116
geom_store.epsg = self.output_epsg;
117117
}

0 commit comments

Comments
 (0)