|
POST
|
Hello Chuahan. I have the exact same issue that you have here. However my account as a few hundred of feature services, is there a way to find which one could be the one causing trouble? Derek Law, too, any idea?
... View more
02-04-2020
06:48 AM
|
0
|
1
|
1773
|
|
POST
|
Hello all, I created a bunch of surveys for a while for a maintenance project. Lots of points on map, you click in one to report an issue, and it creates a new point on feature class to represent that issue. It has a dateTime field, with the now() to collect what time the issue was recorded. So when i go to a existing project which was working fine, I see that the now() completely fails to collect the data. today() as well. I tried on Chrome and Edge, however, it still works on Firefox.
... View more
01-24-2020
09:06 AM
|
0
|
2
|
676
|
|
POST
|
Hello Jamil Not really trying to give an answer, but asking a question instead. When you said: so I open arcgis Pro and I open this map and overwrite it with new symbols. What you mean by that? You export a layer to local, change the symbology, then you overwrite the layer? Im asking because I also struggle with the symbology on AGOL maps.
... View more
01-21-2020
10:57 AM
|
0
|
0
|
3318
|
|
POST
|
I am having this issue for months now, I am keeping up with the topics about it here, but no solution yet. ApplySymbologyFromLayer does not work in a Python Toolbox. It does work on the Python window, but in a toolbox it does not show any result. No error, no warnings, just no effect at all. My Python toolbox code is decent sized, it has a number of tools and none of them have any issue, does a lot of different tasks, but for some reason, it can't Apply Symbology From Layer. When the line runs, I can see the layer being locked for a while, and then the code complete without any results. There is one workround, which is constantly suggested here, and I was using successfully: new_lyr_file = arcpy.mp.LayerFile(symbology_layer)
new_lyr = new_lyr_file.listLayers()[0]
old_lyr = aprxMap.listLayers(inputlayer)[0]
old_lyr_name = old_lyr.name
new_lyr.updateConnectionProperties(new_lyr.connectionProperties, old_lyr.connectionProperties)
new_lyr.name = old_lyr_name
new_lyr_file.save()
aprxMap.insertLayer(old_lyr, new_lyr_file)
aprxMap.removeLayer(old_lyr) Until i noticed that it screws up the URL in the Data Source. It brings some issues when trying to upload the Map to AGOL. The funny part is that both - arcpy.management.ApplySymbologyFromLayer(Input, Symbol) and - arcpy.management.ApplySymbologyFromLayer(Input, Symbol) lines of code works perfectly when using the Python Windom on ArcGIS Pro. Any ideas why the code would run in the Python Window but not on the Toolbox?
... View more
01-17-2020
07:39 AM
|
0
|
1
|
710
|
|
POST
|
When trying to automatize the GIS workflow, I am stuck on sharing a webmap. I can easily upload layers and create empty maps trough python, but I want to upload the current map I have open on ArcGIS Pro. And the only reason for that is because I want to keep the symbolgy (we unique icons on a Style in ArcGIS Pro). But how about creating an empty map, upload the layers to AGOL (which keep the symbology that they had at the moment they were uploaded) and add to the map? Well, it would be simple as that, however I use view layers. So I want to have layer A with Symbology 1, and layer B with Symbology 2. But since layer B is a view layer of layer A, it will always have the symbology 1 by default, and as far as I know, there is no other way to have the symbology 2, unless I add it to a map on ArcGIS Pro, and then share it as a web map. It is a very simple tool in Pro, so I wonder if it is possible to make a python code for it. However, after weeks looking for it (and trying to find workarounds), I still could not find an answer. Any insights about my issue? Thanks for your attention!
... View more
12-02-2019
09:26 AM
|
0
|
0
|
509
|
|
POST
|
Whenever I try to use collector to test the maps I created, it shows that it is loading some maps... And give me zero results. It shows he message "A cellular or wifi data connection is required", and jumps to the "On Device" maps. However, if I try login with any other account (I'm the GIS Specialist in the company, so I have access to many others), it works without any issue, and can see all the maps that they should have access. I tried clearing the app cache, uninstalling it, but got no results. As long I am using my account (which is an admin account), the app refuses to connect. The funny thing is that when it is searching for maps (before giving me the error above), I can see all maps for a brief moment, and then it goes to the no result page when the search is complete. This is a know issue?
... View more
11-19-2019
07:07 AM
|
0
|
0
|
374
|
|
POST
|
I usually build maps on ArcGIS Pro, and upload them on ArcGIS Online. On Pro I can edit the symbology using my styles, and once they are on AGOL, the symbology is pretty much final. This is because the symbology on AGOL is very limited compared to PRO. One workaround would be to overriding the web layer. It updates the default symbology of the layer, which I can bring it back on the map on AGOL. However, to do that I need to Export the layer to local GDB (losing all domains, which is a big deal), so them I can override (I cant override if Im already using a weblayer). I could also use the custom icon option on AGOL, but it only accept images. Maybe if there was a way to export symbols form Pro to images, I could upload them. I cant override a map. Would be nice if I created a map on Pro, and just chose to override it, so it would update the symbology. In the end, my question would be if there is any tricks to work with symbology on ArcGIS Online. Anyway ideas on how to update them based on a Pro map, or copying the symbology from another AGOL Layer. In the end looks like that I have to redo entire maps, surveys, and apps just because I want to update the symbology.
... View more
11-01-2019
08:16 AM
|
2
|
3
|
3275
|
|
POST
|
Good to know that a lot of people also have the same issue. Hopefully they add an update soon.
... View more
10-28-2019
07:00 AM
|
3
|
0
|
2789
|
|
POST
|
Thanks a lot. It does not feels right, but it indeed work!
... View more
10-28-2019
06:59 AM
|
2
|
0
|
2789
|
|
POST
|
No, because that is exactly that I'm doing. I copy the dashboard but I need to change the data. If I change the data, I have to reconfigure every single gadget and how it interacts with others, even when they proprieties and configuration are the same.
... View more
10-28-2019
06:30 AM
|
1
|
1
|
2789
|
|
POST
|
In our company we create a lot of Dashboards. All dashboards come from a map that has the same layer template, with same fields, and the dashboards have the same layout. They are virtually the same, the only difference is that they use different data. Yet creating each dashboard is an annoying and time consuming process. For each map change, we have to manually setup every single gadget on the Dashboard, reconnect every single interaction, setup the same filters. But I feel kind dumb because while we changed the data, all data is organized on the exact same way. Same fields, domains, layers, we only changes the town. At the moment this is how we create new dashboards: we open an template, add a new map on top of it, and now go trough every single gadget and link it from old map to the new map. It is specially time consuming when we have to work trough filters and actions that affect another gadgets. I wonder if there is any way to make the procedure a little more efficient. A way to setup a dashboard with a template map, and change the map/layers and everything now connect to this new data. I'm not exactly full automation or any fancy solution, but our current method feel kind primitive.
... View more
10-25-2019
02:14 PM
|
0
|
12
|
3833
|
|
POST
|
I'm stuck with this issue for 8 hours and could not find what I'm doing wrong. I have a model that uses the Feature Class to Feature Class tool. It needs 3 inputs (Input layer, location and output name). My goal is that a use would choose a layer, the model would create a new name based on the layer, and then it would export the layer to somewhere else. For testing purposes, the input layer is static, because I have no issues with that part. Here is my model so far: The change name is a custom tool that take a layer name, and return a string. Again, for testing purposes, I deleted almost all the code, and left only the important part: Of course, on the tool properties, I made sure that the data type is a string for the output. I also tried Any type, and also tried changing the type to from Derived to Optional and Required. But I always get the same error. Output Feature Class is not valid on the Feature to Feature tool: and Anyone can give me a light? I have no clue what Im doing wrong, and I change all the variables I know. Thanks!
... View more
09-20-2019
08:43 AM
|
0
|
0
|
374
|
|
POST
|
Update: I created a model, exported to Arcpy, added it to a toolbox and then I run it. Code runs without any results. If I run the model on ArcGIS Pro, the symbology is updated.
... View more
09-18-2019
08:01 AM
|
0
|
0
|
1019
|
|
POST
|
Hey Earl, I'm using 2.4.1. This topic you linked is actually on my bookmark bar, and I already tried some solutions there, including clearing the cache and updating connections. I'm still struggling with adding/copying/removing layer stuff, but hopefully will made a functional code soon. Still, the tool and syntax is pretty straightforward, I wonder why it does not work.
... View more
09-18-2019
07:21 AM
|
0
|
0
|
1019
|
|
POST
|
I am stuck with this issue for days, and yet I could not find a solution. Long story short, the "arcpy.ApplySymbologyFromLayer_management" simply does not work. The code runs without any issue, I can see the layer briefly locking on ArcPRO, but zero results. My code: workspace = "C:\whatever.gdb"
arcpy.env.workspace = workspace ref_lyrx = r"C:\SimbologyIwant.lyrx" aprx = arcpy.mp.ArcGISProject("CURRENT") map = aprx.listMaps('Map')[0] layers = map.listLayers()[0] layers2 = map.listLayers()[1] arcpy.ApplySymbologyFromLayer_management(layers2, layers) I also tried arcpy.ApplySymbologyFromLayer_management(layers2, ref_lyrx) which uses the a layer file instead of a layer on the map. parameters I refreshed, I ran the code with the map closed, added the optional p, tried all variations that I could think of. The code runs, but the symbology never changes. Anyone has a sample code that works? Or any idea why my code has no results? Thanks!
... View more
09-17-2019
08:52 AM
|
0
|
3
|
1179
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-18-2022 07:58 AM | |
| 4 | 02-16-2022 01:59 PM | |
| 2 | 04-15-2022 09:40 AM | |
| 1 | 04-15-2022 11:01 AM | |
| 1 | 04-15-2022 09:53 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-27-2022
03:03 PM
|