POST
|
Hello Ryan Slevin, yes, we added this functionality a while back. You can read more about it here: Managing offline map areas | ArcGIS for Developers and see the API ref doc here: arcgis.mapping module — arcgis 1.5.2 documentation
... View more
01-03-2019
12:15 PM
|
0
|
0
|
28
|
POST
|
One way to investigate this is to list the custom roles using Python, then using that as an input when you create a new user. This avoids typos and aliases if there are any. You can look up at Accessing and managing users | ArcGIS for Developers for how to list custom roles.
... View more
09-14-2018
09:31 AM
|
0
|
0
|
40
|
POST
|
Naresh, Try [ user . username for user in gis . users . search ( ) ] which should return you a list of usernames instead of User objects.
... View more
09-12-2018
04:24 PM
|
2
|
4
|
90
|
POST
|
Sounds pretty interesting. Thanks for sharing, the dev team gets very excited whenever we hear real world usage of our products like this. When you get a chance, check out visualization on "SpatialDataFrame" object visualizing data with the spatial dataframe | ArcGIS for Developers. You can slice and dice your data even more, throw it on a map to view spatial patterns, or plot them to see non-spatial characteristics. Also, remember, anything you draw on your map widget can be saved as a web map.. useful if the field crew wants to quickly check something using their mobile devices.
... View more
08-06-2018
01:14 PM
|
0
|
0
|
25
|
POST
|
Darris Friend try map1 . add_layer ( freeway_feature_layer , { "renderer" : "ClassedSizeRenderer" , "field_name" : "MAXCONSUMPtION" } ) Checkout the topic on "Smart Mapping" for examples Smart Mapping | ArcGIS for Developers
... View more
08-06-2018
10:55 AM
|
2
|
2
|
25
|
POST
|
Phil Larkin, Ben Holmes since the objective is to get a list of `Service` objects in each folder, please refer to the doc here: Managing your GIS servers | ArcGIS for Developers In short below should work in version `1.4.1` server1 . services . list ( ) # to get list of services in root server1 . services . folders # to get list of folders server1 . services . list ( folder = 'System' ) # to get services in a particular folder
... View more
08-01-2018
08:23 PM
|
0
|
3
|
92
|
POST
|
Hello Patrick, this is an interesting question. In short, this is a limit that is by design. The reason is, unlike and application (like Pro or web app viewer), the Python API (since it is an API), does not "remember" the symbology and renderers of a layer once you remove it. All render info is stored in the layer dictionary and when you make an API call to remove it, you lose it. Can you workaround it? Sure, you can. Before you call the remove_layer, just get a copy of its dictionary. After you call the add_layer, update it by applying the parts from the older layer. You need to be careful as your new layer may have fields with different names, and such differences. Hope this helps.
... View more
07-30-2018
11:29 AM
|
0
|
2
|
25
|
IDEA
|
Cristian, this is under consideration by the ArcGIS API for Python team.
... View more
06-22-2018
08:48 AM
|
2
|
0
|
117
|
POST
|
Hugo, you were close. You should do the following in the Python command prompt as mentioned in the Install and set up | ArcGIS for Developers help. conda upgrade -c esri --no-pin arcgis (note the --no-pin at the end) Yes, you have a good understanding of the versions. The functionality you get is dependent on ArcGIS Online version, ArcGIS Enterprise version and the version of the Python API. Since Online is SAAS (software as a service), we like to call it version-less. It is always up-to-date, whereas you need to manually update Enterprise and the Python API.
... View more
06-21-2018
09:51 AM
|
0
|
2
|
61
|
POST
|
Hello Hugo, I am sorry that you had to spend a lot of time on this. At Pro 2.1 due to a technical complication we could not allow upgrading the Python API from the UI. Please take a look here: Install and set up | ArcGIS for Developers to see how you can upgrade the Python API via "Python command prompt". I agree this workflow (command line overrides) is not ideal, but the good news is, future versions of Pro will have a much nicer workflow of upgrading your Python packages and managing your environments. Now that you can upgrade the API to version 1.4.2, take a look at this topic: Working with web maps and web scenes | ArcGIS for Developers which might be relevant to what you are doing. Side note: In the image you attached, you are querying the members exposed off the 'Item' object, not the WebMap object. At 1.4.2, you will see methods to list, add, remove layers. - Atma
... View more
06-20-2018
09:40 AM
|
0
|
4
|
61
|
Online Status |
Offline
|
Date Last Visited |
11-19-2020
05:32 PM
|