|
POST
|
When you run conda info from the active arcgispro-py3 env, what do you see? What is the root environment?
... View more
03-30-2018
11:22 AM
|
0
|
3
|
4610
|
|
POST
|
Hi Dan Thanks for your reply. I didn't upgrade from 1.2.5 to 1.4 in Pro's Package Manager. The instructions explicitly state that the upgrade at Pro 2.1 should occur through the prompt prompt using the conda upgrade command. My problem is that the environment appears active from the syntax shown before the path <(arcgispro-py3)> but doesn't recognize any packages. This might come down to where activate.bat is finding the scripts_path. maybe the only scripts path available points to my Anaconda installation. I'm not sure how I would fix this. Here is the location in the bat file where this is referenced: @SET "CONDA_SCRIPTS=%scripts_path%"
... View more
03-30-2018
11:17 AM
|
0
|
0
|
4610
|
|
POST
|
I'm encountering an odd error when following the instructions for upgrading the package for Pro (2.1.2) located here: Install and set up | ArcGIS for Developers. I'm upgrading the Python API from 1.2.5 Using the Python Command Prompt packaged with the Pro installation leads to the error (see attachment): 'Package not found: 'arcgis' Package 'arcgis' is not installed in F:\Anaconda3\envs\arcgispro-py3 There appears to be a conflict between my Anaconda installation and the conda installation packaged with ArcGIS Pro. It is odd that the Python Cmd Prompt doesn't recognize a package in the Pro environment because it is active. I tried adding a system and user path variable: "C:\Program Files\ArcGIS\Pro\bin\Python\Scripts". That didn't help. Has anyone experienced this and have any ideas? David Wynne Joshua Bixby
... View more
03-30-2018
10:55 AM
|
0
|
13
|
7132
|
|
POST
|
from arcgis.gis import server
url = r"https://<server>.<domain>.org:6443/arcgis/admin/
site = server.Server(url,username="<usr>",password="<pw>")
srvdir = site.content
#Will return a MapImage layer
queries = srvdir.get("<name>",folder="<folder>")
srvdir = server.ServicesDirectory(url,username="<usr>",password="<pw>")
#returns error
srvdir.get("<name>",folder="<folder>")
...
KeyError: 'folders' I suppose i'll try to upgrade to 1.4...
... View more
03-29-2018
02:58 PM
|
0
|
1
|
753
|
|
POST
|
My arcgis api is version 1.2.3. An update should solve this problem.
... View more
03-28-2018
02:53 PM
|
0
|
4
|
3793
|
|
POST
|
gis.server.Server() Here is one method I have tried (edited to remove redundant code) from arcgis.gis import server
url = r"https://<server>.<domain>.org:6443/arcgis/admin/"
srv = server.catalog.ServicesDirectory(url,username="<usr>",password="<pw>")
print(srv.list("<example>"))
...
KeyError: 'folders'
... View more
03-28-2018
12:57 PM
|
0
|
5
|
3793
|
|
POST
|
Hi bixb0012 Have you had any luck accessing services this way? Can you post an example? Getting access to an unfederated server is a bewildering process with the ArcGIS Python API.
... View more
03-28-2018
11:57 AM
|
0
|
7
|
3793
|
|
POST
|
Applying the correct query appears to fix this issue. However im not sure what the concept of workflows is in this app, so this could not be a good fix for someone who has applied this for some other workflow... from js\library\widgets\mapSettings\mapSettings.js near line 361 _executeQueryTask: function (index, mapPoint, QueryURL, onMapFeaturArray) {
var esriQuery, queryTask, queryOnRouteTask, currentTime, layerIndex = index,
queryString;
queryTask = new QueryTask(QueryURL);
esriQuery = new Query();
currentTime = new Date().getTime() + index.toString();
queryString = currentTime + "=" + currentTime;
//set where clause to honor definition expression configured in webmap
if (appGlobals.operationalLayers[index].layerObject.webmapDefinitionExpression) {
queryString += " AND " + appGlobals.operationalLayers[index].layerObject.webmapDefinitionExpression;
}
//
//Add IF here
//overwrite querystring if a filter has been applied.
if (appGlobals.shareOptions.arrWhereClause) {
queryString = appGlobals.shareOptions.arrWhereClause[0]
};
//
... View more
02-13-2018
05:17 PM
|
0
|
0
|
855
|
|
POST
|
Records included in popup do not always honor the query applied to the data. This is scale dependent. If a user is at a fine scale the popups do not include incorrect sales records. The popup seems bring back all records in an area, as opposed to the individual point clicked. This is replicated in the demo site: Site Selector... Demo Site: Local Implementation: Mike Tschudi Lindsay King Chris Buscaglia Lindsay Thomas
... View more
02-13-2018
01:14 PM
|
0
|
1
|
900
|
|
BLOG
|
Thanks to these people for helping out so much. And thanks to ESRI for making GeoNet a priority.
... View more
01-18-2018
10:49 AM
|
7
|
0
|
1207
|
|
POST
|
Soon, like 1st Quarter soon? Or soon like, this month soon?
... View more
01-03-2018
12:58 PM
|
0
|
1
|
2358
|
|
POST
|
Thanks for your reply. It would be helpful to document what version of JS API is targeted per Arcade release in the release notes section of Arcade's doc page.
... View more
01-03-2018
12:57 PM
|
0
|
1
|
2358
|
|
POST
|
When using Buffer, a popup will not display a value in a Web AppBuilder App. However, it is shown in an AGOL map. Centroid(), which was released with Arcade 1.3, works properly. Versions: WAB Developer Edition 2.6 (JSAPI 3.22) Arcade: 1.3 (JSAPI ??) Example: This will return the xmin value of the extent of a buffer. var geom = Geometry($feature)
var buf = Buffer(geom, 1, 'miles')
var ext = Extent(buf)
return ext.xmin The resulting popup in AGOL is correct. It does not appear in WAB. Kelly Hutchins Xander Bakker KEkenes-esristaff
... View more
01-03-2018
10:45 AM
|
0
|
6
|
2699
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-06-2022 02:52 PM | |
| 1 | 07-27-2023 10:51 AM | |
| 2 | 11-14-2023 08:48 AM | |
| 1 | 10-27-2021 11:50 AM | |
| 2 | 12-11-2023 04:10 PM |
| Online Status |
Offline
|
| Date Last Visited |
04-29-2024
11:30 AM
|