/
Selection using Attributes.html
138 lines (123 loc) · 5.33 KB
/
Selection using Attributes.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Selection using Attributes — uDig 1.3.3 User Guide</title>
<link rel="stylesheet" href="_static/udig.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/print.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '',
VERSION: '1.3.3',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: false
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/theme_extras.js"></script>
<link rel="shortcut icon" href="_static/udig.ico"/>
<link rel="top" title="uDig 1.3.3 User Guide" href="index.html" />
<link rel="up" title="Working with Selection" href="Working with Selection.html" />
<link rel="next" title="Selection using CQL" href="Selection using CQL.html" />
<link rel="prev" title="Working with Selection" href="Working with Selection.html" />
</head>
<body>
<div class="header">
<div class="wrap">
<h1 id="logo"><a href="http://udig.refractions.net">uDig</a></h1>
<ul id="top-nav">
<li class="first">
<a href="http://udig.refractions.net">uDig Home</a>
</li>
<li>
<a href="http://udig.refractions.net/download">Downloads</a>
</li>
<li>
<a href="http://udig-news.blogspot.com">Blog</a>
</li>
</ul>
</div>
</div>
<div class="topnav">
<p>
«  <a href="Working with Selection.html">Working with Selection</a>
  ::  
<a class="uplink" href="index.html">Contents</a>
  ::  
<a href="Selection using CQL.html">Selection using CQL</a>  »
</p>
</div>
<div class="content">
<div class="section" id="selection-using-attributes">
<h1>Selection using Attributes<a class="headerlink" href="#selection-using-attributes" title="Permalink to this headline">¶</a></h1>
<p>You can define a selection by matching attributes:</p>
<ol class="arabic simple">
<li>Select a Feature Layer is the Layer View</li>
<li>Open the Table View</li>
<li>Select an Attribute from the list (or choose <strong>All</strong>)</li>
<li>Type in the value you are searching for.</li>
<li>Press <strong>Enter</strong>, the table and Map selection selection will be updated accordingly</li>
</ol>
<div class="section" id="examples">
<h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2>
<table border="1" class="docutils">
<colgroup>
<col width="24%" />
<col width="76%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td>hello</td>
<td>will match any word containing the string <strong>hello</strong></td>
</tr>
<tr class="row-even"><td>\Ahello</td>
<td>will match any word that starts with <strong>hello</strong></td>
</tr>
<tr class="row-odd"><td>\Ahello\Z</td>
<td><em>Exactly</em> matches the word <strong>hello</strong></td>
</tr>
<tr class="row-even"><td>\Ahello|\Aboo</td>
<td>will match strings that start with <strong>hello</strong> or <strong>boo</strong></td>
</tr>
<tr class="row-odd"><td>\Ahe.*o\Z</td>
<td>will match strings that start with <strong>he</strong> and ends with <strong>o</strong></td>
</tr>
<tr class="row-even"><td>[ln]</td>
<td>will match any string that contains <strong>l</strong> or <strong>n</strong></td>
</tr>
<tr class="row-odd"><td>\A[ln]</td>
<td>will match many string that starts with <strong>l</strong> or <strong>n</strong></td>
</tr>
</tbody>
</table>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p>The search is NOT case sensitive.</p>
<p class="last">In most cases <strong>\A</strong> can be replaced with <strong>^</strong> (start of line) and <strong>\Z</strong> can be replaced with <strong>$</strong> (end of line)</p>
</div>
<p><strong>Related reference</strong></p>
<p><a class="reference internal" href="Table view.html"><em>Table view</em></a></p>
<p><a class="reference internal" href="Selection using CQL.html"><em>Selection using CQL</em></a></p>
<p><a class="reference external" href="http://en.wikipedia.org/wiki/Regular_expression">Regular Expression</a></p>
</div>
</div>
</div>
<div class="bottomnav">
<p>
«  <a href="Working with Selection.html">Working with Selection</a>
  ::  
<a class="uplink" href="index.html">Contents</a>
  ::  
<a href="Selection using CQL.html">Selection using CQL</a>  »
</p>
</div>
<div class="footer">
© Copyright 2012, Refractions Research.
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
</div>
</body>
</html>