TerraLib and TerraView Wiki Page

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wiki:documentation:pre_release_tests [2017/12/20 17:10]
marisa
wiki:documentation:pre_release_tests [2018/06/21 10:53]
marisa
Line 1: Line 1:
 ====== Pre-Release Tests Guide ====== ====== Pre-Release Tests Guide ======
  
-The minimum set of tests to be executed over an installed version of TerraView are described bellow. The ideia is to execute all of then just before releasing a new version of TerraView.+The minimum set of tests to be executed over an installed version of TerraView are described bellow. The idea is to execute all of then just before releasing a new version of TerraView.
  
 All data are stored at http://​www.dpi.inpe.br/​terralib5-devel/​data_teste/​. Other data are available at http://​www.dpi.inpe.br/​terralib5-devel/​data.zip ​ and are used by executable examples and unittests. All data are stored at http://​www.dpi.inpe.br/​terralib5-devel/​data_teste/​. Other data are available at http://​www.dpi.inpe.br/​terralib5-devel/​data.zip ​ and are used by executable examples and unittests.
Line 8: Line 8:
 |AMZ_shapes |Big shapes of Amazonia | |AMZ_shapes |Big shapes of Amazonia |
 |Animation.zip |data used to test the Spatial Temporal | |Animation.zip |data used to test the Spatial Temporal |
-|Data_TView-4.1.1_to_convert ​|TView4.2.2 datasources to test the converter|+|mdb_TView4.2.2_to_convert ​|TView4.2.2 datasources to test the converter|
 |ESRIDATA |data of North America | |ESRIDATA |data of North America |
 |PARA_STATE |big shapes of Pará State | |PARA_STATE |big shapes of Pará State |
Line 21: Line 21:
 |rasters| some rasters files| |rasters| some rasters files|
 |shps| some shapefiles and other vector format like KML, mid/mif files| |shps| some shapefiles and other vector format like KML, mid/mif files|
 +|shps/| several zip files to be used in tests|
    
 Each test must have: Each test must have:
Line 219: Line 219:
 === Contrast... === === Contrast... ===
  
-^ Select from dir '​rasters_t'​^^^^ Results ^^+^ Select from dir '​rasters_t'​^^^^ Results- Check report [[http://​www.dpi.inpe.br/​terralib5-devel/​data_teste/​rasters/​rasters_t/​r_histogram.txt|r_histogram.txt]] ​^^
 ^ Layer to select ^ Type ^ Histogram Area ^ Min/Max ^ Output name ^ Known issues ^ ^ Layer to select ^ Type ^ Histogram Area ^ Min/Max ^ Output name ^ Known issues ^
 | CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | Linear | Use All Image | Band 0 -> 34, 174 (//select values in histogram//​) | t_contrast_linear.tif | The resultant image get a reddish aspect (//contrast was applied mainly in R band//) | | CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | Linear | Use All Image | Band 0 -> 34, 174 (//select values in histogram//​) | t_contrast_linear.tif | The resultant image get a reddish aspect (//contrast was applied mainly in R band//) |
Line 227: Line 227:
 | CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | Log | Use All Image | Use detected values | t_contrast_log.tif | The resultant image gets a //very// foggy aspect, with good contrast in dark areas. | | CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | Log | Use All Image | Use detected values | t_contrast_log.tif | The resultant image gets a //very// foggy aspect, with good contrast in dark areas. |
 | CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | Mean and Std | Use All Image | Band 0, 1, 2 -> Mean (127), Std (50) | t_contrast_mean_std.tif | Result presents a saturated aspect. | | CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | Mean and Std | Use All Image | Band 0, 1, 2 -> Mean (127), Std (50) | t_contrast_mean_std.tif | Result presents a saturated aspect. |
-CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | Decorrelation ​| Use All Image | - | t_contrast_decorrelation.tif | The resultant image gets a greenish/​bluish aspect. |+LO82190762017351CUB00_B5_crop.tif | Linear| Use All Image | band 0 | t_contrast_linear16bits.tif | Problem: Vertical scale differ from Layer RightMouse->​Histogram | 
 +| LO82190762017351CUB00_B5.tif | Linear| Use All Image | band 0 | t_contrast_linear16bits_noDummyDefined.tif | Problem: No histogram. If dummy is defined to 0 - the graphic appear| 
 +| CBERS_4_MUX_20150524_153_125_L4_BAND5.zip and band 6,7,8 | Linear| Use All Image | band 5 | t_contrast_mux.tif | Unsigned char ->OK| 
 +| CBERS_4_AWFI_20180102_173_123_L4_BAND13.zip and band 14,15,16 | Linear| Use All Image | band 13 t_contrast_cbersawfi.tif |Problem: No histogramTo see graphic, use CTRL + SCROLL mouse to repositioning and SCROLL mouse to zoom|
 === Classification... === === Classification... ===
  
Line 286: Line 289:
 ===== Processing| Vector Processing | Geometric Operations... ​ (Convex Hull, Centroid, MBR, Area, Perimeter)| ​ ===== ===== Processing| Vector Processing | Geometric Operations... ​ (Convex Hull, Centroid, MBR, Area, Perimeter)| ​ =====
  
-^#​Test^Select ​ from dir '​shps'​ ^ Main Interface Options^^^ Results ​- Check report [[http://​www.dpi.inpe.br/​terralib5-devel/​data_teste/​shps/​r_vp_geoOp2017.txt|r_vp_geoOp2017.txt]] ​^^+^#​Test^Select ​ from dir '​shps'​ ^ Main Interface Options^^^ Results ^^
 ^ Verify?​^Input Layer ^ Output Attributes ^ Operations ^Output Repository/​Layer^ Layer Explorer ^ [Save Project]^ ^ Verify?​^Input Layer ^ Output Attributes ^ Operations ^Output Repository/​Layer^ Layer Explorer ^ [Save Project]^
-|Test1| cells6000x6000_setor_censit.shp ​ |Move all attr from left to right|Area , Perimeter |t_vp_geoOp_area_perim|t_vp_geoOp_area_perim|p_r_vp_geoOp2017.tview| +|Test1| cells6000x6000_setor_censit.shp ​ |Move all attr from left to right|Area , Perimeter |t_vp_geoOp_area_perim|t_vp_geoOp_area_perim((check the two new attr with area e perimeter))|p_r_vp_geoOp2017.tview| 
-|Test2| setores_centitarios_2000_pol.shp ​ |Move all attr from left to right|Convex Hull, Centroid, Minimum Bounding Box|Output Repository/​t_vp_geoOp| t_vp_geoOp_conver_hull,​ t_vp_geoOp_centroid,​ t_vp_geoOp__mbr |p_r_vp_geoOp2017.tview|+|Test2| setores_centitarios_2000_pol.shp ​ |Move all attr from left to right|area, perim,Convex Hull, Centroid, Minimum Bounding Box|Output Repository/​t_vp_geoOp| t_vp_geoOp_conver_hull,​ t_vp_geoOp_centroid,​ t_vp_geoOp__mbr ​((check the two new attr with area e perimeter))|p_r_vp_geoOp2017.tview|
  
 ===== Processing| Vector Processing | ===== ===== Processing| Vector Processing | =====
Line 318: Line 321:
 ===== Layer Explorer| Right Button ===== ===== Layer Explorer| Right Button =====
  
-=== Link... (over layers ​(puplic.pa_15dse250gc_s) ​stored in Postgis user:amazon Host:​goes.dpi.inpe.br Port:5432 Passw:​**** ​===+=== Link... (over layers ​from PGIS public.pa_15dse250gc_s ​and public.basic_pa_conv_sendom)-  ​Postgis user:amazon Host:​goes.dpi.inpe.br Port:5432 Passw:​**** ​ ===
 ^ Dataset 1 & Linked Column (select)^ DataSet 2 & Linked Column (choose tabular file) ^ Output Linked layer ^ [Save Project]^ Know Issues^ Status^ ^ Dataset 1 & Linked Column (select)^ DataSet 2 & Linked Column (choose tabular file) ^ Output Linked layer ^ [Save Project]^ Know Issues^ Status^
-| public.pa_15dse250gc_s & pa_15dse250gc_s.cd_geocodd| basic_pa_conv_sendom & cod_distrit|lk_pa_basic| p_link | The second layer must be tabular| OK| +|public.pa_15dse250gc_s & pa_15dse250gc_s.cd_geocodd| basic_pa_conv_sendom & cod_distrit|lk_pa_basic| p_link | The second layer must be tabular| OK| 
-| public.basic_pa_conv_sendom & cod_municipio| public.concentracao_cr2010 & geocodm|lk_tabular2| p_link | The first and second layers are tabular| OK|+|public.basic_pa_conv_sendom & cod_municipio| public.concentracao_cr2010 & geocodm|lk_tabular2| p_link | The first and second layers are tabular| OK| 
 +|public.mapa_distritos_sp & mapal_deno| public.HOSPITAIS_SP & distrito|lk_tabular4| p_link |1:N - link works if DATASOURCE PGIS is used | OK| 
 + 
 +=== Link... (over layers stored in a Directory shp/​link_table.zip ) === 
 +| mapa_distritos_sp & mapal_deno| HOSPITAIS & distrito|lk_tabular3| p_link | Both files should be at the same DIR, and a datasource should be defined before adding both files to TView. ((define a Datasource as Directory; add From Datasource->​Vector Files-> select DIR and add both files, otherwise - msg of error)). If 1:N link, it will be transformed in 1:1 | OK| 
 + 
 +=== Link... (over layer stored in a ACCESS datasource ) === 
 +|mapa_distritos_sp & mapal_deno| HOSPITAIS_SP & distrito|lk_tabular4| p_link |it is not working: (("No tabular data available to be linked in the selected Data Source."​)) | error MSG|        ​
  
   ​   ​