Using ArcIMS 10
Querying, selecting, and buffering data expand/collapse all

expand/collapse item About querying, selecting, and buffering data

The Java Viewers have several options for you to select, query, and buffer data:

expand/collapse item How to query, select, and buffer data

expand/collapse item Identifying features

  1. Click a layer in the legend to make it active.
  2. Click Identify on the toolbar.
  3. Click a feature on the map.

    The Identify Results dialog box appears, displaying attribute information about the feature that you clicked.

  4. If more than one feature is listed, click a feature in the left panel to see its attribute information. To avoid clicking more than one feature, zoom in before using the Identify tool.

expand/collapse item Finding features

  1. Click Find on the toolbar.
  2. The Find dialog box appears.

  3. Type the text string to search for in the Value text box.

    Do not use quotes around a text string. The text is case sensitive.

  4. Click a layer in the list box. Hold down the Ctrl key and click multiple layers to search for features from more than one layer.
  5. Click Find.

    A list of features with an attribute value matching the search string appears in the Find dialog box. You can see the complete attribute value matching the string that you typed. You can also see the Field to which the attribute value belongs.

  6. Click a feature to highlight it on the map.
  7. Click Pan To or Zoom To to pan or zoom to it.
  8. Click Close to close the Find dialog box.

expand/collapse item Querying features

  1. Click a layer in the legend to make it active.
  2. Click Query Builder on the toolbar.
  3. In the Select a field list box, click a field.
  4. Click an operator.

    A message box might appear warning you that there are more than 100 values in the chosen field. Click Yes to add all of the values to the Values list box or No to add only a sample set of values.

  5. Click a value in the Values list box or type a value in the expression text box.
  6. Continue building your query expression as described above.
  7. If you make a mistake, you can click Undo to remove the last element you added to the query string or click Clear to clear the entire query string.

  8. When you are done building the query, click Execute.

    A list of matching features appears in tabular format in the bottom panel of the Query Builder dialog box. The features are also highlighted on the map.

  9. Click one of the features to select it.
  10. Click Pan or Zoom to pan or zoom to the feature.
  11. Click Highlight to highlight only the selected feature.
  12. Click Statistics to calculate statistics for the features.
  13. Check Use Query Results to get statistics for the selected features. Otherwise, you will get statistics for the entire layer.

  14. The results of a query can be saved to a text file by clicking the Save Results button. In the Save dialog box, type a file name with a .txt extension. The contents of the text file can be analyzed using other software, such as a statistics or spreadsheet program.
  15. Close the Query Builder dialog box.

expand/collapse item Searching features

  1. Click a layer in the legend to make it active.
  2. Click Search on the toolbar.

    Java Custom Viewer: If Search functionality is not supported for a layer, a message box appears to that effect. Otherwise, the Search dialog box appears.

  3. Click the Search by dropdown arrow and click the name of a query.

    The Query expression appears below the dropdown box.

  4. Type a value in the text box to replace [%var%] in the query expression.
  5. Do not use quotes around text strings. Also, remember that text strings are case sensitive.

  6. Click Search.

    A list of features matching the search criteria appears in tabular format in the Search dialog box.

  7. Click a feature to highlight it on the map.
  8. Click Pan To or Zoom To to pan or zoom to it.
  9. Click Close to close the Search dialog box.

expand/collapse item Graphically selecting features by rectangle or circle

  1. Click a layer in the legend to make it active.
  2. In the Java Custom Viewer, click Select by Rectangle or Select by Circle on the toolbar. In the Java Standard Viewer, click the Select Features button then choose Rectangle or Circle on the menu that appears.
  3. Click and drag a graphic onto the map.

    For circles, the point you click is the center.

  4. Release the mouse button.

The selected features are highlighted on the map.

expand/collapse item Graphically selecting features by line or polygon

  1. Click a layer in the legend to make it active.
  2. In the Java Custom Viewer, click Select by Line or Select Polygon on the toolbar. In the Java Standard Viewer, click the Select Features button then choose Line or Polygon on the menu that appears.
  3. Click the map to create each point in your line or polygon.
  4. Double-click the map to finish drawing.

The selected features are highlighted on the map.

expand/collapse item Buffering features

  1. Click a layer in the legend to make it active.
  2. Select features of the active layer using one of the selection or querying tools.
  3. Click Buffer on the toolbar.
  4. Type a value for the buffer distance.
  5. Click the Buffer Units dropdown arrow and click Feet, Miles, Meters, or Kilometers.
  6. If you want to use the buffer to select features from another layer, check Use buffer to select features from this layer, then click the dropdown arrow and select a layer.
  7. Click Apply to create the buffer, leaving the Buffer dialog box open, OR Click OK to create the Buffer and close the Buffer dialog box.

    A buffer appears around the selected features.

  8. To clear the buffer, if the Buffer dialog box is still open, click Clear Buffer. If it is closed, click the Clear All Selection button on the toolbar.

Be cautious with the number of features you try to buffer. Depending on the number of features selected and the buffer distance, creating a buffer can take a while.

expand/collapse item Removing selected features

  1. Click the Clear Selection on the toolbar.

All selected features from all layers are removed.



Search code: @java_query