ダイナミック テキストのタグ
ダイナミック テキストは、HTML と同様に、タグの使用によって機能します。 これにより、ダイナミック テキストと静的テキストを 1 つのテキスト エレメント内で組み合わせることができます。 ダイナミック テキストをレイアウトに追加した後は、テキストを変更することで、表示される情報や表示の方法を変更できます。 表示される情報を提供するダイナミック テキスト タグとともに、書式タグを使用して、テキストの一部分の書式設定を変更できます。 たとえば、テキストに含まれる 1 つの単語に下線を付けるなど、複数の書式を組み合わせたテキストを作成できます。
ダイナミック テキスト タグを使用するテキスト エレメントは、必要に応じて簡単にしたり複雑にしたりできます。 単一のスタンドアロン タグだけが必要な場合も、複数のタグを静的テキストとともに使用する必要がある場合もあります。 次に、プロジェクトを最後に操作した人をトラッキングするための例を示します。
Last updated on <ITA><dyn type="project" property="dateSaved" format="long"/></ITA> by <ITA><dyn type="user"/></ITA>.
この例では、静的テキスト、2 つのダイナミック テキスト タグ、日付の書式を指定する最初のタグの修飾子、日付とユーザー名を斜体にする 2 つの書式タグを使用しています。 出力は次のようになります: 最終更新日: 2014 年 6 月 9 日 月曜日 最終更新者: ユーザー名。
注意:
テキスト書式タグが適用されるのは、現在の書体がそのスタイルを含んでいる場合のみです。
ダイナミック テキスト タグのテーブル、ダイナミック テキストの書式設定情報、これらのタグの使用方法を以下に示します。 書式タグのリストと例については、テキスト書式タグをご参照ください。
数値
decimalPlaces 属性を使用して、数値を返すタグが使用する小数位の数を変更できます。たとえば、<dyn type="mapFrame" name="MapFrameName" property="lowerMid" units="ddm" decimalPlaces="0"/> は -95 13 32 58 と表示され、<dyn type="mapFrame" name="Map Map Frame" property="lowerMid" units="ddm" decimalPlaces="2"/> は -95 13.29 32 57.68 と表示されます。
空の文字列
テキスト エレメントに、現在の構文解析の結果が何もないダイナミック テキスト タグだけが含まれる場合は、そのエレメントを選択すると、レイアウトに空の境界ボックスが表示されます。
テキスト エレメントに、追加の静的テキストが含まれているか、構文解析の結果が値である追加のダイナミック テキスト タグが含まれている場合は、そのテキストが表示されます。 たとえば、エクスポートされたことのないレイアウトに、最終エクスポート日: というテキストがある場合、ページがエクスポートされるまで、そのテキストはページ エクスポート日時: と表示されます。
ただし、タグの構文解析の結果が NULL であるときに特定のテキストを表示したい場合は、ダイナミック テキスト タグに emptyStr="<text>" を追加できます。 たとえば、次のタグがあるとします。
Credits: <dyn type="mapFrame" name="Map Frame" property="credits"/>
マップに著作権情報が含まれていない場合、レイアウト上の結果は著作権: となります。 空の属性を使用することで、使用できる情報がない場合に、デフォルトのテキストを設定できます。次に例を示します。
Credits: <dyn type="mapFrame" name="<Map Frame Name>" property="credits" emptyStr="Credits for this map were unavailable."/>
レイアウト上の結果は、Credits: Credits for this map were unavailable. になります。
接頭文字列および接尾文字列
接頭文字列および接尾文字列の属性を使用すると、タグの前後にテキストを追加できます。 静的なテキストにこれらの属性を使用するメリットは、ダイナミック テキスト タグに値がある場合のみに、これらの文字列が表示されることです。 たとえば、次のタグがあるとします。
Date Exported: <dyn type="layout" name="Layout" property="dateExported" format="short"/>
レイアウトがエクスポートされていない場合、レイアウト上の結果は、エクスポート日時: になります。 エクスポートされていないことを説明するために、空の文字列属性を追加する代わりに、静的テキストを削除して、接頭文字列および接尾文字列を追加できます。こうすると、エクスポート日時: がページ上、画面上、または印刷時に表示されなくなります。
<dyn type="layout" name="Layout" property="dateExported" format="short" preStr="Last exported on " postStr="."/>
このようにすると、ページ上のテキストは、レイアウトがエクスポートされるまで、空になります。 レイアウトがエクスポートされると、テキストは次のように表示されます。
エクスポート日時: 2015/2/11。
新しい行
ダイナミック テキスト タグを使用して新しい行を開始するには、新しい行の属性を追加します。 タグは次のようになります。
Date Saved <dyn type="project" property="dateSaved" format="short|short" newLine="true"/>
レイアウト上の結果は、次のようになります。
保存日時
2015/1/27 11:20 AM
システム タグ
次の表は、システム情報に使用できるタグを示しています。
|
説明
|
構文の例
|
出力例
|
|
コンピューター名
|
<dyn type="computer"/>
|
MYLAPTOP
|
|
現在の日付
|
<dyn type="date" format=""/>
|
2019/04/04
|
|
現在の時間
|
<dyn type="time" format=""/>
|
10:20 AM
|
|
ユーザー名
|
<dyn type="user"/>
|
ユーザー
|
注意:
挿入 タブの ダイナミック テキスト ギャラリーから 現在の時間 を選択すると、現在の日付と現在の時間の両方のタグが付いたテキストが挿入されます。 テキストの書式設定 ウィンドウの結果は、現在の時間 になります。
日付と時間の書式設定の詳細
プロジェクト タグ
プロジェクト情報には、アクティブなポータルとユーザーに関する情報を含む、次のタグが使用できます。
|
説明
|
構文の例
|
出力例
|
|
名前
|
<dyn type="project" property="name"/>
|
CityMaps
|
|
パス
|
<dyn type="project" property="path"/>
|
C:\Users\UserName\Documents\ArcGIS\Projects\CityMaps\CityMaps.aprx
|
|
フォルダー
|
<dyn type="project" property="folder"/>
|
C:\Users\UserName\Documents\ArcGIS\Projects\CityMaps\
|
|
保存日時
|
<dyn type="project" property="dateSaved" format="short|short"/>
|
2019/4/4 11:20 AM
|
|
デフォルト フォルダー
|
<dyn type="project" property="defaultFolder"/>
|
C:\Users\UserName\Documents\ArcGIS\Projects\CityMaps\
|
|
デフォルト ジオデータベース
|
<dyn type="project" property="defaultGeodatabase"/>
|
C:\Users\UserName\Documents\ArcGIS\Projects\CityMaps\CityMaps.gdb
|
|
デフォルト ツールボックス
|
<dyn type="project" property="defaultToolbox"/>
|
C:\Users\UserName\Documents\ArcGIS\Projects\CityMaps\CityMaps.tbx
|
|
デフォルトの距離単位
|
<dyn type="project" property="distUnits"/>
|
メートル
|
|
デフォルトの角度単位
|
<dyn type="project" property="angularUnits"/>
|
度 (10 進)
|
|
デフォルトの面積単位
|
<dyn type="project" property="areaUnits"/>
|
平方キロメートル
|
|
デフォルトのページ単位
|
<dyn type="project" property="pageUnits"/>
|
センチメートル
|
|
ユーザー名
|
<dyn type="project" property="portal" attribute="username" portalUri="https://www.arcgis.com/"/>
|
esriUser1
|
|
氏名 (名)
|
<dyn type="project" property="portal" attribute="firstname" portalUri="https://www.arcgis.com/"/>
|
Jane
|
|
氏名 (姓)
|
<dyn type="project" property="portal" attribute="lastname" portalUri="https://www.arcgis.com/"/>
|
Smith
|
|
フル ネーム
|
<dyn type="project" property="portal" attribute="fullname" portalUri="https://www.arcgis.com/"/>
|
Jane Smith
|
|
組織サイト名
|
<dyn type="project" property="portal" attribute="orgname" portalUri="https://www.arcgis.com/"/>
|
都市グループ
|
注意:
デフォルトの距離単位、デフォルトの角度単位、デフォルトの面積単位、デフォルトのページ単位は、単位オプションを更新することで変更できます。
|
説明
|
構文の例
|
出力例
|
|
プロジェクト タイトル
|
<dyn type="project" property="metadata" attribute="title"/>
|
都市計画
|
|
プロジェクト サマリー
|
<dyn type="project" property="metadata" attribute="summary" />
|
都市のデータとマップ
|
|
プロジェクトの説明
|
<dyn type="project" property="metadata" attribute="description"/>
|
都市に関する 2019 年以降のすべてのデータとマップ。
|
|
プロジェクト タグ
|
<dyn type="project" property="metadata" attribute="tags"/>
|
都市、境界、公益事業、公園、道路
|
|
プロジェクトのクレジット
|
<dyn type="project" property="metadata" attribute="credits" />
|
シティー GIS オフィス
|
|
プロジェクトの利用制限
|
<dyn type="project" property="metadata" attribute="use"/>
|
表示目的のみ。
|
レイアウト タグ
次のタグはレイアウトに使用できます。
|
説明
|
構文の例
|
出力例
|
|
エクスポート日時
|
<dyn type="layout" name="LayoutName" property="dateExported" format= "short|short"/>
|
2019/4/4 11:00 AM
|
|
印刷日時
|
<dyn type="layout" name="LayoutName" property="datePrinted" format= "short|short"/>
|
2019/4/4 11:05 AM
|
|
メタデータ
|
メニューからこのオプションを選択すると、メタデータ タグのセットを含むテキスト エレメントが挿入されます。 詳細については、レイアウトのメタデータの表をご参照ください。
|
|
|
名前
|
<dyn type="layout" name="LayoutName" property="name"/>
|
City Layout
|
|
サービス レイヤーの著作権
|
<dyn type="layout" name="LayoutName" property="serviceLayerCredits"/>
|
出典: Esri、HERE、Garmin、FAO、NOAA、USGS、© OpenStreetMap の投稿者、GIS ユーザー コミュニティー
|
|
ページ幅
|
<dyn type="layout" name="LayoutName" property="pageSize" attribute="width"/>
|
297
|
|
ページの高さ
|
<dyn type="layout" name="LayoutName" property="pageSize" attribute="height"/>
|
210
|
|
ページ単位
|
<dyn type="layout" name="LayoutName" property="pageSize" attribute="unit"/>
|
ミリメートル
|
|
ページ サイズ名
|
<dyn type="layout" name="LayoutName" property="pageSize" attribute="page size name"/>
|
A4
|
注意:
サービス レイヤーの著作権タグには、ページ上のすべてのマップ フレームの著作権が表示されます。
|
説明
|
構文の例
|
出力例
|
|
タイトル
|
<dyn type="layout" property="metadata" attribute="title"/>
|
最小 A3 横
|
|
タグ
|
<dyn type="layout" property="metadata" attribute="tags"/>
|
最小、タブロイド、横、レイアウト、タイトル、著作権、テンプレート
|
|
サマリー
|
<dyn type="layout" property="metadata" attribute="summary"/>
|
シンプルな A3 サイズ、横レイアウト、余白なし。 マップ タイトルとサービス レイヤーの著作権が含まれています。
|
|
説明
|
<dyn type="layout" property="metadata" attribute="description"/>
|
国、都市、州を表示するには、横レイアウトが理想的です。
|
|
クレジット
|
<dyn type="layout" property="metadata" attribute="credits"/>
|
地図製作者により 2019 年に設計。
|
|
利用制限
|
<dyn type="layout" property="metadata" attribute="uselimit"/>
|
表示目的のみ。
|
マップ フレーム タグ
マップ フレーム タグには、マップ フレームおよびマップ フレームに含まれるマップに関する情報が表示されます。
特定のマップ フレームのダイナミック テキスト タグを作成すると、そのマップ フレームはタグが作成されたときに付けられていた名前で参照されます。 たとえば、現在のデフォルト マップ フレームの名前が My Map であり、縮尺のダイナミック テキスト エレメントを挿入する場合、タグは <dyn type="mapFrame" name="My Map" property="scale"/> になります。 後でマップ フレームの名前を変更した場合、タグは参照先のマップ フレームを記憶していますが、マップ フレームの新しい名前を反映するように更新されません。
次のマップ フレーム タグを使用できます。
|
説明
|
構文の例
|
出力例
|
|
カメラ
|
ギャラリーからこのオプションを選択すると、含めるカメラ タグを選択できます。 タグのリストについては、マップ フレームのカメラの表をご参照ください。
|
|
|
クレジット
|
<dyn type="mapframe" name="MapFrameName" property="credits"/>
|
2019 年に作成。
|
|
説明
|
<dyn type="mapframe" name="MapFrameName" property="description"/>
|
1970 年の都市人口を示したマップ。
|
|
レイヤーのメタデータ
|
ギャラリーからこのオプションを選択すると、参照するレイヤーと含めるレイヤー メタデータ タグを選択できます。 タグのリストについては、レイヤーのメタデータの表をご参照ください。
|
|
|
マップ単位
|
<dyn type="mapFrame" name="MapFrameName" property="mapUnits"/>
|
メートル
|
|
メタデータ
|
ギャラリーからこのオプションを選択すると、含めるマップ メタデータ タグを選択できます。 タグのリストについては、マップ フレームのメタデータの表をご参照ください。
|
|
|
名前
|
<dyn type="mapFrame" name="MapFrameName" property="name"/>
|
マップ フレーム
|
|
マップ名
|
<dyn type="mapFrame" name="MapFrameName" property="mapName"/>
|
Iceland マップ
|
|
基準縮尺
|
<dyn type="mapFrame" name="MapFrameName" property="referenceScale"/>
|
0
|
|
相対縮尺
|
1 centimeter equals <dyn type="mapFrame" name="Map Map Frame" property="scale" pageUnits="cm" mapUnits="km" pageValue="1" decimalPlaces="2"/> kilometers
このタグは、マップの縮尺を、ページに対する相対的な縮尺に変更します。 属性 pageUnits を使用すると、インチまたはセンチメートルなど、ページ領域に必要な単位が設定され、pageValue を使用すると、これらの単位を使用する数が設定されます。 属性 mapUnits を使用すると、マップの縮尺の単位が設定されます。
|
1 センチメートルが 0.08 キロメートルと等しい
|
|
回転角度
|
<dyn type="mapFrame" name="MapFrameName" property="rotation"/>
|
90
|
|
サイズ変更
|
<dyn type="mapFrame" name="MapFrameName" property="scale" preStr="1:"/>
|
1:8,000
|
|
中心の縮尺
|
<dyn type="mapFrame" name="MapFrameName" property="centerscale" preStr="1:"/>
このタグでは、関連するマップ フレームの中心の緯度と経度で縮尺が計算されます。
|
1:6,854
|
|
空間参照
|
ギャラリーからこのオプションを選択すると、含める空間参照タグを選択できます。 タグのリストについては、空間参照の表をご参照ください。
|
|
|
説明
|
構文の例
|
出力例
|
|
真北
|
<dyn type="mapFrame" name="MapFrameName" property="trueNorth" units="dd" decimalPlaces="1" showDirections="false"/>
|
0.2°
|
|
磁北
|
<dyn type="mapFrame" name="MapFrameName" property="magneticNorth" units="dd" decimalPlaces="0" showDirections="false"/>
|
-10°
|
|
マップの北
|
<dyn type="mapFrame" name="MapFrameName" property="gridNorth" units="dd" decimalPlaces="0" showDirections="false"/>
|
0°
|
|
磁気偏角
|
<dyn type="mapFrame" name="MapFrameName" property="magneticDeclination" units="dd" decimalPlaces="2" showDirections="false"/>
磁気偏角は、真北と磁北の間の角度です。
|
-9.67°
|
|
収束
|
<dyn type="mapFrame" name="MapFrameName" property="convergence" units="dd" decimalPlaces="2" showDirections="false"/>
収束は、真北と方眼北の間の角度です。
|
0.22°
|
|
G-M Angle
|
<dyn type="mapFrame" name="MapFrameName" property="gmAngle" units="dd" decimalPlaces="2" showDirections="false"/>
G-M 角は、方眼北と磁北の間の角度です。
|
-9.89°
|
|
説明
|
構文の例
|
出力例
|
|
タイトル
|
<dyn type="mapframe" property="metadata" attribute="title" name="Map Frame" layerUri="CIMPATH=map/streets.xml" preStr="Title: " newLine="true" emptyStr=""/>
|
道路中心線
|
|
タグ
|
<dyn type="mapframe" property="metadata" attribute="tags" name="Map Frame" layerUri="CIMPATH=map/streets.xml" preStr="Tags: " newLine="true" emptyStr=""/>
|
調査、2018、道路、高速道路、
|
|
サマリー
|
<dyn type="mapframe" property="metadata" attribute="summary" name="Map Frame" layerUri="CIMPATH=map/streets.xml" preStr="Summary: " newLine="true" emptyStr=""/>
|
2018 年の調査からの道路データ。
|
|
説明
|
<dyn type="mapframe" property="metadata" attribute="description" name="Map Frame" layerUri="CIMPATH=map/streets.xml" preStr="Description: " newLine="true" emptyStr=""/>
|
道路中心線。 道路名、道路タイプ、道路被覆が含まれています。
|
|
クレジット
|
<dyn type="mapframe" property="metadata" attribute="credits" name="Map Frame" layerUri="CIMPATH=map/streets.xml" preStr="Credits: " newLine="true" emptyStr=""/>
|
2018 年に作成されました。
|
|
利用制限
|
<dyn type="mapframe" property="metadata" attribute="useLimit" name="Map Frame" layerUri="CIMPATH=map/streets.xml" preStr="Use Limit: " newLine="true" emptyStr=""/>
|
表示および解析用。 2018 年 12 月時点で正確です。
|
注意:
レイヤー メタデータのダイナミック テキスト タグには、レイヤー URI が必要です。 タグを入力する代わりに、ダイナミック テキスト ボタン
からこのダイナミック テキストを追加することをおすすめします。
|
説明
|
構文の例
|
出力例
|
|
X
|
<dyn type="mapFrame" name="MapFrameName" property="camera.x" units="dms" decimalPlaces="0"/>
|
46°8'3"E
|
|
Y
|
<dyn type="mapFrame" name="MapFrameName" property="camera.y" units="dms" decimalPlaces="0"/>
|
13°4'18"S
|
|
Z
|
<dyn type="mapFrame" name="MapFrameName" property="camera.z"/>
|
2,601,586.4995
|
|
サイズ変更
|
<dyn type="mapFrame" name="MapFrameName" property="camera.scale" preStr="Scale: 1:"/>
|
縮尺: 1:12,487,512
|
|
回転角度
|
<dyn type="mapFrame" name="MapFrameName" property="camera.rotation"/>
|
5.03
|
|
ピッチ
|
<dyn type="mapFrame" name="MapFrameName" property="camera.pitch"/>
|
-90
|
|
ロール
|
<dyn type="mapFrame" name="MapFrameName" property="camera.roll"/>
|
-90
|
|
説明
|
構文の例
|
出力例
|
|
タイトル
|
<dyn type="mapframe" name="mapFrameName" property="metadata" attribute="title"/>
|
1970 年の世界
|
|
タグ
|
<dyn type="mapframe" name="mapFrameName" property="metadata" attribute="tags"/>
|
人口、マップ、1970、世界、履歴地図
|
|
サマリー
|
<dyn type="mapframe" name="mapFrameName" property="metadata" attribute="summary"/>
|
世界人口マップ。
|
|
説明
|
<dyn type="mapframe" name="mapFrameName" property="metadata" attribute="description"/>
|
1970 年の世界全体の人口を示したマップ。
|
|
クレジット
|
<dyn type="mapframe" name="mapFrameName" property="metadata" attribute="credits"/>
|
2019 年に作成。
|
|
利用制限
|
<dyn type="mapframe" name="mapFrameName" property="metadata" attribute="uselimit"/>
|
教育目的のみ。
|
マップ フレームに時間対応データが含まれている場合、ダイナミック テキストを使用して時間情報を表示できます。
|
説明
|
構文の例
|
出力例
|
|
開始時間
|
<dyn type="mapFrame" name="MapFrameName" property="startTime" format="short|short"/>
|
1/1/2001 12:00 AM
|
|
現在の時間
|
<dyn type="mapFrame" name="MapFrameName" property="time" format="short|short"/>
|
1/1/2004 12:00 AM から 1/1/2006 12:00 AM
|
|
終了時間
|
<dyn type="mapFrame" name="MapFrameName" property="endTime" format="short|short"/>
|
1/1/2010 12:00 AM
|
時刻は、マップに設定されたタイム ゾーンに従って表示されます。
日付と時間の書式設定の詳細
|
説明
|
構文の例
|
出力例
|
|
名前
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="name"/>
|
WGS 1984 UTM Zone 12N
|
|
投影座標系
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="pcs"/>
|
WGS 1984 UTM Zone 12N
|
|
地理座標系
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="gcs"/>
|
GCS WGS 1984
|
|
測地基準系
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="datum"/>
|
WGS 1984
|
|
投影法
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="projection"/>
|
横メルカトル図法
|
|
注記
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="remarks"/>
|
OSGB1936 に基づくユーザー定義の地理座標系
|
|
中央子午線
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="central meridian"/>
|
-111.0000
|
|
原点の緯度
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="latitude of origin"/>
|
0.0000
|
|
原点の経度
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="longitude of origin"/>
|
0.0000
|
|
中心の緯度
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="latitude of center"/>
|
0.0000
|
|
中心の経度
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="longitude of center"/>
|
0.0000
|
|
最初の緯度
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="latitude of 1st"/>
|
0.0000
|
|
2 番目の緯度
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="latitude of 2nd"/>
|
0.0000
|
|
最初の経度
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="longitude of 1st"/>
|
0.0000
|
|
2 番目の経度
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="longitude of 2nd"/>
|
0.0000
|
|
東距
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="false easting"/>
|
500,000.0000
|
|
北距
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="false northing"/>
|
0.0000
|
|
標準緯線 1
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="standard parallel 1"/>
|
0.0000
|
|
標準緯線 2
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="standard parallel 2"/>
|
0.0000
|
|
縮尺係数
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="scale factor"/>
|
0.9996
|
|
方位
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="azimuth"/>
|
0.0000
|
|
単位
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="units"/>
|
メートル
|
|
出典
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="authority"/>
|
EPSG
|
|
WKID
|
<dyn type="mapFrame" name="MapFrameName" property="sr" srProperty="wkid"/>
|
3857
|
|
説明
|
構文の例
|
出力例
|
|
中心
|
<dyn type="mapFrame" name="MapFrameName" property="center" units="dms" decimalPlaces="0"/>
|
80°41'25"W 44°36'4"N
|
|
X
|
<dyn type="mapFrame" name="MapFrameName" property="center.x" units="dms" decimalPlaces="0"/>
|
80°41'25"W
|
|
Y
|
<dyn type="mapFrame" name="MapFrameName" property="center.y" units="dms" decimalPlaces="0"/>
|
44°36'4"N
|
|
左下
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft" units="dms" decimalPlaces="0"/>
|
80°44'54"W 44°34'33"N
|
|
中央下
|
<dyn type="mapFrame" name="MapFrameName" property="lowerMid" units="dms" decimalPlaces="0"/>
|
80°41'25"W 44°34'32"N
|
|
右下
|
<dyn type="mapFrame" name="MapFrameName" property="lowerRight" units="dms" decimalPlaces="0"/>
|
80°37'57"W 44°34'32"N
|
|
中央左
|
<dyn type="mapFrame" name="MapFrameName" property="midLeft" units="dms" decimalPlaces="0"/>
|
80°44'53"W 44°36'5"N
|
|
中央右
|
<dyn type="mapFrame" name="MapFrameName" property="midRight" units="dms" decimalPlaces="0"/>
|
80°37'57"W 44°36'3"N
|
|
左上
|
<dyn type="mapFrame" name="MapFrameName" property="upperLeft" units="dms" decimalPlaces="0"/>
|
80°44'53"W 44°37'36"N
|
|
中央上
|
<dyn type="mapFrame" name="MapFrameName" property="upperMid" units="dms" decimalPlaces="0"/>
|
80°41'25"W 44°37'36"N
|
|
右上
|
<dyn type="mapFrame" name="MapFrameName" property="upperRight" units="dms" decimalPlaces="0"/>
|
80°37'56"W 44°37'35"N
|
座標形式
座標を部分分解するには、指定したプロパティに .x または .y をアペンドします。 以下の形式タグを使用して、座標値の表示形式を設定できます。
|
タグ
|
説明
|
構文の例
|
出力例
|
|
units
|
座標の形式を指定します。
|
<dyn type="mapFrame" name="Map Frame" property="center" units="dms"/>
|
117°15'26.257"W
|
|
showSymbol
|
度、分、秒のシンボルを表示します。
デフォルトは True です。
|
<dyn type="mapFrame" name="Map Frame" property="center" units="dms" showSymbol="False"/>
|
117 15 26.257 W
|
|
decimalPlaces
|
表示される小数点以下桁数を設定します。
|
<dyn type="mapFrame" name="Map Frame" property="center" units="dd" decimalPlaces = "1"/>
|
100.1°W
|
|
padDecimal または zeroPad
|
小数点以下の値が 0 の桁を表示します。 これは通常、decimalPlaces タグと組み合わせて使用されます。
デフォルトは False です。
|
<dyn type="mapFrame" name="Map Frame" property="center" units="dd" decimalPlaces = "3" padDecimal = "True"/>
|
100.100°W
|
|
showZeroMinutes
|
値が 0 の場合の分の値を表示します。
デフォルトは False です。
|
<dyn type="mapFrame" name="Map Frame" property="center" units="dms" showZeroMinutes="True"/>
|
100°0'W
|
|
showZeroSeconds
|
値が 0 の場合の秒の値を表示します。
デフォルトは False です。
|
<dyn type="mapFrame" name="Map Frame" property="center" units="dms" showZeroSeconds="True"/>
|
100°0'0"W
|
|
showSpaces
|
MGRS または USNG の座標部分の間にスペースを入れます。
デフォルトは False です。
|
<dyn type="mapFrame" name="Map Frame" property="center" units="mgrs" showSpaces = "True" />
|
08V MN
|
|
padDegrees
|
緯度の度の値を 2 桁、経度の度の値を 3 桁で表示します。 値の長さが不十分な場合は、値を 0 埋めします。
デフォルトは False です。
|
<dyn type="mapFrame" name="Map Frame" property="center" units="dms" padDegrees="True"/>
|
009°18'E
|
|
padMinutes
|
すべての分の値を 2 桁で表示します。
デフォルトは False です。
|
<dyn type="mapFrame" name="Map Frame" property="center" units="dms" padMinutes="True"/>
|
9°04'48"E
|
|
padSeconds
|
すべての秒の値を 2 桁で表示します。
デフォルトは False です。
|
<dyn type="mapFrame" name="Map Frame" property="center" units="dms" padSeconds="True"/>
|
9°1'02"E
|
|
padGridZone
|
すべての MGRS または USNG グリッド ゾーンで、2 桁の値を表示します。
デフォルトは True です。
|
<dyn type="mapFrame" name="Map Frame" property="center" units="mgrs" padGridZone="false"/>
|
8VMN
|
|
showDirections
|
座標に関連付けられた方位点を表示します。
True の場合、座標の後に方位点が表示され、False の場合、方位点は表示されず、必要に応じてマイナス記号が表示されます。None の場合は、方位点も、マイナス記号も表示されません。
デフォルトは True です。
|
<dyn type="mapFrame" name="Map Frame" property="center" units="dms" showDirections = "False"/>
|
-97°9'25.1"
|
|
directionSeparator
|
座標値と方向を分離します。 showDirections="False" または showDirections="None" の場合、このタグは無視されます。
|
<dyn type="mapFrame" name="Map Frame" property="center" units="dms" directionSeparator=" "/>
|
10° S
|
|
showPlusSign
|
座標の前にプラス記号またはマイナス記号を表示します。 ここでは、showDirections が None または False に設定されている必要があります。
デフォルトは False です。
|
<dyn type="mapFrame" name="Map Frame" property="center" units="dms" showDirections="False" showPlusSign ="True"/>
|
+14°
|
|
形式
|
説明
|
構文の例
|
出力例
|
|
dd
|
度 (10 進)
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft.x" units="dd" decimalPlaces="2" showDirections="True"/>
|
122.31W
|
|
dd.deg
|
度
方向は含まれていません
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft.x" units="dd.deg" decimalPlaces="2" showDirections="True"/>
|
122.31
|
|
dd.deg.int
|
度の整数
方向は含まれていません
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft.x" units="dd.deg.int" decimalPlaces="2" showDirections="True"/>
|
122
|
|
dd.deg.sym
|
度のシンボル
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft.x" units="dd.deg.sym" decimalPlaces="2" showDirections="True"/>
|
°
|
|
dd.dec
|
Decimal
方向は含まれていません
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft.x" units="dd.dec" decimalPlaces="2" showDirections="True"/>
|
31
|
|
dd.dir
|
方向
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft.x" units="dd.dir" decimalPlaces="2" showDirections="True"/>
|
W
|
|
形式
|
説明
|
構文の例
|
出力例
|
|
dms
|
度/分/秒 (DMS)
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft.x" units="dms" decimalPlaces="2" showDirections="False"/>
|
-122°18'37.82"
|
|
dms.deg
|
度
方向は含まれていません
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft.x" units="dms.deg" decimalPlaces="2" showDirections="True"/>
|
122
|
|
dms.deg.sym
|
度のシンボル
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft.x" units="dms.deg.sym" decimalPlaces="2" showDirections="True"/>
|
°
|
|
dms.min
|
分
方向は含まれていません
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft" units="dms.min" decimalPlaces="2" showDirections="True"/>
|
18
|
|
dms.min.sym
|
分のシンボル
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft.x" units="dms.min.sym" decimalPlaces="2" showDirections="True"/>
|
'
|
|
dms.sec
|
秒
方向は含まれていません
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft.x" units="dms.sec" decimalPlaces="2" showDirections="True"/>
|
37.82
|
|
dms.sec.sym
|
秒のシンボル
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft.x" units="dms.sec.sym" decimalPlaces="2" showDirections="True"/>
|
"
|
|
dms.sec.int
|
秒の整数
方向は含まれていません
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft" units="dms.sec.int" decimalPlaces="2" showDirections="True"/>
|
37
|
|
dms.sec.dec
|
秒の小数
方向は含まれていません
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft.x" units="dms.sec.dec" decimalPlaces="2" showDirections="True"/>
|
82
|
|
dms.dir
|
方向
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft.x" units="dms.dir" showDirections="True"/>
|
W
|
|
形式
|
説明
|
構文の例
|
出力例
|
|
ddm
|
分 (10 進)
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft.x" units="ddm" decimalPlaces="2" showDirections="True"/>
|
122°18.63 W
|
|
ddm.deg
|
度
方向は含まれていません
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft.x" units="ddm.deg" decimalPlaces="2" showDirections="True"/>
|
122
|
|
ddm.min
|
分
方向は含まれていません
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft.x" units="ddm.min" decimalPlaces="2" showDirections="True"/>
|
18.63
|
|
ddm.min.int
|
分の整数
方向は含まれていません
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft" units="ddm.min.int" decimalPlaces="2" showDirections="True"/>
|
18
|
|
ddm.min.dec
|
分の小数
方向は含まれていません
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft" units="ddm.min.dec" decimalPlaces="2" showDirections="True"/>
|
63
|
|
ddm.deg.sym
|
度のシンボル
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft" units="ddm.deg.sym" decimalPlaces="2" showDirections="True"/>
|
°
|
|
ddm.dir
|
方向
|
<dyn type="mapFrame" name="MapFrameName" property="lowerLeft" units="ddm.dir" decimalPlaces="2" showDirections="True"/>
|
W
|
|
形式
|
説明
|
構文の例
|
出力例
|
|
mgrs
|
Military Grid Reference System
|
<dyn type="mapFrame" name="Map Frame" property="center" units="mgrs"/>
|
08VMN
|
|
mgrs.gzd
|
グリッド ゾーン指定
|
<dyn type="mapFrame" name="Map Frame" property="center" units="mgrs.gzd"/>
|
08V
|
|
mgrs.100km
|
100,000 平方メートル
|
<dyn type="mapFrame" name="Map Frame" property="center" units="mgrs.100km" showSpaces="true"/>
|
08V MN
|
|
mgrs.10km
|
10,000 平方メートル
|
<dyn type="mapFrame" name="Map Frame" property="center" units="mgrs.10km" showSpaces="true"/>
|
08V MN 9 3
|
|
mgrs.1km
|
1,000 平方メートル
|
<dyn type="mapFrame" name="Map Frame" property="center" units="mgrs.1km" showSpaces="true"/>
|
08V MN 97 31
|
|
mgrs.100m
|
100 平方メートル
|
<dyn type="mapFrame" name="Map Frame" property="center" units="mgrs.100m" showSpaces="true"/>
|
08V MN 975 311
|
|
mgrs.10m
|
10 平方メートル
|
<dyn type="mapFrame" name="Map Frame" property="center" units="mgrs.10m" showSpaces="true"/>
|
08V MN 9751 3115
|
|
mgrs.1m
|
1 平方メートル
|
<dyn type="mapFrame" name="Map Frame" property="center" units="mgrs.1m" showSpaces="true"/>
|
08V MN 97516 31154
|
|
形式
|
説明
|
構文の例
|
出力例
|
|
usng
|
United States National Grid
|
<dyn type="mapFrame" name="Map Frame" property="center" units="usng"/>
|
11TPF
|
|
usng.gzd
|
グリッド ゾーン指定
|
<dyn type="mapFrame" name="Map Frame" property="center" units="usng.gzd"/>
|
11T
|
|
usng.100km
|
100,000 平方メートル
|
<dyn type="mapFrame" name="Map Frame" property="center" units="usng.100km showSpaces="true"/>
|
11T PF
|
|
usng.10km
|
10,000 平方メートル
|
<dyn type="mapFrame" name="Map Frame" property="center" units="usng.10km showSpaces="true"/>
|
11T PF 4 2
|
|
usng.1km
|
1,000 平方メートル
|
<dyn type="mapFrame" name="Map Frame" property="center" units="usng.1km showSpaces="true"/>
|
11T PF 45 23
|
|
usng.100m
|
100 平方メートル
|
<dyn type="mapFrame" name="Map Frame" property="center" units="usng.100m showSpaces="true"/>
|
11T PF 458 239
|
|
usng.10m
|
10 平方メートル
|
<dyn type="mapFrame" name="Map Frame" property="center" units="usng.10m showSpaces="true"/>
|
11T PF 4584 2397
|
|
usng.1m
|
1 平方メートル
|
<dyn type="mapFrame" name="Map Frame" property="center" units="usng.1m showSpaces="true"/>
|
11T PF 45841 23976
|