//itterate through polygons of a storm's projected path, and intersect with location points foreach (var feature in stormPolygons.FeatureSet.Features) { QueryTask qt = new QueryTask("http://serverAddress/ArcGIS/rest/services/MyData/GlobalPoints/MapServer/0"); Query q = new Query() { Geometry = feature.Geometry, ReturnGeometry = true, //SpatialRelationship = SpatialRelationship.esriSpatialRelIntersects }; q.OutFields.Add("*"); qt.ExecuteRelationshipQueryCompleted += IntersectComplete2; //qt.ExecuteCompleted += IntersectComplete; qt.ExecuteAsync(q); }
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.