You are here: Foswiki>Oasis Web>Diary>2023>2023-02-24 (28 Feb 2023, lhc)Edit Attach
2023-02-23 | 2023-02-24 | 2023-02-28

2023-02-24

Regression Testing

Area Level ID(s) Outstanding Test Feature / Reason to Visit Last Visit Best Recent Image(s)
Paris S000059, S000128 Very dense buildings & point trees. Eiffel Tower & Arc de Triomphe! Internal.2023-06-01
Manchester S000108 We have a lot of detailed buildings for this area Internal.2023-06-01
Everest S000703 Extreme elevation and empty spaces with no features Internal.2023-06-01
Colorado Springs S000722, S000726 Mix of dense-urban and wilderness Internal.2023-06-01
Penrhyn Quarry S000715 Considerably hilly region. Lake at the bottom of a quarry Internal.2023-05-31
Fort Lauderdale S000291 Residential area with lots of snaking lakes. Two nearby sports parks Internal.2023-05-25
Rio de Janeiro S000019, S000040 Extreme topology & complex roads. Cristo Redentor! Internal.2023-05-25
Liverpool S000295 Urban, coastal Internal.2023-05-25
Matola (Spain) S000708 Very rural area with high tree density - extreme edge case for per-mesh performance Internal.2023-05-25
Dublin S000702 River and coast Internal.2023-05-25
Barlow S000258 It's where our office is so we really know how it should look Internal.2023-05-24
Isle of Man S000738 The TT circuit! Internal.2023-05-24
London S000018 Dense mapping Internal.2023-05-24
Tuvalu S000003 There is a lot of coast Internal.2023-05-23
Kabul (AFG) S000129 Exceptionally dense buildings. Siarate Sakhi Shrine. Internal.2023-05-23
Liberty Island S000023, S000026 Lots of Coast. High-density Buildings. Statue of Liberty! Internal.2023-05-22
Included from...

Liverpool

Previously... Oasis.2023-02-23#Liverpool

Success! The smaller radius works a treat - and it's still wide enough to where the other Tiles are still part of the circle! Have some nice images:

20230224 LHC 001.jpg 20230224 LHC 002.jpg 20230224 LHC 003.jpg 20230224 LHC 004.jpg

This feels like a good point to leave Liverpool, and move on to the next Test Area - Kabul.

Kabul

Kabul is the capital of Afghanistan, and sits in a particularly mountainous area. Its buildings are also very densely mapped, and there's a beautiful shrine, the 'Sakhi Shah-e Mardan' Shrine, close to the center of it.

Yesterday, I created an M30, AS30 and Tile for this shrine, (which it very conveniently sits close to the middle of) so let's take a gander now.

  1. Initial Inspection
    • Copying the Tile
      C:\WINDOWS\system32> UE4_Z copy --tileids T000557
      
      OasisUE4.py                001545 Verbose1: 2023-02-24 09:44:02.070007
      Oasis.py                   000253 Verbose2: MeshesENU 100%
      Oasis.py                   000253 Verbose2: MeshesWorld 100%
      OasisUE4.py                000150 Verbose2: Tile AS30 Uassets 100%
      OasisUE4.py                001216 Info: T000557 is used by 0 Sites
      OasisUE4.py                001220 Verbose2: Copy T000557 OK
      OasisUE4.py                001563 Verbose1: Info: 00 Asset                                           = 1985
      OasisUE4.py                001563 Verbose1: Info: 01 Remote asset exists                             = 1985
      OasisUE4.py                001563 Verbose1: Info: 04 Copied                                          = 1985
      OasisUE4.py                001563 Verbose1: Info: 04 Local asset does not exist                      = 1985
      OasisUE4.py                001563 Verbose1: Info: Directory copied from remote (000119)              = 1
      OasisUE4.py                001569 Verbose1: OK (Exit=0)
      
    • Level Inspection
      20230224 LHC 005.jpg
      Something's wrong...
      20230224 LHC 006.jpg
      We're below-ground!
      20230224 LHC 007.jpg
      Some nice terrain in the distance, though.
      • I think I need to clean the Region!
  2. Region Cleaning
    • Add the M30 to the Region
      1. Which region is Afghanistan?
        lhc@S23:~$ find /var/www/html/Oasis/Data001/Regions/. -type d -exec sh -c 'grep -H "AFG" "$0/${0##*/}.json" && echo "$0/${0##*/}.json"' {} \;
        
        /var/www/html/Oasis/Data001/Regions/./R000020/R000020.json:   "ISO3166": "AFG",
        /var/www/html/Oasis/Data001/Regions/./R000020/R000020.json
        
      2. Add the M30 to the AFG Region
        lhc@S23:~$ alias ORU_AddKeys="sudo -u www-data /var/www/html/Oasis/Code/python/OasisRegionsUtility.py UPD20221130"
        
        lhc@S23:~$ ORU_AddKeys --regionids R000020 --jsonstrings '{"Dirty": ["34_45_00_N_069_15_00_E"], "Holes": ["34_45_00_N_069_15_00_E"]}'
        
        lhc@S23:~$ ORU_AddKeys --regionids R000020 --jsonstrings '{"Dirty": ["34_45_00_N_069_15_00_E"], "Holes": ["34_45_00_N_069_15_00_E"]}' --doit --overwrite
        OasisRegionsUtility.py     000830 Verbose1: 2023-02-24 10:16:22.652351
        OasisRegionsUtility.py     000831 Verbose1: uid  = 33
        OasisRegionsUtility.py     000832 Verbose1: euid = 33
        OasisRegionsUtility.py     000069 Verbose2: Processing directory R000020
        OasisRegionsUtility.py     000864 Verbose1: Info: Directory entries processed (000068)               = 1
        OasisRegionsUtility.py     000864 Verbose1: Info: Directory entries skipped (000066)                 = 257
        OasisRegionsUtility.py     000864 Verbose1: Info: Directory entries total (000063)                   = 258
        OasisRegionsUtility.py     000864 Verbose1: Info: Key 'Dirty' added (000602)                         = 1
        OasisRegionsUtility.py     000864 Verbose1: Info: Key 'Holes' added (000602)                         = 1
        OasisRegionsUtility.py     000864 Verbose1: Info: LockResponse Type=locksuccess (000077)             = 1
        OasisRegionsUtility.py     000864 Verbose1: Info: LockResponse Type=releasesuccess (000085)          = 1
        OasisRegionsUtility.py     000864 Verbose1: Info: Region JSON read (000081)                          = 1
        OasisRegionsUtility.py     000864 Verbose1: Info: Updated Region JSON written (000608)               = 1
        OasisRegionsUtility.py     000872 Verbose1: OK (Exit=0)
        
        lhc@S23:~$ alias M3U_AddKeysToM30="sudo -u www-data /var/www/html/Oasis/Code/python/OasisM30Utility.py UPD20220214"
        
        lhc@S23:~$ M3U_AddKeysToM30 --m30refs 34_45_00_N_069_15_00_E --jsonstrings '{"Regions": ["R000020"]}'
        
        lhc@S23:~$ alias ORU_RemoveM30s="sudo -u www-data /var/www/html/Oasis/Code/python/OasisRegionsUtility.py UPD20221226"
        
        lhc@S23:~$ ORU_RemoveM30s R000020 R000001
        
      3. Clean the Dirty Region
        lhc@S23:~$ RCL() { RQD=/var/www/html/Oasis/tmp/R10_Request; sudo touch $RQD/$1.json.lock; echo "{}" > $RQD/$1.json; sudo chown www-data:Oasis $RQD/$1.json; sudo chmod u=rw,g=rw,o= $RQD/$1.json; sudo rm $RQD/$1.json.lock; }
        
        lhc@S23:~$ RCL R000020
        

        20230224 LHC 008.jpg
        Much better.
        20230224 LHC 009.jpg
        The shrine's OSM building.
  3. Site Creation
    • Issue a Site Creation Request
      lhc@S23:~$ SCR --siteid S000129 --sitename "Sakhi Shrine, Kabul (AFG)" --kustomerid K000002 --lat 34.51994999252007 --lon 69.1466510295868 --kustomerref "Sakhi Shrine, Kabul (AFG)"; cat /var/www/html/Oasis/tmp/SCR00_Request/S000129.json
      
    • Clean the Site after adding the Tile reference
      lhc@S23:~$ SCL() { RQD=/var/www/html/Oasis/tmp/SCL00_Request; sudo touch $RQD/$1.json.lock; echo "{}" > $RQD/$1.json; sudo chown www-data:Oasis $RQD/$1.json; sudo chmod u=rw,g=rw,o= $RQD/$1.json; sudo rm $RQD/$1.json.lock; }
      
      lhc@S23:~$ SCL S000129
      
    • Exacttly what I'd expect to see with a Tile-hole for a single AS30:
      20230224 LHC 011.jpg
    • Issued AS30 Creation Requests for the 8 AS30's surrounding the Tile.
I Attachment Action Size Date Who Comment
20230224_LHC_001.jpgjpg 20230224_LHC_001.jpg manage 1 MB 24 Feb 2023 - 09:32 UnknownUser  
20230224_LHC_002.jpgjpg 20230224_LHC_002.jpg manage 635 K 24 Feb 2023 - 09:35 UnknownUser  
20230224_LHC_003.jpgjpg 20230224_LHC_003.jpg manage 924 K 24 Feb 2023 - 09:36 UnknownUser  
20230224_LHC_004.jpgjpg 20230224_LHC_004.jpg manage 710 K 24 Feb 2023 - 09:37 UnknownUser  
20230224_LHC_005.jpgjpg 20230224_LHC_005.jpg manage 33 K 24 Feb 2023 - 11:08 UnknownUser  
20230224_LHC_006.jpgjpg 20230224_LHC_006.jpg manage 285 K 24 Feb 2023 - 11:13 UnknownUser  
20230224_LHC_007.jpgjpg 20230224_LHC_007.jpg manage 58 K 24 Feb 2023 - 11:14 UnknownUser  
20230224_LHC_008.jpgjpg 20230224_LHC_008.jpg manage 171 K 24 Feb 2023 - 11:52 UnknownUser  
20230224_LHC_009.jpgjpg 20230224_LHC_009.jpg manage 155 K 24 Feb 2023 - 11:53 UnknownUser  
20230224_LHC_010.jpgjpg 20230224_LHC_010.jpg manage 267 K 24 Feb 2023 - 12:41 UnknownUser  
20230224_LHC_011.jpgjpg 20230224_LHC_011.jpg manage 58 K 24 Feb 2023 - 12:43 UnknownUser  
Topic revision: r2 - 28 Feb 2023, lhc
Warning: Can't find topic Oasis.WebLeftBarExample

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback