Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
wiki:documentation:pre_release_tests [2017/05/26 15:33] marisa |
wiki:documentation:pre_release_tests [2020/10/26 17:18] marisa [Project | Add Layer | From Data Source... (WCS/WFS/WMS)] |
||
---|---|---|---|
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 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 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]^ Known Issues^ | ^ 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| p_add_layer |if this file is add in a folder layer, only the first one is put inside - the others must be moved;a layer called 'Municípios' is not visible because has zero geometry; | | + | | 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 | | | SP35_SP_capital.kml |Layers: 'Municípios' and SÃO PAULO| p_add_layer |same comment above | | ||
Line 120: | Line 120: | ||
^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: TerraBrasilis_WCS; Description: TerraBrasilis Data for tests; Service: http://terrabrasilis.dpi.inpe.br/geoserver/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.dpi.inpe.br/geoserver/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 145: | 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 171: | 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 fields, even using Min/Max -> 0/1 | | + | | t_colortransform_rgbihs.tif | IHS - RGB | Intensity (0), Hue (1), Saturation (2) | uncheck | t_colortransform_ihsrgb.tif | - | |
=== Rasterization... === | === Rasterization... === | ||
Line 187: | Line 202: | ||
^ Layer (...) ^ Type ^ Minimum size ^ Threshold ^ Other options ^ Bands ^ Advanced Options ^ Output name ^ Known issues ^ | ^ 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 (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 | FIXME using default parameters the actual result is //Segmenter initialization error. Unable to initialize the segmentation strategy// | | + | | 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... === | === Vectorization... === | ||
Line 198: | Line 213: | ||
=== Raster Slicing... === | === Raster Slicing... === | ||
- | ^ Select from dir 'rasters_t'^^ Slices ^^^ Results ^^ | + | ^ Select from dir 'rasters_t'^^ Slices ^^^^ Results ^^ |
- | ^ Layer (...) ^ Band ^ Minimum ^ Maximum ^ Step ^ Output name ^ Known issues ^ | + | ^ 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. | | + | | CBERS_4_PAN10M_20161028_152_144_CROP2_L4_BANDS_342.tif | 0 | 50 | 150 | 25 | 1 | 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 212: | 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 histogram. To see graphic, use CTRL + SCROLL mouse to repositioning and SCROLL mouse to zoom| | ||
=== Classification... === | === Classification... === | ||
Line 271: | 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 300: | Line 318: | ||
| 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| | ||
| 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 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^ | ||
+ | |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.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| | ||
+ | |||
| |