Hi, I tested it and it doesn't seem to do what I want it to do. Maybe to explain my use-case better: I have this feature layer (https://gis.wri.org/server/rest/services/LandMark/comm_ind_Documented/MapServer/1) that you can visualize graphically here. I would like to query these layer for multiple locations; for example (LAT 36.357824, LNG-109.271351) and (LAT -14.681117, LNG 127.484020). Querying the points one by one I get the results I want, but the MultiPoint approach doesn't get me any results (seemingly because both points need to be in a the same shape). My code below: MultiPoint: feature_layer = arcgis.features.FeatureLayer(FEATURE_LAYER_comm_ind_Documented) result = feature_layer.query(geometry_filter=arcgis.geometry.filters.contains(multi_point)) Point by point: feature_layer = arcgis.features.FeatureLayer(FEATURE_LAYER_comm_ind_Documented)
point = arcgis.geometry.Point({'x': location.lng, 'y': location.lat, 'spatialReference': {'wkid': 4326}})
result = feature_layer.query(return_geometry='false', sr={'wkid': 4326}, geometry_filter=geom_filter).to_dict() The reason why I would like to avoind the point-by-point approach is because I have thousands of locations, and I want to save round-trips to the MapServer. I also tried downloading the layer to a GeoAccessor or DataFrame, but that takes forever. Maybe what I want to do is not possible Best, Gilles
... View more