POST
|
It is possible using the ArcGIS API for Python alone. See updating_features_in_a_feature_layer | ArcGIS for Developers and overwriting_feature_layers | ArcGIS for Developers
... View more
07-24-2017
10:13 AM
|
3
|
3
|
5921
|
POST
|
The ArcGIS API for Python acts as a 'serverless native application' when using OAuth 2.0 authorization with ArcGIS. To be able to log in using OAuth 2.0, you need to follow the workflow described below: Log into your web GIS (ArcGIS Online organization or ArcGIS Enterprise) Go to Content tab Click '+ Add Item > An Application' menu Add an application: Type: Application Title: Python Tags: python On the Item details page of this newly created application, navigate to Settings tab Click the Registered Info button. It's towards the bottom of the page. This will show an App ID. This is your client id and needs to be passed in as the client_id parameter when construcing a GIS object. You need this in your Python code to log in Example code: test_client_id = 'OGz1I2eoO8dO0ii2' gis = GIS('https://deldev.maps.arcgis.com', client_id=test_client_id) gis.users.me If your configured identity provider is compatible, you can even pass in your login credentials for a non-interactive login workflow: gis = GIS('https://deldev.maps.arcgis.com', 'your-username', 'your-password', client_id=test_client_id) (Additional info: This is using "Mobile and Native Named User Login" workflow described at https://developers.arcgis.com/documentation/core-concepts/security-and-authentication/mobile-and-native-user-logins/)
... View more
07-21-2017
04:04 PM
|
4
|
1
|
5408
|
POST
|
Click the Refresh button and it should then allow you to upgrade.
... View more
07-21-2017
03:54 PM
|
0
|
1
|
639
|
POST
|
The map widget should be displayed before layers are added to it. The following should work: from IPython.display import display from arcgis.features import FeatureLayer from arcgis.features import FeatureCollection my_map4 = my_gis.map('Chicago', 9) my_map4.basemap = 'osm' f1 = FeatureLayer('http://xxx.com/arcgis/rest/services/Stage/crew_change_point_service/MapServer/0') f2 = FeatureLayer('http://xxx.com/arcgis/rest/services/Stage/yard_service/MapServer/0') display(my_map4) my_map4.add_layer([f1, f2])
... View more
07-18-2017
10:45 AM
|
0
|
1
|
723
|
POST
|
Enterprise logins (and all types of logins) are supported in the version that went out last week (v1.2). For OAUTH/SAML, you need to pass in the URL and the client_id parameter in the GIS constructor.
... View more
07-14-2017
01:57 PM
|
1
|
5
|
5408
|
POST
|
What's the json being passed in the text parameter. You can check its validity using the tool at https://jsonformatter.curiousconcept.com/
... View more
06-13-2017
04:54 AM
|
0
|
1
|
988
|
POST
|
Hi Philip, You can do to this link and save the file with extension (.ipynb) to download it: https://raw.githubusercontent.com/Esri/arcgis-python-api/dev/samples/03_org_administrators/clone_portal_users_groups_and… The download the samples button is not for downloading the particular sample.
... View more
06-12-2017
10:48 PM
|
1
|
4
|
988
|
POST
|
Charlie, The geoanalytics module is for working with big-data, and is only supported on ArcGIS Enterprise. You can use arcgis.geoanalytics.is_supported() method to check whether geoanalytics is supported in your GIS. For working with feature data, you need to look at the tools available within the submodules of arcgis.features modules. The guide at Summarizing feature data | ArcGIS for Developers describes working with these tools. Thanks, Rohit
... View more
05-19-2017
12:17 AM
|
0
|
2
|
3417
|
POST
|
We only use conda for distributing the ArcGIS Python API. It was never on pip.
... View more
04-24-2017
03:19 PM
|
0
|
1
|
649
|
POST
|
I can confirm that this issue is being resolved as well in the next update. Since you're Esri staff, you can get access to the latest code from the internal respository.
... View more
04-11-2017
08:25 PM
|
1
|
0
|
661
|
POST
|
I checked and found that you have run into a bug. We've added the fix for the next update, but for now, you may edit analyze_patterns.py at the path in the stack trace, and remove the first (gis) parameter from line 128. It should be: return gis._tools.featureanalysis.find_hot_spots(
analysis_layer,
analysis_field,
divided_by_field,
bounding_polygon_layer,
aggregation_polygon_layer,
output_name,
context)
... View more
04-11-2017
08:05 PM
|
2
|
0
|
404
|
POST
|
Are you creating more than one GIS object? The last created GIS object is used for analysis by default, unless you explicitly pass in a gis parameter to specify the GIS (or create the GIS object with set_active=False)
... View more
04-11-2017
11:43 AM
|
0
|
1
|
661
|
POST
|
Thank you for reporting this. We'll get this fixed for the next update.
... View more
04-11-2017
11:23 AM
|
1
|
3
|
661
|
POST
|
If you want to make notebooks available for your users through a web server, you could use one of these options: * JupyterHub - JupyterHub — JupyterHub 0.8.0.dev documentation Multi user notebook server, runs on Linux though - this is the preferred way. * tmpnb - GitHub - jupyter/tmpnb: Creates temporary Jupyter Notebook servers using Docker containers. Creates temporary notebooks server using docker containers, used by notebooks.esri.com to show samples * run jupyter notebook as a server - Running a notebook server — Jupyter Notebook 5.0.0.dev documentation This is not the multi-user server you are looking for
... View more
04-04-2017
06:32 PM
|
2
|
1
|
1439
|
Title | Kudos | Posted |
---|---|---|
1 | 07-05-2018 06:35 AM | |
1 | 03-14-2018 08:13 PM | |
2 | 08-29-2017 09:51 AM | |
1 | 12-23-2016 04:05 AM | |
1 | 01-06-2017 11:24 AM |
Online Status |
Offline
|
Date Last Visited |
02-16-2024
03:28 AM
|