//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); }
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.