From e7bba9c8411a7b2c093a812300c065b3af6a4152 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Fri, 29 May 2020 16:01:02 +0200 Subject: Regenerate index.html and files.geojson --- index.html | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 76 insertions(+), 4 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 983981b..40579b5 100644 --- a/index.html +++ b/index.html @@ -173,6 +173,7 @@ types_enabled['horizontal'] = true; types_enabled['geoid'] = true; types_enabled['vertical_adjustments'] = true; types_enabled['velocity'] = true; +types_enabled['deformation_model'] = true; types_enabled['other'] = true; function refresh_source() { featureSource.clear(); @@ -196,11 +197,16 @@ function refresh_source() { feature.properties.type == 'VELOCITY') { ok_type = true; } + if( types_enabled['deformation_model'] && + feature.properties.type == 'DEFORMATION_MODEL') { + ok_type = true; + } if( types_enabled['other'] && - feature.properties.type != 'HORIZONTAL_OFFSET' && + feature.properties.type != 'HORIZONTAL_OFFSET' && feature.properties.type != 'VERTICAL_OFFSET_GEOGRAPHIC_TO_VERTICAL' && feature.properties.type != 'VERTICAL_OFFSET_VERTICAL_TO_VERTICAL' && - feature.properties.type != 'VELOCITY') { + feature.properties.type != 'VELOCITY' && + feature.properties.type != 'DEFORMATION_MODEL') { ok_type = true; } var ok_agency = agencies_enabled[feature.properties.source_id]; @@ -241,6 +247,7 @@ create_checkbox('horizontal', 'Horizontal shift grids', type_control, types_enab create_checkbox('geoid', 'Geoid models', type_control, types_enabled); create_checkbox('vertical_adjustments', 'Vertical shifts', type_control, types_enabled); create_checkbox('velocity', 'Velocity grids', type_control, types_enabled); +create_checkbox('deformation_model', 'Deformation models', type_control, types_enabled); create_checkbox('other', 'Other grids', type_control, types_enabled); /** @@ -307,6 +314,8 @@ map.on('singleclick', function(evt) { requests = []; map.forEachFeatureAtPixel(evt.pixel, function(feature, layer) { var props = feature.getProperties(); + if( props.url.indexOf('.tif') < 0 ) + return; count ++; //content_innerHTML += '

' + props.name + '

'; details_innerHTML += '
'; @@ -598,7 +607,7 @@ map.on('singleclick', function(evt) {
  • nl_nsgi_rdcorr2018.tif - Netherlands - Amersfoort (EPSG:4289) to ETRS89 (EPSG:4258). Last modified: 2020-01-24
  • nl_nsgi_rdtrans2018.tif - Netherlands - Amersfoort (EPSG:4289) to ETRS89 (EPSG:4258). Last modified: 2020-01-24

  • Land Information New Zealand

    -Total size of content: 491 MB +Total size of content: 495 MB

    Logs

    -- cgit v1.2.3