|
POST
|
Hi @Matthew_Williams I think managing cache can take place after publishing the service, which means that you first publish the service as non-cached then use GP tools to create the cache according to your needs. This doco page here provides more details. https://pro.arcgis.com/en/pro-app/latest/tool-reference/server/manage-map-server-cache-tiles.htm
... View more
09-19-2021
10:34 PM
|
1
|
0
|
1156
|
|
POST
|
I am looking at the sample scene layer here: https://tiles.arcgis.com/tiles/P3ePLMYs2RVChkJx/arcgis/rest/services/Buildings_Harvard/SceneServer/l... it is in JSON, and I can see there is a list of fields exposed via the layer, so the same should be there in your layer in order to be able to do queries and see fields values.
... View more
09-19-2021
09:15 PM
|
0
|
0
|
1652
|
|
POST
|
Hi @sullivani I found an ESRI JS sample that is doing something very similar to what you are doing, and I can see it is giving the same error message, even before doing any query/identify operation. https://developers.arcgis.com/javascript/latest/sample-code/layers-scenelayerview-query/live/ My guess now is that there is something wrong either with the JS APIs latest release or something wrong with the published data. However, by debugging the code, I can see that the "buffer-too-small" error is not stopping the application, and I am still able to do the identify and see the result in the browser console. Regards Ihab
... View more
09-19-2021
08:22 PM
|
1
|
0
|
4223
|
|
POST
|
can you paste here the function/logic that you are trying to run which gives this error?
... View more
09-17-2021
02:42 AM
|
0
|
0
|
4278
|
|
POST
|
The error message is giving a hint that it might be possible to install the API, and giving examples on how to install new packages/dependencies, I would say this worth checking. I am not familiar with other Python packages that can provide plotting spatial data on a map. If you are able to use ESRI products, you can easily do this in ArcGIS Pro or ArcGIS Online, or even building simple Javascript application. That's a JS sample: https://developers.arcgis.com/javascript/latest/sample-code/layers-csv/
... View more
09-17-2021
02:30 AM
|
1
|
0
|
1845
|
|
POST
|
Hi @sullivani There is SceneView and there is a FeatureLayer: SceneView: provides the 3D display for the added feature layers FeatureLayer: endpoint to a map service that may allow querying underlying data source So, you may need to check first if the FeatureLayer has query endpoint available, check if you can browse to similar URL to this "{arcgis server url}/server/rest/services/Hosted/HV_ONE/FeatureServer/0/query" This might be one thing that can clear things up. Regards Ihab
... View more
09-16-2021
10:46 PM
|
0
|
0
|
4286
|
|
POST
|
Hi @RabinSubedi I think you might need first to be sure that Google Colab provides access to ESRI API for Python. So first, are you able to run the following line of code successfully in Colab? from arcgis.gis import GIS gis = GIS('home') if not, then I don't think ArcGIS API for Python is fit for what you are after. Regards Ihab
... View more
09-16-2021
10:38 PM
|
0
|
2
|
1855
|
|
POST
|
Hi @ErikGarcia1 I had to do one line modification to feedRoutine function: def feedRoutine (url, workGDB) : # workGDB and default workspace print("Creating workGDB...") arcpy.env.workspace = workGDB arcpy.env.overwriteOutput = True #incase the gdb file is already created arcpy.management.CreateFileGDB(os.path.dirname(workGDB) , os.path.basename(workGDB)) that's the run log Creating workGDB... Downloading data... Creating feature classes... Deploying... Done! Hope that helps Ihab
... View more
09-16-2021
10:23 PM
|
0
|
1
|
2084
|
|
POST
|
Hi @Mohammedaz to be able to construct a line feature that exactly follows the street, you will need to get your hands on the streets data, query the geometry, and use the geometry values to build your graphics/features. The streets that you can see on the map are from a basemap, which is just an image, the basemap won't provide you with a vector layer for streets.
... View more
09-09-2021
11:39 PM
|
0
|
1
|
989
|
|
POST
|
Hi, I have posted something similar yesterday, I cannot use "FeatureSetByRelationshipName" for no apparent reason. The Arcade expression fails while testing popup configuration expression. https://community.esri.com/t5/developers-questions/featuresetbyrelationshipname-arcade-function/m-p/1063283#M5894
... View more
05-31-2021
05:27 PM
|
0
|
1
|
3188
|
|
POST
|
I am not sure what is wrong with the arcade line or the sample, although it seems pretty straight forward to me, the function needs the relationship class name to retrieve the feature set, and I am providing the relationship name as it is defined in the service JSON description. Any reason why this line would fail ? I tried this in both map viewers classis/new.
... View more
05-31-2021
04:29 PM
|
1
|
1
|
4170
|
|
POST
|
Hi All, I hosted the attached sample data on AGOL. I am trying to run the following arcade expression while configuring popup for the "Permits" layer. var fs = FeatureSetByRelationshipName($feature, 'Permits_RelatedTbl_1', ['*'], false); return fs; However, I run into an error while testing the expression. Execution Error:An error occurred. There is a relationship as defined in the layer "relationships" : [
{
"id" : 0,
"name" : "Permits_RelatedTbl_1",
"relatedTableId" : 1,
"cardinality" : "esriRelCardinalityOneToMany",
"role" : "esriRelRoleOrigin",
"keyField" : "globalid",
"composite" : false
}
] Any ideas ?
... View more
05-31-2021
01:23 AM
|
1
|
4
|
4231
|
|
POST
|
Hi the fact that the application is not throwing an error while instantiating GIS object means that you got the GIS package installed without an issue. I tried to run this in Pro Notebook, it didn't work as well, but it did run on local jupyter notebook, although both are using the same python env.
... View more
04-20-2021
06:23 PM
|
1
|
0
|
2851
|
|
POST
|
I can see that Dave Peters is now retired, not sure who is going to continue his work and update the tool
... View more
03-24-2021
03:59 PM
|
0
|
0
|
2195
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-29-2024 07:29 PM | |
| 1 | 05-17-2022 09:41 PM | |
| 1 | 09-12-2023 12:23 AM | |
| 1 | 01-15-2024 02:36 PM | |
| 2 | 01-06-2024 08:57 PM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|