|
POST
|
Version matching between Python API and Portal can be tricky. First of all, Python API and Portal are not released hand in hand, their versions are loosely related via REST API. Secondly, Python API is a wrapper around the ArcGIS REST API. So it's really about matching REST API with your server and portal. If a Python API function is not working as expected, I would go back to REST API to check if the operation is supported by my portal and server version. If the operations are applicable to ArcGIS Server, I noticed the REST API document will give you the "Version Introduced" information. For example: Start Service—ArcGIS REST API: Administer your server | ArcGIS for Developers Thirdly, ArcGIS REST API seems intentionally weaken the notion of the software version, which makes sense for one major platform the API interacts with - ArcGIS Online which has moved away from traditional version shifting to a continuous evolving & improving strategy - no backward compatibility issues for ArcGIS Online users, obvious. Last, ArcGIS REST API is a big umbrella trying to cover all ESRI Web GIS products (AGOL, Enterprise), although version is not an issue for AGOL, it does confuse Enterprise users, as you know, ArcGIS Enterprise is still released in discrete versions like desktop products. On the other hand, I don't think it's gonna to be easy to give a suitable version number to the REST API which consists of resources and operations of different categories (AGOL, Portal, Server, etc) which themselves use different version strategies. So, there seems no easy answer to you question. Just some food for thought. and hope it helps.
... View more
10-02-2018
08:19 PM
|
2
|
1
|
2146
|
|
POST
|
You are right. I tried SQL in Map Viewer, it didn't work either. I have to manually do it in AGOL Map Viewer using Arcade expression to set the Date column to NULL. But I am not sure this is what you want. .
... View more
09-26-2018
01:48 AM
|
0
|
0
|
3708
|
|
POST
|
I don't know how you did it, but could you test whether or not the following code works? feature.set_value('DateFieldName',None)
... View more
09-24-2018
11:28 PM
|
0
|
2
|
3708
|
|
POST
|
I can't identify any issue in your code, but maybe you can try mapview.draw function: arcgis.widgets module — arcgis 1.5.0 documentation I tried to construct a FeatureSet out of the buffer result, then successfully displayed it with the draw function. It seems you need to use WGS84 (EPSG4326) spatial reference. and here is the code snippet: #important, project the location before buffering
_p=project([p],in_sr=sr2,out_sr=sr)[0]
fill={"type": "esriSFS", "style": "esriSFSSolid", "color": [255,0,0,255]}
buf=buffer(geometries=[_p],in_sr=sr,distances=[500],unit='Meters')
#this is the key
buf[0]['spatialReference']=sr
f=Feature(buf[0])
fset=FeatureSet([f],spatial_reference=sr)
map1.clear_graphics()
map1.draw(fset,symbol=fill)
map1.draw(p,symbol=symbol) If you want to see the full post, here is the link. how to draw a buffer on the map?? Please note there are better ways to do buffer and visualize the result, I was doing it just for some test at that point of time
... View more
09-24-2018
05:31 PM
|
1
|
1
|
2978
|
|
POST
|
Agree with Joshua. And here is an example using a quite similar approach, it should work straight away for your data if you give it some simple tweaks. Proximity analysis | ArcGIS for Developers
... View more
09-23-2018
10:53 PM
|
0
|
0
|
2090
|
|
POST
|
Hi Julie, After many emails and phone calls, The local distributor transferred the license from my developer subscription to my AGOL organisational subscription . I still can't understand why they stopped issuing the license directly from organisational AGOL despite it is so closely integrated with it ... it seems a communication breakdown among people who market it & sell it and people who designed it & built it. which leaves users stranded. Anyway, it was negotiable in my case at that time, I've moved on to other projects using other tools. Good luck.
... View more
09-23-2018
09:51 PM
|
0
|
0
|
2408
|
|
POST
|
Hi David, Thanks for the clarification. Legend is so essential when mapping data in data science field. It's not like street map which people can understand without a key / legend, because of its ubiquity. Since this function does not exist, I created a ArcGIS Idea, and hope this could become a priority in the future development. https://community.esri.com/ideas/15551
... View more
09-17-2018
04:18 PM
|
0
|
0
|
3830
|
|
IDEA
|
Like charts built using python matplotlib library have legend, Maps built using ArcGIS Python API should have legend. After all, what's the point of using sophisticated ArcGIS map rendering technology when the audience can not understand what the symbols and colors mean?
... View more
09-17-2018
04:10 PM
|
1
|
1
|
1579
|
|
POST
|
If the charts from python matplotlib can have legend, I am sure maps should have legend too. After all what's the benefit of using sophisticated ArcGIS map rendering technology when the audience can not understand what the symbols and colors represent? I hope one of the group admins can shed some light on this Atma Mani Rohit Singh John Yaist
... View more
09-16-2018
05:05 PM
|
0
|
0
|
3830
|
|
POST
|
A bug related to this topic has been confirmed by ESRI. #BUG-000116650 Python script within the default toolbox in a project is appended with an invalid directory path after sharing the project as a project package.
... View more
09-10-2018
11:42 PM
|
2
|
0
|
2280
|
|
POST
|
Hi folks: A very basic question: How to display map legend in the webmap widget? I am really stuck despite I've been trying and using ArcGIS Python API for a little while. Is it even possible? Thanks.
... View more
09-10-2018
07:05 PM
|
0
|
6
|
4252
|
|
POST
|
uhm... Unfortunately I can't find any implementation of the group category in Python API. So it seems you have to use REST API to do it. To list the the group content categories : Group Category Schema—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers To update the group content categories : Update Group Items with Content Categories—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers Google "how to send http request using python" will get the coding part sorted for you. Good luck!
... View more
09-03-2018
11:55 PM
|
0
|
3
|
10813
|
|
POST
|
This function is still not there as of today. So it's never too late to create a new ArcGIS Idea, please vote it up if it makes sense to you. https://community.esri.com/ideas/15486
... View more
08-31-2018
12:13 AM
|
0
|
0
|
1091
|
|
IDEA
|
It will be nice to have this feature realized in Collector for ArcGIS. This is a MUST-HAVE feature for any assessment scenario: the locations of the subject being assessed are generated in a separate process by professionals, these are authoritative data which are strictly protected and not allowed to be changed by field workers, who are no experts in collecting spatial data but experts in their own business area like utility services, disaster relief, damage assessment of all sorts. The assessment forms are normally organised as the related tables for the feature layers (properties, business, pipelines, valves etc.) on the map. I know we can disable editing for the feature layer in the web map to prevent it from being edited by the field workers. but this will disable editing for the attribute table of the feature layer, and in the attribute table we have some fields holding the information for the process of the assessment, and according to these information to symbolize our data. so we need "update attribute only" setting for the feature layer to make dynamic symbolization possible. Currently, in Collector, if we select "update attribute only" for the feature layer, all the related tables are read-only and we can only view the records in them. This is ... not very helpful. We might be able to workaround this in some cases, but enable editing for related table while the feature server is "Update Attributes Only" should be the most straightforward solution.
... View more
08-31-2018
12:09 AM
|
23
|
1
|
6757
|
|
POST
|
I am not sure I understand the question. what do you mean "Group categories"? is it "Sub Categories"? If yes, I guess you can access sub categories the same way using the code provided. CategoryManager is where all the relevant functions are implemented. CategoryManager — arcgis 1.5.0 documentation
... View more
08-30-2018
05:11 PM
|
0
|
5
|
10813
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-28-2019 05:13 PM | |
| 1 | 02-25-2019 04:54 PM | |
| 1 | 03-05-2019 02:08 PM | |
| 1 | 03-12-2019 10:20 PM | |
| 1 | 11-27-2024 04:36 AM |
| Online Status |
Offline
|
| Date Last Visited |
01-17-2025
07:39 AM
|