クエリビルダのソースを表示
提供: OSGeo.JP Wiki
←
クエリビルダ
移動:
案内
、
検索
あなたには「このページの編集」を行う権限はありません。理由は以下の通りです:
この操作は、以下のグループに属する利用者のみが実行できます:
登録利用者
。
ページの編集を始める前にメールアドレスの確認をする必要があります。
個人設定
でメールアドレスを設定し、確認を行ってください。
このページのソースの閲覧やコピーができます:
<H2> Query Builder </H2> <P> The Query Builder allows you to define a subset of a table and display it as a layer in QGIS. It can currently only be used with PostGIS layers. For example, if you have a towns layer with a population field you could select only larger towns by entering population > 100000 in the SQL box of the query builder. Figure <A HREF="#fig:query_builder">19</A> shows an example of the query builder populated with data from a PostGIS layer with attributes stored in PostgreSQL. <P> <DIV ALIGN="CENTER"><A NAME="fig:query_builder"></A><A NAME="850"></A> <TABLE> <CAPTION ALIGN="BOTTOM"><STRONG>Figure:</STRONG> Query Builder </CAPTION> <TR><TD> <DIV ALIGN="CENTER"> </DIV> <P></P> <DIV ALIGN="CENTER"> [clip=true, width=11.5cm]queryBuilder </DIV></TD></TR> </TABLE> </DIV> <P> The query builder<A NAME="855"></A> lists the layer's database fields in the list box on the left. You can get a sample of the data contained in the highlighted field by clicking on the Sample button<A NAME="857"></A>. This retrieves the first 25 distinct values for the field from the database. To get a list of all possible values for a field, click on the All button<A NAME="859"></A>. To add a selected field or value to the query, double-click on it<A NAME="860"></A>. You can use the various buttons to construct the query or you can just type it into the SQL box. <P> To test a query, click on the Test button<A NAME="862"></A>. This will return a count of the number of records that will be included in the layer. When satisfied with the query, click OK. The SQL for the where clause will be shown in the SQL column of the layer list. <P> <BR> <IMG WIDTH="217" HEIGHT="11" ALIGN="BOTTOM" BORDER="0" SRC="img18.png" ALT="\begin{Tip} % latex2html id marker 864 \caption{\textsc{Changing the Layer Defin... ...General} tab. See Section \ref{sec:vectorprops} for more information.} \end{Tip}"> <BR>
このページで使用されているテンプレート:
テンプレート:Button
(
ソースを閲覧
)
テンプレート:Dialog
(
ソースを閲覧
)
テンプレート:FileName
(
ソースを閲覧
)
テンプレート:Nix
(
ソースを閲覧
)
テンプレート:Tab
(
ソースを閲覧
)
テンプレート:Tip
(
ソースを閲覧
)
テンプレート:UserText
(
ソースを閲覧
)
クエリビルダ
に戻る。
案内メニュー
表示
ページ
議論
ソースを表示
履歴
個人用ツール
アカウント作成
ログイン
案内
メインページ
最近の更新
おまかせ表示
ヘルプ
検索
ツール
リンク元
関連ページの更新状況
特別ページ
ページ情報