POST
|
Hi Guillaume Arnaud and Magaly CLEMENT - I'm reproducing what you report. Let me investigate for a workaround and I'll update you when I can.
... View more
03-08-2018
07:14 AM
|
1
|
0
|
1038
|
POST
|
Hi mjimenez@prvectorcontrol.org_prvectorcontrol - The syntax for the `out_statistics` parameter is the same as the REST API. What data type is the `structureid` field? What's the error message you receive?
... View more
03-05-2018
01:01 PM
|
0
|
1
|
797
|
BLOG
|
What’s new in the ArcGIS API for Python v1.4 We've released the next version of the ArcGIS API for Python - version 1.4. Click here for instructions on how to upgrade, and view the whole range of release notes. There's a ton to be excited about it in this latest offering, and just in time for the 2018 Esri Developer Summit. Let's highlight some of the new features so you can make the most of what this API has to offer. You wanted the option to install the ArcGIS API for Python with pip, so we've responded and made a pip package available through PyPi, allowing you to install the API according to your needs. See the documentation here for full details on using the pip package manager to install the API, differences between installing with pip and conda, and much more! We've also added options to the connection experience for using your Web GIS. You now have the ability to initialize a GIS object from a token created externally. The token generated from apps or sessions elsewhere will allow you to connect with the API and access Enterprise or Organization resources. Also upon connecting, we've enabled the persistence of profiles so that you can store your credentials locally in a secure manner and log into the GIS using the name of a profile instead of entering credentials. You're even able to store multiple profiles and use them simultaneously. Check out more details in the Guide for Working with different authentication schemes. We're really pleased with improvements we've made to the Spatial DataFrame. Incorporation of the shapely package enhances the interoperability of the ArcGIS API for Python. Working with shapely and other geospatial data science packages like GeoPandas and fiona allows the ArcGIS API for Python to read and write almost any geospatial format on any platform. Improvements to the plotting method of the Spatial DataFrame provide an extensive range of symbology options for visualizing data with the Map widget. We've also added upload management functionality to the Feature Layer Collection object so you have more ways to attach information where it's most useful in your GIS. And with more functions added in the raster functions module, the future is bright for all kinds of analysis, visualization and data management with the ArcGIS API for Python. At 1.4, the API has a wider range of symbology options. Take a look: df.plot(kind='map',
map_widget=m,
colors='Reds_r',
marker_size=10,
outline_color='Blues',
symbol_style='d') The Python API in Jupyter notebooks is great for exploratory data analysis. You can quickly visualize data using symbology from matplotlib. With the new graphing capability for displaying a complex raster chain analysis, you can clearly visualize your workflows: Interested in learning and using the Python API? We encourage you to consider making it priority number one. Check out this video recording of the GeoDev Webinar Series to get a broad perspective of what you can do with the API. Also, add the ArcGIS for Developers Sample Notebooks and Dev Labs to your to-do list to inspect the capabilities of the ArcGIS API for Python for yourself. Sessions galore for you to explore at The Developer Summit in Palm Springs - We'll see you there! Title Date & Time Room Repeat Date & Time Repeat Room ArcGIS API for Python: Administering Your Web GIS Tuesday, Mar. 6 5:30 – 6:30 pm Primrose B Thursday, Mar. 8 5:30 – 6:30 pm Primrose B ArcGIS API for Python: Introduction to Scripting Your Web GIS Tuesday Mar. 6 1:00 – 2:00 pm Primrose B Thursday, Mar. 8 9:00 – 10:00 am Primrose B ArcGIS API for Python for Analysts and Data Scientists Thursday, Mar. 8 4:00 – 5:00 pm Mesquite G-H Friday, Mar. 9 10:00 – 11:00 am Mesquite C ArcGIS API for Python: Advanced Scripting Wednesday, Mar. 7 2:30 – 3:30 pm Catalina/Madera Friday, Mar. 9 1:00 – 2:00 pm Mesquite B ArcGIS API for Python: Mapping, Visualization, and Analysis Thursday, Mar. 8 2:30 – 3:30 pm Catalina/Madera ArcGIS API for Python: Cloning your GIS Wednesday, Mar. 7 11:00 – 11:30 am Demo Theatre 3: Oasis 1-2 ArcGIS Online: Using the Python API for Transportation Network Analysis Thursday, Mar. 8 10:30 – 11:30 am Santa Rosa ArcGIS API for Python: ArcGIS in a Notebook Tuesday, Mar. 6 5:30 – 6:00 pm Demo Theatre 3: Oasis 1-2 Distributed Image Analysis Using the ArcGIS API for Python Friday, Mar. 9 10:00 – 11:00 am San Jacinto
... View more
03-02-2018
10:35 AM
|
0
|
0
|
1188
|
POST
|
Hi @Nathaniel - The to_geojson property was added to the FeatureSet at version 1.3 release. Are you able to upgrade to get access to it?
... View more
02-16-2018
09:26 AM
|
1
|
1
|
1489
|
POST
|
Hey Treg - I'm seeing the same problem you documented in certain cases. Can you try running the `overwrite` function with a zipped up gdb as the input rather than the gdb feature class? Let me know what results you get.
... View more
02-13-2018
09:11 AM
|
0
|
5
|
1864
|
POST
|
Glad that worked, René - Updating the access property for a Web Map would look the exact same. Retrieve the Web Map Item from your portal and use the share method: search_results = a_gis.content.search("*", item_type = "Web Map")
web_map_item = search_results[0] #use the appropriate index value for the Web Map you want to update
web_map_item.share(everyone=False, org=True, groups=['group name 1', 'group name 2'])
... View more
02-08-2018
10:47 AM
|
1
|
1
|
1263
|
POST
|
Hi akshay An http 500 error is a general server error meaning something's wrong on the server end. I moved this post to the https://community.esri.com/community/gis/enterprise-gis/arcgis-enterprise?sr=search&searchId=c59b9da5-f6e8-4e5e-982b-320ef086ba22&searchIndex=1 community to get experienced sets of eyes on this.
... View more
02-08-2018
10:37 AM
|
0
|
1
|
678
|
POST
|
Hi René - Use the item.share, method to change the access property for the item. layer_item.share(everyone=False, org=True) The method returns a dictionary with itemId and notSharedWith keys: {'itemId': '<item ID value>', 'notSharedWith': [] } The `notSharedWith` key will list the entities on which the sharing was not successful. If the 'notSharedWith` list is empty that means the operation was a success. Next time you retrieve the item and return it's `access` property, you'll see the correct value.
... View more
02-08-2018
10:25 AM
|
1
|
2
|
1263
|
POST
|
Hey Treg Let me run some testing on this function. I'll get back to you on what I find. John
... View more
02-05-2018
05:35 PM
|
0
|
7
|
1864
|
POST
|
Hey Joe - The API reference for the content here defines the max_items parameter that provides control to the number of results returned. By default, the max_items parameter returns 10 items. You can set that parameter to a desired number: search_results = a_gis.content.search(query="*", max_items=50) I don't believe there is a limit to the number you can enter for that parameter.
... View more
02-04-2018
02:26 PM
|
4
|
2
|
2630
|
POST
|
Hi Geoffrey Joseph - it is possible to install the ArcGIS API for Python in a disconnected environment. See the Install and Set Up Guide for instructions on getting the required software onto your system. Some additional configuration steps will most likely - please contact me directly through email and I'll be happy to walk you through some additional information. As Joshua mentions, the API for Python is designed to work with your web GIS powered by ArcGIS Online or Enterprise for ArcGIS. Will you have access to an ArcGIS Enterprise installation while disconnected?
... View more
01-29-2018
07:41 AM
|
1
|
1
|
2845
|
POST
|
Hi Peter Knoop Try it with the --no-pin flag: Type: conda upgrade -c esri --no-pin arcgis The --no-pin flag is necessary to override the arcgis 1.2.5 package.
... View more
01-25-2018
11:39 AM
|
0
|
1
|
1468
|
POST
|
The Install and Set Up Guide will be updated soon to contain these instructions.
... View more
01-25-2018
10:31 AM
|
1
|
1
|
1468
|
POST
|
Hi Peter Knoop You can upgrade to the version 1.3.0 of the ArcGIS API for Python using the Python Command Prompt (head to Start > All Programs > ArcGIS to find it): Once that's opened, type: conda upgrade -c esri --no-pin arcgis Let me know the outcome.
... View more
01-25-2018
10:17 AM
|
0
|
1
|
1468
|
POST
|
Hi Lakshmi - Ok. So Let's try a query from the API just to make sure that we're getting results. Try this: mmig_fl.query(where="1=1", return_count_only=True) Does that return the expected number of features? Can you also try to run the query from the where clause on the rest endpoint of the layer? What results do you get from that? Let me know what you find out.
... View more
01-03-2018
04:38 PM
|
0
|
0
|
4186
|
Title | Kudos | Posted |
---|---|---|
1 | 06-14-2023 11:49 AM | |
1 | 06-26-2023 09:44 AM | |
1 | 07-18-2023 09:42 AM | |
4 | 01-30-2023 09:33 AM | |
2 | 01-11-2019 03:06 PM |
Online Status |
Offline
|
Date Last Visited |
4 weeks ago
|