UNCLASSIFIED 1.1.1 Opticks-1531: Geographic Features Enhancements 1.1.1.1 Test Objectives This test verifies the fix for the following problem: Allow the user to be able to tie the symbology used to display a feature in a spatial data view to attributes in the feature layer's attribute table. Allow the user to be able to view the attribute values of a feature in a table format. Allow the user to be able to export a subset of a feature in shapefile format. 1.1.1.2 Prerequisite Conditions, Assumptions and Constraints User has basic understanding of Opticks functionality. 1.1.1.3 Inputs/Test Data A georeferenced dataset (Geo Tiff). o wpafb.tif A shape file containing polygon shapefiles o wpafb_roads.shp 1.1.1.4 Test Procedure Table The Test Procedure Table defines the steps for the test case. Table Error! No text of specified style in document.-1. Opticks-1526 Test Procedure Test ID A. step Tester/Operator Actions Expected Result Requirem ent View the attribute values of a feature in a table format. A.1. Launch Opticks v4.12. Opticks launches. UNCLASSIFIED Actual Result Pass/ Fail UNCLASSIFIED Test ID step Tester/Operator Actions A.2. Import a Geo Tiff. A.3. Browse to, left click on, Expected Result Requirem Actual Result ent Pass/ Fail Shapefile loades. and drag a shape file containing polygon shapefiles into Opticks. A.4. Right click on the imported An option to "Display shapefile in the Session Geographic Explorer. Features Table" appears. A.5. B. Select the table option. The "Geographic The "Geographic Features Window" Features Window" appears. appeared. Select one or more of the The corresponding The corresponding attributes (Polygons/rows) shapes in spatial shapes in spatial in the table. data view are data view were highlighted/selected. highlighted/selected. Pass Tie the symbology used to display a feature in a spatial data view to attributes in the feature layer's attribute table. B.1. C. Export a subset of a feature in shapefile format. C.1. Activate the Poly shape file layer via the session explorer. C.2. Activate the Layer Edit Mode via the ""Layer Edit Mode icon”. UNCLASSIFIED Pass UNCLASSIFIED Test ID C.3. step Tester/Operator Actions Expected Result Select one or more of the The corresponding Polygons in the Spatial attributes Data View. (Polygons/rows) in Requirem Actual Result ent Pass/ Fail the table were highlighted/selected. C.4. Right click on one or more A context menu rows (polygons) in the appears allowing the Geographic Feature user the ability to Window. select "Zoom To" or "Export". C.5. Select ""Zoom To"" from The view adjusted to the Attribute Table context (zoomed in on) the menu. extent of all polygons selected. C.6. Right click on one or more A context menu rows (polygons) in the appeared allowing Geographic Feature the user the ability to Window. select "Zoom To" or "Export". C.7. Select "Export" from the An export dialog Attribute Table in the appeared allowing Geographic Feature the user the ability to Window. specify the name and location of the file to save the selected features (i.e. save a subset of the Attribute table). C.8. Complete the save The shape file is The shape file was operation using the Shape saved to the saved to the File Exporter. designated location. designated location. UNCLASSIFIED Pass UNCLASSIFIED Test ID C.9. step Tester/Operator Actions Expected Result Browse to, right click on, Import Options and drag the saved shape dialog opens. Requirem Actual Result ent Pass/ Fail file into Opticks (Import and show options dialog). C.10. D. Click “Shapefile” tab, then The shape file The shape file “Display” tab and change imports without imported without the line color to something error, the subset of error, the subset of other than the default. lines are overlaid on lines was overlaid on the original lines in the original lines in the new color the the new color the shapefile was listed shapefile was listed as a layer in the as a layer in the session explorer. session explorer. With the Geographic The user can The window Feature Window still open, undock the window undocked and other undocked the window (via and perform other operations were able right click on the title bar at operations while the to be performed. the top of the window), and Geographic Feature perform an operation Window is open requiring the use of an (i.e., the Attribute additional window (e.g. a Table is non-modal) Additional enhancement verification. D.1. Pass histogram operation) " D.2. Clicked on each of the The rows are sorted The rows were columns in the Attribute based on the sorted based on the Table in the Geographic column attribute column attribute Feature Window selected selected UNCLASSIFIED Pass UNCLASSIFIED Test ID D.3. D.4. step Requirem Actual Result Tester/Operator Actions Expected Result Rename one of the The corresponding The corresponding polygons in the shape file row in the Attribute row in the Attribute layer via the session Table is updated Table was updated explorer with the name with the name change. change. Display the Properties A dialog appears A dialog appeared Dialog for the Shapefiles that contained a tab that contained a tab layer via the session for Display features for Display features Click on the Display tab in Display features Display features now the properties dialog. now include the include the capability capability to create to create queries to queries to display display the shape file the shape file polygons in the polygons in the Spatial Data View Spatial Data View based on selected based on selected polygon/polyline polygon/polyline attributes and values attributes and values from shape files. The from shape files. Attribute Display The Attribute Selection includes Display Selection defaults for newly includes defaults for added values. ent Pass/ Fail Pass Pass explorer D.5. newly added values. UNCLASSIFIED Pass UNCLASSIFIED Test ID D.6. step Requirem Actual Result Tester/Operator Actions Expected Result Add a display query (via The line/fill colors of The line/fill colors of the Edit/Add Query each added new each added new feature) based on specified query default to the query defaulted to shape file attributes and colors given for all the colors given for values and applied the objects. The all objects. The query Attribute Display Attribute Display Selection has the Selection had the ability to set ability to set individual display individual display values for each values for each attribute. The attribute. The display display of the of the polygons polygons updated updated according to according to the the properties properties selected selected in the in the queries (the queries (the labels labels designated in designated in the the "Fields" section "Fields" section of the of the properties properties dialog are dialog are not not updating) ent Fail updating) D.7. Save the Query to a The file is saved to The file was saved to designated file name and the designated the designated location via the Edit/Save location. location. feature in the Display tab of the properties dialog D.8. Restore the saved query The open operation via the Edit/Open feature in restored (re- the Display tab of the populated) the query properties dialog. fields and values. UNCLASSIFIED Pass/ Pass UNCLASSIFIED Test ID D.9. step Tester/Operator Actions Expected Result Create a shapefile query to The new query run on other geotiffs from name appears as a the Opticks menu without feature within the specifically importing a Geographic shape file (via the Features menu in Geographic Features Opticks. Requirem Actual Result ent Pass/ Fail menu). D.10. Delete the polygon Shapefile is deleted. shapefile from the session explorer D.11. Executed the new query The polygons are The polygons were via the Geographic marked in the marked in the Spatial Features menu Spatial Data via as Data via as specified specified by the by the query and the query and the results of the query results of the query appeared as a layer appear as a layer in in the session the session explorer. explorer. UNCLASSIFIED Pass