1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-util-geo/src/mercator.rs
Items
const EARTH_RADIUS_M const MAX_LATITUDE const MAX_ZOOM const ORIGIN_SHIFT_M struct TileId impl TileId impl Display for TileId struct TileRange impl TileRange
Functions
By call-graph weight (PageRank; 1.0 is the average function). 34 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| lonlat_to_worldsrc/mercator.rs:24 | fn | 7 | 1 | 14 | 1 | 2.4 | |
| world_to_lonlatsrc/mercator.rs:33 | fn | 6 | 1 | 5 | 1 | 2.1 | |
| TileId::newsrc/mercator.rs:97 | method | 7 | 3 | 2 | 0 | 2.1 | |
| unproject_geometrysrc/mercator.rs:57 | fn | 3 | 1 | 1 | 2 | 1.7 | |
| TileId::gridsrc/mercator.rs:106 | method | 3 | 1 | 3 | 0 | 1.6 | |
| TileId::pmtiles_idsrc/mercator.rs:162 | method | 3 | 1 | 4 | 1 | 1.6 | |
| TileId::world_boundssrc/mercator.rs:129 | method | 4 | 1 | 7 | 2 | 1.5 | |
| TileId::containingsrc/mercator.rs:140 | method | 7 | 1 | 12 | 0 | 1.3 | |
| project_geometrysrc/mercator.rs:52 | fn | 3 | 1 | 1 | 2 | 1.2 | |
| lonlat_bbox_to_worldsrc/mercator.rs:68 | fn | 5 | 1 | 4 | 2 | 1.1 | |
| parse_zxysrc/mercator.rs:206 | fn | 4 | 1 | 3 | 1 | 1 | |
| meters_to_lonlatsrc/mercator.rs:47 | fn | 3 | 1 | 2 | 2 | 1 | |
| closesrc/mercator.rs:215 | fn | 3 | 1 | 3 | 0 | 1 | |
| TileId::quadkeysrc/mercator.rs:149 | method | 10 | 1 | 1 | 0 | 0.9 | |
| project_featuresrc/mercator.rs:62 | fn | 3 | 1 | 5 | 1 | 0.8 | |
| world_bbox_to_lonlatsrc/mercator.rs:75 | fn | 5 | 1 | 1 | 3 | 0.7 | |
| meters_per_pixelsrc/mercator.rs:82 | fn | 4 | 1 | 1 | 0 | 0.7 | |
| lonlat_to_meterssrc/mercator.rs:41 | fn | 4 | 1 | 1 | 2 | 0.6 | |
| TileRange::coveringsrc/mercator.rs:189 | method | 5 | 1 | 2 | 2 | 0.6 | |
| TileId::childrensrc/mercator.rs:123 | method | 4 | 1 | 3 | 0 | 0.6 | |
| TileId::parentsrc/mercator.rs:110 | method | 3 | 1 | 2 | 0 | 0.6 | |
| TileId::ancestorsrc/mercator.rs:115 | method | 7 | 2 | 1 | 0 | 0.5 | |
| TileId::lonlat_boundssrc/mercator.rs:135 | method | 3 | 1 | 1 | 2 | 0.5 | |
| TileId::from_pmtiles_idsrc/mercator.rs:166 | method | 3 | 1 | 0 | 1 | 0.5 | |
| TileId::fmtsrc/mercator.rs:172 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TileRange::countsrc/mercator.rs:195 | method | 3 | 1 | 0 | 0 | 0.5 | |
| TileRange::itersrc/mercator.rs:199 | method | 4 | 1 | 0 | 0 | 0.5 | |
| world_projection_round_tripssrc/mercator.rs:220 | fn | 10 | 4 | 0 | 3 | 0.5 | |
| meters_match_epsg_3857src/mercator.rs:232 | fn | 9 | 2 | 0 | 3 | 0.5 | |
| tiles_contain_their_pointssrc/mercator.rs:243 | fn | 10 | 4 | 0 | 8 | 0.5 | |
| quadkeys_match_bingsrc/mercator.rs:255 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| ranges_cover_bboxessrc/mercator.rs:261 | fn | 6 | 2 | 0 | 5 | 0.5 | |
| parse_zxy_accepts_extensions_and_rejects_out_of_gridsrc/mercator.rs:269 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| meters_per_pixel_at_equatorsrc/mercator.rs:276 | fn | 3 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.