AGOでホストしているいくつかのレイヤーについて、ポリゴンレイヤーの面積(エーカー)と、線レイヤーの長さ(フィート)を計算してラベル表示する方法を知りたいです。編集はWeb AppBuilderで行う予定です。Arcadeを使えばできるかもしれないと読んだのですが、方法がわかりません。他にも方法はありますか?どうすればよいのか、まったく見当がつきません。
よろしくお願いします。
Justin
You will need to convert the Area or length field in your feature service into the desired units with Arcade.
The linear unit for each feature layer is determined by the spatial reference. For feature layers in Web Mercator, this is metres.
This blog shows how to convert metres to Acres with arcade:
https://blogs.esri.com/esri/arcgis/2016/12/19/introducing-arcade/
http://support.esri.com/en/technical-article/000007350and the math for doing the conversion:
How To: Convert Area into Acres
-Kelly
Thank you, this got me pointed in the right direction.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.