POST
|
I'm using ArcGIS JS API 4.10 There is the function I'm using by: function spatialQuerySublayer(sublayer, extent) { let spatialQuery = sublayer.createQuery() spatialQuery.geometry = extent spatialQuery.spatialRelationship = 'intersects' spatialQuery.outFields = ['OBJECTID'] return layer.queryFeatures(spatialQuery) } It is a spatial request of a sublayer against another sublayer, but I don't know how to take the extent of the sublayer which I do request againts
... View more
03-29-2019
03:04 AM
|
0
|
1
|
1222
|
POST
|
Hi, I have a MapImageLayer with a bunch of sublayers and want to perform spatial queries to get polygons that intersects among every two sublayers. How to get the extent of a sublayer to set a geometry of the query?
... View more
03-27-2019
04:13 AM
|
0
|
3
|
1467
|
POST
|
A problem has appeared. When I'm working with feature layers the app performance is very poor, processing and loading FeatureLayer's is extremely slow. Therefore I've decided to work with MapImageLayer, which is loaded immediately. But now how to query sublayers of MapImageLayer for get those ObjectIds that are intersects with given extent?
... View more
03-14-2019
05:34 AM
|
0
|
1
|
1467
|
POST
|
Now I'm accessing the feature layers directly from Map Image layer indeed, but the application is extremely slow. A large part of the requests are canceled: When I want to get some info with the popup I need wait > 60 sec?! What could be the reason of canceled requests? I'm pretty sure that the server and/or service have not appropriate setup. If I use a hosted server, will it improve the performance? And what are the requirements to set arcGIS server for hosted server, because it is not appeared as an option in a dropdown menu.
... View more
02-26-2019
02:11 AM
|
0
|
0
|
1844
|
POST
|
I'm using v.10.6.1. My Portal is federated with ArcGIS Server, but the server is not set as a hosting server, because it is not appeared in the dropdown menu: The data that I want to share are all of type feature classes. Furthermore, I've configured Relational and Tile Cache Data Stores and all are validated successfully: I cannot publish to ArcGIS Online for testing purposes, due to my account does not have publishing privileges.
... View more
02-22-2019
03:27 AM
|
0
|
0
|
1844
|
POST
|
Hi, I'm trying to share a web feature layer from ArcGIS Pro to an enterprise server, but the only available Layer type is Map Image. I want to share it as a Feature Layer type. What could be the problem with inactive Feature checkbox?
... View more
02-20-2019
05:02 AM
|
0
|
5
|
1948
|
POST
|
Thanks a lot, I haven't know about I can pass a query results to a definition expression
... View more
01-31-2019
02:19 AM
|
0
|
3
|
1467
|
POST
|
Hi ARCGIS/JS experts, I have a bunch of web layers and want to hide all polygons that are intersect with a given geometry/other layer. I filter these intersecting polygons using spatial query, but then I don't know how to hide them. I was thinking that can manipulate renderer of resulting polygons, something like: hide(), opacity = 0, visible=false... Or maybe I need filter only those that are not intersecting and render only them? Here is my query: view.whenLayerView(layer).then(function(layerView){ var query = layer.createQuery(); query.geometry = new Extent({ xmin: 6902682.7633, ymin: -3519872.5095, xmax: 11221869.7958, ymax: -2276864.0272, spatialReference: 102100 }); query.spatialRelationship = "intersects"; layer.queryFeatures(query).then(function(results){ for (var index in results.features) { //hide as manipulate its rendering } // or something like layerView.highlight(results.features) }) }); Is this right approach, or I need first to query polygons that are not intersecting and then add results to a new layer and render only them? In such case what should be query.spatialRelationship?
... View more
01-30-2019
09:18 AM
|
0
|
5
|
1579
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|