AnsweredAssumed Answered

Features within a geometry

Question asked by Taimoor.Khan0 on Jul 25, 2018
Latest reply on Jul 25, 2018 by Taimoor.Khan0

Hi, I'm making a QML application where I want to see if the features of one feature layer (which are points) are within the bounds of another feature layer which is of geometryType esriGeometryPolygon (https://livefeeds.arcgis.com/arcgis/rest/services/LiveFeeds/Wildfire_Activity/MapServer/2 this is the actual layer if it helps). Currently I'm getting data on wildfires by doing a queryFeaturesWithFieldOptions on the Active Fire Report layer to gain info on wildfires in my current extent, but I want to see the points of the other feature which are within the polygon of the perimeter. Within my QueryParameters I see options for spatialRelationship, outSpatialReference, and geometry so I definitely think what I'm trying to do is possible, but from my testing I haven't gotten the results I want yet. Any help would be appreciated, and I can answer any questions if needed.

Outcomes