皆さん、こんにちは。
Arcade ポップアップを使って、既存および提案中のゾーニング情報を区画レイヤーに取り込もうとしています。ゾーンは別のレイヤーにあるため、Arcade の「Intersects」関数を使って、このデータを区画レイヤーに追加しています。
しかし、境界上のケースでは複数のゾーン値が返されます。区画が境界上にある場合(場所による選択での交差と同様)、正しいゾーンを反映しない値が取得されます。Arcade を使う、もっと良い方法はありますか?
Arcade
Use Intersection then iterate through the featureset to return the largest value i.e. the greatest level of overlap.
Example here:
https://community.esri.com/t5/arcgis-online-questions/arcade-intersects-return-greatest-overlap-of/td-p/1354912
We do this, and have seen this problem as well. Possible solutions:
You could actually do both, too. You can check the truth of Intersects($feature, Centroid($feature)) to see if you have a wonky shape, then use the negative buffer, but default to the centroid method for "normal" parcel shapes.
ログインすると、投稿したり、更新をフォローしたりできます。初めてですか?無料アカウントを登録しましょう。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.