POST
|
Hi Gavin, Yes, you are correct. I was aware of the DynamicMapLayer, but I didn't see the ability to control the image server output. The solution was to edit the `dynamicLayers` options, specifically `drawingInfo` ``` dynamicMapLayer.setDynamicLayers([{ ... "drawingInfo": { ... } }]); ``` And for anyone else trying to get more information on what ` drawingInfo` syntax looks like you can refer the Web Map Specification drawingInfo | ArcGIS for Developers Maybe I will create a Pull Request to add an example to the ESRI Leaflet Repo. Do you accept Pull Requests?
... View more
10-31-2019
08:54 AM
|
0
|
0
|
86
|
POST
|
Hi Nathaniel, thanks for sharing your feedback. Did you try to do the same with GeoJSON hosted Feature Layer? I'm trying to use flayer_collection.manager.overwrite()from the Jupyter notebook. I get the {'success': True} response, the modified date in AGOL metadata is updated but the actual data is still the same... I'm using a web GeoJSON ('http://www.gdacs.org/xml/archive.geojson'). Does anyone have any idea why the data is not getting updated? It gets updated without any problems via AGOL web interface... Thanks, Jan
... View more
05-22-2019
03:45 AM
|
0
|
0
|
130
|
IDEA
|
Currently in the ArcGIS Python API (from what I can tell) there is no geometry function which loads text from WKT format into ESRI geometry format. The closest thing that I can find is loads_xy method which handles point x, y data. But there is nothing for lines, polygons or multipolygons. As a work around I am currently using the shapely function loads and then converting back to ESRI format as I have documented in this geonet thread
... View more
11-02-2018
09:45 AM
|
2
|
0
|
285
|
POST
|
After trying the geojson solution, I am falling back to using shapely and the from_shapely custom method which I took from Joel McCune. The geojson route ended up also being slow and having lots of geometry errors anyway, so I would need to do some geometry updates either way, so sticking with the "hack". I have posted an idea in ESRI Ideas to encourage a loads method similar to the one I am using from shapely. Thanks to Per for above recommendations.
... View more
11-02-2018
09:50 AM
|
0
|
0
|
449
|
POST
|
Thanks Aaron. I'm using this on Feature Layers, and it works great as long as the Visualization for the layer has been edited already through the UI. For brand new just-published Feature Layers item.get_data() returns None. Is there a way through the Python API to "touch" the Visualization and create the backing JSON before running item.get_data()? I have over 150 layers to deal with so I don't want to have to update them all manually first.
... View more
05-22-2020
08:11 AM
|
0
|
0
|
794
|
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
|
73
|
POST
|
To get the option ticked in the AGOL interface, "ChangeTracking" needs to be added in the capabilities. update_dict = { "capabilities" : "Query,ChangeTracking" } flc . manager . update_definition ( update_dict ) Please be aware that python API is only a wrapper around the REST API, to find the full list of properties supported, you need look into the REST API document which gives you a better chance, it's not guaranteed that you will find all the properties corresponding to the options on the AGOL interface. According to ESRI document, " If the property does not exist, it's equivalent to having a value of false or not set." Hope this helps.
... View more
08-15-2018
07:26 PM
|
0
|
0
|
108
|
POST
|
Hi Ismael, Thanks very much, that is just what i needed. For anyone else that stumbles upon this, the images are all handled in the attachment property: Layer Attachments | ArcGIS for Developers
... View more
02-26-2018
04:33 PM
|
2
|
0
|
134
|
POST
|
Radness, that did the trick. 1.3 can be installed using Conda. Looks like it isn't coming out of the box with ArcPro yet. But either way it is work. Thanks
... View more
02-16-2018
10:07 AM
|
0
|
0
|
73
|
Online Status |
Offline
|
Date Last Visited |
02-09-2021
10:42 AM
|