|
POST
|
Just checked and it seems that the issue is limited to Chrome. Works in Firefox and Edge.
... View more
03-02-2020
11:40 PM
|
0
|
7
|
4168
|
|
POST
|
What is the issue/bug with drawing toolbar of the the 3.31 API? When drawing a circle, triangle or ellipse with the drawing toolbar, an extra artifact shape is created inside the new drawing shape. Even the live example (Shapes and Symbols) and the Sandbox example (ArcGIS API for JavaScript Sandbox) shows this behaviour. This does not happen in version 3.30.
... View more
03-02-2020
11:36 PM
|
1
|
9
|
4321
|
|
POST
|
How would you edit the layer properties with the REST admin? As far as I can tell you can only edit the Service information and not the properties of the individual Feature Layers.
... View more
02-17-2020
11:18 PM
|
0
|
0
|
1481
|
|
POST
|
I'm sure the Python API will be of use here to automate the user management. ArcGIS API for Python | ArcGIS for Developers You can look at the following links: Batch creation of Groups | ArcGIS for Developers Accessing and managing users | ArcGIS for Developers You can run the Python code through Pro or a Jupyter notebook (Project Jupyter | Home )
... View more
01-16-2020
05:27 AM
|
0
|
0
|
1315
|
|
POST
|
See What is map caching?—Documentation | ArcGIS Enterprise When caching your Map Service, a permanent snapshot (tiles) of the visible data is created at every scale, i.e. a picture of what you can see, and that is what will be returned to the client. You cannot switch layers on and off as with dynamic Map Services, but only toggle the visibility of the cached representation/picture.
... View more
01-16-2020
03:33 AM
|
6
|
1
|
1320
|
|
POST
|
How many features are in the shapefile? Limit is 1,000 I think. What browser are you using? If Chrome, try publishing from Incognito mode.
... View more
12-06-2019
01:03 AM
|
0
|
0
|
2589
|
|
POST
|
You'll only be able to display it if you can link the attributes to a geometry or geometry fields (lat & lon and display as XY-event layer), or do a join to another feature class based on a unique attribute.
... View more
12-06-2019
12:58 AM
|
0
|
0
|
2115
|
|
POST
|
I don't think your method for setting individual layer properties is incorrect. The only other way I could think of changing the dictionary item properties would be with a more simplified syntax e.g. for layer in webmap1.definition.operationalLayers:
layer.title = 'Region F - ' + layer.title
layer.visibility = False
webmap2.definition.operationalLayers.append(layer)
... View more
12-05-2019
10:29 PM
|
0
|
1
|
3890
|
|
POST
|
This sounds like a job for the Python API. Once you have installed the Conda environment and Jupyter Notebook, it's fairly easy to access and manage items such as layers and web maps. Have a look at this blog post for a similar question. I could achieve copying layers from one Web Map to another in ArcGIS Online with the following code: from arcgis.gis import *
gis = GIS(username="username", password="password")
from IPython.display import display
items = gis.content.search(query="title:Map* AND owner:username", item_type="Web Map")
for item in items:
print(item.title + ": " + item.id)
# select Web Maps from item id
mapitem1 = gis.content.get('<Item ID of source Web Map>')
display(mapitem1)
mapitem2 = gis.content.get('<Item ID of destination Web Map>')
display(mapitem2)
# get Web Map Objects
from arcgis.mapping import WebMap
wmo1 = WebMap(mapitem1)
wmo2 = WebMap(mapitem2)
# output operational layers
wmo1.definition['operationalLayers']
wmo2.definition['operationalLayers']
# copy second layer from first WM to second WM
wmo2.definition['operationalLayers'].append(wmo1.definition['operationalLayers'][1])
wmo2.update()
wmo2.definition['operationalLayers']
... View more
12-04-2019
12:57 AM
|
2
|
3
|
3890
|
|
POST
|
The API is forcing the request to the WMS service to be HTTPS, but the NGI server is not providing SSL connections yet. You must redirect the request through a proxy as described in the Proxy pages with the API | ArcGIS API for JavaScript 4.13 For the NGI server you can add this to your code: urlUtils.addProxyRule({
urlPrefix: "http://apollo.cdngiportal.co.za/erdas-iws/ogc/wmts",
proxyUrl: "https://<server>/proxy"
}); So you'll need to setup the proxy page (if you don't have one yet, which you can configure). Use the GitHub examples: GitHub - Esri/resource-proxy: Proxy files for DotNet, Java and PHP.
... View more
11-25-2019
04:37 AM
|
1
|
0
|
2574
|
|
POST
|
You can use the AddFieldDelimeters function to rewrite a more suitable SQL query for the SelectByAttribute: sql = """{0} = '{1}'""".format(arcpy.AddFieldDelimiters(fcl,"MMSI"), recordl[l])
arcpy.SelectLayerByAttribute_management(fcl,"NEW_SELECTION", sql )
... View more
11-25-2019
01:46 AM
|
2
|
1
|
4264
|
|
POST
|
First change your parser to Python. The definition function declaration should be small caps - "def". And remember Python is strict on indentation. You can also simplify your "checking" code to something like this: for c in ColorClass:
if c.count('R') > 0:
print 'Red'
elif c.count('R') == 0 and (c.count('Y') >= c.count('G')):
print 'Yellow'
elif c.count('R') == 0 and (c.count('Y') < c.count('G')):
print 'Green'
... View more
10-31-2019
04:49 AM
|
2
|
0
|
1947
|
|
POST
|
You can try running it as a batch (*.bat) file with task scheduler. Read the following blog: HowTo: Schedule Automatic Updates for ArcGIS Enterprise My batch file command line looks like this: All updates: start "" /d "C:\Program Files\ArcGIS\Server\tools\patchnotification\" "patchnotification.bat" -c -i all Only security updates: start "" /d "C:\Program Files\ArcGIS\Server\tools\patchnotification\" "patchnotification.bat" -c -i sec
... View more
10-31-2019
04:36 AM
|
0
|
1
|
2196
|
|
POST
|
Sounds like an issue with your Feature Collection definition. Can you show us some code where you create the Feature Layer?
... View more
10-31-2019
04:26 AM
|
0
|
1
|
1153
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-22-2024 12:37 AM | |
| 1 | 10-02-2025 10:28 AM | |
| 1 | 09-17-2024 12:29 AM | |
| 1 | 03-15-2024 11:33 AM | |
| 1 | 03-13-2024 11:20 PM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|