Skip to content

Commit b95996b

Browse files
committed
1 parent c92ff04 commit b95996b

4 files changed

Lines changed: 31 additions & 10 deletions

File tree

itowns/dev/dist/itowns.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

itowns/dev/dist/itowns.umd.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

itowns/dev/examples/potree_25d_map.html

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,27 @@
8080
=> crs unknown. Most probaly a projection centered on the center of acquisition...
8181
*/
8282

83-
itowns.CRS.defs("EPSG:25831","+proj=utm +zone=31 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs +type=crs");
83+
// itowns.CRS.defs("EPSG:25831","+proj=utm +zone=31 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs +type=crs");
84+
// const name = 'Sagrada Familia';
85+
// const url = 'https://betaserver.icgc.cat/potree12/resources/pointclouds/templesagradafamilia/cloud.js';
86+
// const crs = 'EPSG:25831';
87+
88+
89+
// itowns.CRS.defs("EPSG:3947","+proj=lcc +lat_0=47 +lon_0=3 +lat_1=46.25 +lat_2=47.75 +x_0=1700000 +y_0=6200000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs +type=crs");
90+
// const name = 'Orvault-Potree1_7-3947';
91+
// const url = 'https://raw.githubusercontent.com/bloc-in-bloc/sample-datas/main/Orvault-Potree1_7-3947/cloud.js';
92+
// const crs = 'EPSG:3947';
93+
94+
// const name = 'archeodev';
95+
// const url = 'https://www.wild-lights.com/archeodev/Cotencher/pointclouds/index/cloud.js';
96+
// const crs = 'EPSG:3857';// => crs unknown...
97+
98+
99+
itowns.CRS.defs("EPSG:32755","+proj=utm +zone=55 +south +datum=WGS84 +units=m +no_defs +type=crs");
100+
const name = 'Melbourne';
101+
const url = 'https://raw.githubusercontent.com/masonproco/melbournePotree/f1a32efa243bd3c7a61f975e3c1155078ecf73d5/pointcloud/cloud.js';
102+
const crs = 'EPSG:32755';
84103

85-
const name = 'Sagrada Familia';
86-
const url = 'https://betaserver.icgc.cat/potree12/resources/pointclouds/templesagradafamilia/cloud.js';
87-
const crs = 'EPSG:25831';
88104

89105
viewerDiv = document.getElementById('viewerDiv');
90106
viewerDiv.style.display = 'block';

itowns/dev/examples/potree_3d_map.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,15 @@
9090
const crs = 'EPSG:4978';
9191
*/
9292

93-
itowns.CRS.defs("EPSG:25831","+proj=utm +zone=31 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs +type=crs");
94-
name = 'Sagrada Familia';
95-
const url = 'https://betaserver.icgc.cat/potree12/resources/pointclouds/templesagradafamilia/cloud.js';
96-
const crs = 'EPSG:25831';
93+
// itowns.CRS.defs("EPSG:25831","+proj=utm +zone=31 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs +type=crs");
94+
// name = 'Sagrada Familia';
95+
// const url = 'https://betaserver.icgc.cat/potree12/resources/pointclouds/templesagradafamilia/cloud.js';
96+
// const crs = 'EPSG:25831';
97+
98+
itowns.CRS.defs("EPSG:32755","+proj=utm +zone=55 +south +datum=WGS84 +units=m +no_defs +type=crs");
99+
const name = 'Melbourne';
100+
const url = 'https://raw.githubusercontent.com/masonproco/melbournePotree/f1a32efa243bd3c7a61f975e3c1155078ecf73d5/pointcloud/cloud.js';
101+
const crs = 'EPSG:32755';
97102

98103
// Configure Point Cloud layer
99104
const potreeSource = new itowns.PotreeSource({

0 commit comments

Comments
 (0)