人口範囲のルール作成

ここでは特定の人口範囲に従って、異なったグラフィック表示で都市を識別します。
3 つのスタイル・ルールを定義して、population に関する 3 つの条件を指定する必要があります。
  1. ノード・ルールを選択して、「編集」 >「スタイル・ルールの作成」とクリックします。
    1. 「条件」ページで、条件「population exists and not null」を指定します。
    2. 「終了」 をクリックします。
    3. 新しい population exists and not null ルールを選択した状態で、「スタイリング・カスタマイザー」の「パラメーター」タブをクリックし、「イメージ」フィールドにパス file:./data/examples/lightBulb.gif を入力します。
    4. Enter キーを押します。
  2. population exists and not null ルールを選択した状態で、「編集」 >「スタイル・ルールの作成」とクリックします。
    1. 「条件」ページで + をクリックして別の条件 population is less than 100000 を定義します。
    2. 「終了」 をクリックします。
    3. ルールを population<100000 に名前変更します。
    4. 新規 population<100000 ルールを選択した状態で、「スタイリング・カスタマイザー」で「イメージ」フィールドにパス file:./data/examples/Little.gif を入力します。
    5. Enter キーを押します。
  3. population exists and not null」ルールを選択して 3 つ目のスタイル・ルールを作成します。
    1. 「編集」>「スタイル・ルールの作成」とクリックします。
    2. + をクリックし、条件 population is greater than 1000000 を定義します。
    3. 「終了」 をクリックします。
    4. スタイル・ルールを population>1000000 に名前変更します。
    5. 新規 population>1000000 ルールを選択した状態で、「イメージ」フィールドにパス file:./data/examples/biga.gif を入力します。
    6. Enter キーを押します。
結果は、次の図のようになります。
diada_arizonaicons14.png
アリゾナ州の例におけるイメージの使用