EPFL-ENAC / alicelandings

https://www.epfl.ch/schools/enac/planning-for-healthier-and-biodiverse-cities-linking-neighbourhoods-through-active-mobility-and-landscape-infrastructure/ Project 0048
https://alicelandings.epfl.ch
GNU General Public License v3.0
1 stars 1 forks source link
alice lasig plhebicite

Alice Landings

Project setup

make install

Data Processing

See /data/README.md

make process

Documentation

Add a RasterTileLayer

Given a openlayers.html file generated by gdal during the tiling process which contains:

new ol.tilegrid.TileGrid({
  extent: [
    2491284.60725472914, 1113593.66512244777, 2501274.60726491734,
    1123583.6651326362,
  ],
  origin: [2491284.60725472914, 1123583.6651326362],
  resolutions: [
    54.1325883203840021, 27.0662941601920011, 13.5331470800960005,
    6.76657354004800027, 3.38328677002400013, 1.69164338501200007,
    0.845821692506000034,
  ],
  tileSize: [256, 256],
});

The corresponding CRS is:

new Proj.CRS("EPSG:2056", EPSG_2056, {
  origin: [2491284.60725472914, 1123583.6651326362],
  resolutions: [
    54.1325883203840021, 27.0662941601920011, 13.5331470800960005,
    6.76657354004800027, 3.38328677002400013, 1.69164338501200007,
    0.845821692506000034,
  ],
  bounds: new Bounds(
    [2491284.60725472914, 1123583.6651326362],
    [2501274.60726491734, 1113593.66512244777]
  ),
});