TerraLib and TerraView Wiki Page

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
wiki:documentation:pre_release_tests [2017/03/09 18:01]
marisa created
wiki:documentation:pre_release_tests [2018/03/02 10:58]
marisa [Contrast...]
Line 1: Line 1:
-====== Pre-Release Tests Guide UNDER DEVELOPEMENT======+====== 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 ideia is to execute all of then just before releasing a new version of TerraView.
Line 107: Line 107:
 | Concentracao_CR2010.csv |do not change [OK]         | none|1 Tabular Layer| |p_add_layer| | Concentracao_CR2010.csv |do not change [OK]         | none|1 Tabular Layer| |p_add_layer|
 | Concentracao_CR2010.csv |Change Property type String to Int [OK] | none|1 Tabular Layer| ​ |           | | Concentracao_CR2010.csv |Change Property type String to Int [OK] | none|1 Tabular Layer| ​ |           |
-| fire_spot_sp.csv.csv |Change LAT and LONG to Double,​click Geometry, choose LONG LAT [OK] | |1 Vector Layer POINT| ​Tabular icon? |        |+| fire_spot_sp.csv.csv |Change LAT and LONG to Double,​click Geometry, choose LONG LAT [OK] | |1 Vector Layer POINT| ​Changing "​Encoding"​ to "​Latin1"​ does not work. Before adding this cvs file, open it at Notepad++ and Format, use Convert to UTF-8 (without BOM)  ​|        |
  
 === Vector File... ===  === Vector File... === 
-^Select from dir '​shps'​ ^ Results ^^ +^Select from dir 'shps' or 'kml' ^ Results ​^^^ 
-^ Input Layer ^ Layer Explorer ^ [Save Project]^+^ Input Layer ^ Layer Explorer ^ [Save Project]^ Known Issues^
 | br_uf_2010.SHP |br_uf_2010| p_add_layer| | br_uf_2010.SHP |br_uf_2010| p_add_layer|
 | 15MUE250GC_SIR.shp |15MUE250GC_SIR| p_add_layer | | 15MUE250GC_SIR.shp |15MUE250GC_SIR| p_add_layer |
 +| PA_15-PA.kmz|One layer for each municipio of '​Pará'​ state and one called '​Municipios'​| p_add_layer |1) if the kmz file is added in a '​Folder layer',​ all files will be under the folder (from 5.3.0 on); 2) a layer called '​Municípios'​ is not visible because has zero geometry; 3) use Drag and Drop kmz files ou use ADD Layer, Vector Files (*.*) |
 +| SP35_SP_capital.kml |Layers: '​Municípios'​ and SÃO PAULO| p_add_layer |same comment above |
  
 === Raster File... === === Raster File... ===
 ^Select from dir '​rasters_t'​ ^ Results ^^ ^Select from dir '​rasters_t'​ ^ Results ^^
 ^ Input Layer ^ Layer Explorer ^ [Save Project]^ ^ Input Layer ^ Layer Explorer ^ [Save Project]^
-| CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif |CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif|p_add_layer|+|CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif |CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif|p_add_layer| 
 +|MCD12Q1.A2001001.h13v10.051.2014287162609.hdf (unzip)|several layers (subdatasets with diferent names) ​|p_add_layer|
  
  
-===== Project | Add Layer | From Data Source... =====+===== Project | Add Layer | From Data Source... ​(Local Directory of Vector or Raster files) ​=====
  
 ^Data Source Selector ​ ^^^ Dataset Selection ​ ^^ Results ^^^ ^Data Source Selector ​ ^^^ Dataset Selection ​ ^^ Results ^^^
 ^ Type ^ Available Data Sources^ Select^Check box all/​some ​ ^ Select^ ​ Layer Explorer ^ [Save Project]^ Known Issues^ ^ Type ^ Available Data Sources^ Select^Check box all/​some ​ ^ Select^ ​ Layer Explorer ^ [Save Project]^ Known Issues^
-| Vector Files | C:/​data_TL/​SHPs | Select| BR_UF_2010 |Select| BR_UF_2010 |p_add_layer| |+| Vector Files | C:/​data_TL/​SHPs ​or RSTs | Select| BR_UF_2010 |Select| BR_UF_2010 |p_add_layer| |
 | Vector Files | (+)  Define OGR Connector C:/​data_TL/​SHPs + Open|Select|br_uf_2010|Select |br_uf_2010|p_add_layer| | | Vector Files | (+)  Define OGR Connector C:/​data_TL/​SHPs + Open|Select|br_uf_2010|Select |br_uf_2010|p_add_layer| |
 | Raster Files | (+)  Define GDAL Connector C:/​data_TL/​RSTs + Open|Select|raster file|Select |raster file|p_add_layer| Only raster format allowed at this directory ?? if some shapes or other things CAI| | Raster Files | (+)  Define GDAL Connector C:/​data_TL/​RSTs + Open|Select|raster file|Select |raster file|p_add_layer| Only raster format allowed at this directory ?? if some shapes or other things CAI|
- + 
 +===== Project | Add Layer | From Data Source... (From Microsoft Access or PostGIS) ===== 
 + 
 +^Data Source Selector ​ ^^^ Dataset Selection ​ ^^ Results ^^^ 
 +^ Type ^ Available Data Sources^ Select^Check box all/​some ​ ^ Select^ ​ Layer Explorer ^ [Save Project]^ Known Issues^ 
 +| PostGIS | (+)  Define PostGIS Connector((Example:​ Title/​Description are optional; Server: localhost/​goes.dpi.inpe.br,​ Port:5432, User: amazon, Password: xxxx, Database: mydatabase - goes.dpi.inpe.br@pratica_celulas@amazon or localhost@pratica_celulas@amazon)) ​ + Open|Select|br_uf_2010|Select |br_uf_2010|p_add_layer| You must have a PostGIS datasource (local / Server) | 
 +| M Access| (+)  Define Access Connector((Example:​ Title/​Description are optional; Provider: Microsoft.ACE.OLEDB.12.0;​ File/URL: C:/​data_TL/​pratica_celulas.accdb)) ​ + Open|Select|br_uf_2010|Select |br_uf_2010|p_add_layer|You must have a Access Datasource | 
 + 
 +===== Project | Add Layer | From Data Source... (WCS/​WFS/​WMS) ===== 
 + 
 +^Data Source Selector ​ ^^^ Dataset Selection ​ ^^ Results ^^^ 
 +^ Type ^ Available Data Sources^ Select^Check box all/​some ​ ^ Select^ ​ Layer Explorer ^ [Save Project]^ Known Issues^ 
 +| WCS| (+)  Define WCS Connector((Example:​ Title: TerraAmazon;​ Description:​ TerraAmazon Data for tests; Service: http://​terrabrasilis.info/​terraamazon/​ows)) + Test/Open |Select|click one/some of then|Select |layers selected|p_add_layer| Time out might occur  | 
 +| WFS| (+)  Define WFS Connector((Example:​ Title/​Description are optional; http://​www.geoservicos.ibge.gov.br:​80/​geoserver/​wfs))+ Test/​Open|Select|click one/some of then|Select |layers selected|p_add_layer|Time out might occur | 
 +| WMS| (+)  Define WMS Connector((Example:​ Title/​Description are optional; http://​terrabrasilis.info/​terraamazon/​ows ))+ Test/​Open|Select|click one/some of then|Select |layers selected|p_add_layer|Time out might occur |
 ===== Project | Add Layer | Query Dataset... ===== ===== Project | Add Layer | Query Dataset... =====
  
Line 143: Line 160:
 ^Select from dir '​rasters_t'​^^^^^ Results ^^ ^Select from dir '​rasters_t'​^^^^^ Results ^^
 ^ Layer (...) ^ Band ^ Operation ^ Layer (...) ^ Band ^ Output name ^ Known issues ^ ^ Layer (...) ^ Band ^ Operation ^ Layer (...) ^ Band ^ Output name ^ Known issues ^
-| CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | 1 + | / | CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | 2 + | t_arithmetic.tif | Check //​Normalize//,​ the original green circles will result in white circles |+| CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | 1 + | / | CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | 2 + | t_arithmetic.tif | Keep //​Normalize// ​option checked, the original green circles will result in white circles |
  
 === Clipping... === === Clipping... ===
Line 162: Line 179:
 ^Select from dir '​rasters_t'​^^^^^ Results ^^ ^Select from dir '​rasters_t'​^^^^^ Results ^^
 ^ Layer (...) ^ Type ^ Options ^ Bands ^ Components ^ Output name ^ Known issues ^ ^ Layer (...) ^ Type ^ Options ^ Bands ^ Components ^ Output name ^ Known issues ^
-| CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | Linear | //None selected.// | 0 -> CBERS4_PAN_RED,​ 1 -> CBERS4_PAN_NIR,​ 2 -> CBERS4_PAN_GREEN | vegetation -> //green color// (point selection in //tools// and select a point in the image), shadow -> //yellow color//, bare_soil -> //red color// | t_mixturemodel_linear.tif | Observe each output band individually,​ the brightest pixels in the //​bare_soil//​ band will be related to pixels similar to bare soil, and so on for the other 2 classes. | +| CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | Linear | //None selected.// | 0 -> CBERS4_PAN_RED,​ 1 -> CBERS4_PAN_NIR,​ 2 -> CBERS4_PAN_GREEN | vegetation -> //green color// (point selection in //tools// and select a point in the image), shadow -> //yellow color//, bare_soil -> //red color// ​(or //import// t_mixturemode.json) ​| t_mixturemodel_linear.tif | Observe each output band individually,​ the brightest pixels in the //​bare_soil//​ band will be related to pixels similar to bare soil, and so on for the other 2 classes. | 
-FIXME CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | **PCA** | //None selected.// | 0 -> CBERS4_PAN_RED,​ 1 -> CBERS4_PAN_NIR,​ 2 -> CBERS4_PAN_GREEN | vegetation -> //green color// (point selection in //tools// and select a point in the image), shadow -> //yellow color//, bare_soil -> //red color// | t_mixturemodel_linear.tif | Observe each output band individually,​ the brightest pixels in the //bare_soil// band will be related to pixels similar to bare soil, and so on for the other 2 classes. |+| CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | PCA | //None selected.// | 0 -> CBERS4_PAN_RED,​ 1 -> CBERS4_PAN_NIR,​ 2 -> CBERS4_PAN_GREEN | vegetation -> //green color// (point selection in //tools// and select a point in the image), shadow -> //yellow color//, bare_soil -> //red color// ​(or //import// t_mixturemode.json) ​t_mixturemodel_pca.tif | The same as previous (//Linear type//). |
  
  
Line 169: Line 186:
  
 ^ Select from dir '​rasters_t'​^^^^ Results ^^ ^ Select from dir '​rasters_t'​^^^^ Results ^^
-^ Layer (...) ^ Type ^ Operation -> Bands ^ Min/​Max ​^ Output name ^ Known issues ^ +^ Layer (...) ^ Type ^ Operation -> Bands ^ Decompose Bands ^ Output name ^ Known issues ^ 
-| CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | RGB - IHS | Red (0), Green (1), Blue (2) | 0, 255 | t_colortransform_rgbihs.tif | Contrast ​is needed to view the results ​+FIXME CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | RGB - IHS | Red (0), Green (1), Blue (2) | uncheck ​| t_colortransform_rgbihs.tif | Even with or without applying contrast, no result ​is shown (although reverse transform is now ok) 
-FIXME t_colortransform_rgbihs.tif | IHS - RGB | Intensity (0), Hue (1), Saturation (2) | -DBL_MAX+DBL_MAX ​t_colortransform_ihsrgb.tif | Weird values ​(//wrong//) in Min/Max fieldseven using Min/Max -0/1 |+| t_colortransform_rgbihs.tif | IHS - RGB | Intensity (0), Hue (1), Saturation (2) | uncheck | t_colortransform_ihsrgb.tif ​| - 
 + 
 +=== Rasterization... === 
 + 
 +^ Select from dir '​rasters_t'​^^^^^ Results ^^ 
 +^ Layer (...) ^ Feature ^ Precision ^ Res X ^ Res Y ^ Output name ^ Known issues ^ 
 +| t_vectorization.shp (obtained from vectorizationwhich was obtained by segmentation) ​FID | 6 | 50 | 50 | t_rasterization.tif | Output image with 225 columns and 151 lines. Some polygons were not rasterized in this resolution ​(and also with Res X = Res Y = 25). | 
 + 
 + 
 +=== Segmentation... === 
 + 
 +^ Select from dir '​rasters_t'​^^^^^^ Results ^^^ 
 +^ Layer (...) ^ Type ^ Minimum size ^ Threshold ^ Other options ^ Bands ^ Advanced Options ^ Output name ^ Known issues ^ 
 +| CBERS_4_PAN10M_20161028_152_114_CROP2_L4_BANDS_342.tif | Region Growing (mean) | 100 | 0,030 | //none// | 0, 1, 2 | Check //block processing//,​ and //allow threads// | t_segmentation_mean.tif | - |  
 +| CBERS_4_PAN10M_20161028_152_114_CROP2_L4_BANDS_342.tif | Region Growing (Baatz| 100 | 0,030 | color 0,90 and compacity 0,50 | 0, 1, 2 (//0,333 for all weights//) | Check //block processing//,​ and //allow threads// | t_segmentation_baatz.tif | |  
 + 
 +=== Vectorization... === 
 + 
 +^ Select from dir '​rasters_t'​^^^ Results ^^ 
 +^ Layer (...) ^ Parameters ^ Maximum geometries ^ Output name ^ Known issues ^ 
 +| t_segmentation_mean.tif (//obtained from segmentation test//) | Band (parameter ​//Layer// is useless here) | unchecked | t_vectorization.shp | Output shapefile with 271 geometries | 
 + 
 + 
 +=== Raster Slicing... === 
 + 
 +^ Select from dir '​rasters_t'​^^ Slices ^^^^ Results ^^ 
 +^ Layer (...) ^ Band ^ Minimum ^ Maximum ^ Step ^ Precision^ Output name ^ Known issues ^ 
 +| CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | 0 | 50 | 150 | 25 | | t_rasterslicing.tif | The '​slices Number'​ option does not reflect in the results, only in the Histogram (other tab). Option '​Equalize histogram'​ did not result in modifications on the output. ​|
  
 === 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 183: 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... ===
  
 ^Select from dir '​rasters_t'​^^^^ Results ^^ ^Select from dir '​rasters_t'​^^^^ Results ^^
 ^ Layer (...) ^ Type ^ Bands ^ Parameters ^ Output name ^ Known issues ^ ^ Layer (...) ^ Type ^ Bands ^ Parameters ^ Output name ^ Known issues ^
-| CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | ISOSeg | 0, 1, 2 | Layer of Polygons ​//INSERT HERE WHEN READY//other parameters //​default// ​| t_classification_isoseg.tif |  |+| CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | ISOSeg | 0, 1, 2 | t_vectorization.shp (obtained from vectorization,​ which was obtained by segmentation),​ Threshold ​75%Distance = Mahalanobis ​| t_classification_isoseg.tif |  |
 | CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | K-Means | 0, 1, 2 | Number of clusters = 5, other parameters //default// | t_classification_kmeans.tif |  | | CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | K-Means | 0, 1, 2 | Number of clusters = 5, other parameters //default// | t_classification_kmeans.tif |  |
 | CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | MAP | 0, 1, 2 | //None// | t_classification_map.tif | Import SHP with samples, //​t_rois.shp//​ | | CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | MAP | 0, 1, 2 | //None// | t_classification_map.tif | Import SHP with samples, //​t_rois.shp//​ |
Line 272: Line 319:
 | br_munic_2001.shp | |onlySP.shp | | Move all/some attr from left to right|t_inters1|t_inters1|p_inters.tview|Only SP| | br_munic_2001.shp | |onlySP.shp | | Move all/some attr from left to right|t_inters1|t_inters1|p_inters.tview|Only SP|
  
-                 +===== Layer Explorer| Right Button ===== 
 + 
 +=== Link... (over layers (puplic.pa_15dse250gc_s) stored in 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^ 
 +| 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| 
 + 
 +  ​