Olá a todos!<\/SPAN><\/P>Estou tentando seguir um tutorial usando arcade para encontrar uma lista de pontos próximos a um polígono (<\/SPAN>https:\/\/learn.arcgis.com\/en\/projects\/build-an-app-to-expand-food-access\/<\/SPAN><\/A> na seção "Stores near markets"), mas com dados diferentes e no arcgis pro. Para que o FeatureSetById funcione para minha camada, preciso de um ID da camada. Como encontro isso no ArcGIS pro?<\/SPAN><\/P>Segui os passos para atribuir um layerID (<\/SPAN>https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/help\/sharing\/overview\/assign-layer-ids.htm<\/SPAN><\/A>) mas acabei com um ID da camada "2" e não funcionou.<\/SPAN><\/P>Se esse ID da camada não existir/não funcionar no ArcGIS pro, como mais eu poderia usar arcade para encontrar uma lista de pontos próximos/dentro de um polígono?<\/SPAN><\/P> <\/P>exemplo de código do tutorial:<\/SPAN><\/P>var retail_layer = FeatureSetById($map, \/\* SNAP Store Locations *\/\
To find the layerID of a layer in ArcGIS Online that is being used in Pro, one way to do this is to look at the last part of the path when adding the layer, as in the screenshot here:
You might not need to use Arcade though, if you're working in Pro. Pro has select by location. You can select the points that fall within the polygon that way.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.