|
POST
|
The layer is there now. I haven't made any changes to it. I left the page open overnight and the layer was there this morning. I mean, it only has 100+ features. It was the only layer with that behavior. I tried a different browser (Edge) other than FF last night, but the problem persisted. If I have anymore problems I'll return here. Sorry, I couldn't be more helpful!
... View more
08-12-2022
08:10 AM
|
0
|
5
|
3710
|
|
POST
|
Have you found a resolution to this? I have a published feature layer that displays in the Map Viewer Classic but not the new one. An older version of the layer was working in the new Map Viewer, but I've since removed it and since published a new layer giving it the same name. I have a suspicion that I should change the name and try again.
... View more
08-10-2022
02:34 PM
|
0
|
7
|
3720
|
|
POST
|
Hi, Which layer did you enable editing? The feature service or its view? Also, for others who read this, remember to (re)share with the public on the Collaborate tab after making changes in the feature service settings.
... View more
06-24-2022
12:40 PM
|
0
|
0
|
8547
|
|
IDEA
|
Since you cannot have pop-ups in the map I'd like to have a multi-line description in the side bar. For example, right now I can show the title and address. But, it would be great to be able to show the address as well as the website (as a link).
... View more
06-14-2022
09:13 AM
|
0
|
0
|
3825
|
|
IDEA
|
I like that you can have a title and a description in the Map Tour. However, since you cannot have pop-ups in the map I'd like to have a multi-line description in the side bar. For example, right now I can show the title and address. But, it would be great to be able to show the address as well as the website (as a link).
... View more
06-14-2022
08:42 AM
|
0
|
1
|
1201
|
|
IDEA
|
I have a lot of points and the Map Tour seems the most feasible for this. So, I support this idea as I'd like a way for the end-user to get more info on the points.
... View more
06-14-2022
07:57 AM
|
0
|
0
|
3831
|
|
POST
|
I have a Map Tour that uses an existing feature class. I clicked on the little gear at the bottom of the page to get this menu. Under "Place description" I've chosen the Website field from my layer. But, it shows up as text not a link. Is there an easy way to make it a link?
... View more
06-14-2022
07:22 AM
|
0
|
1
|
1317
|
|
POST
|
@OwenGeoThanks for the reply. I think I've found a solution. When you Analyze the image in Pro you can click the Configuration tab and change the levels of Detail there. So, I did that then published to AGOL. Now, I can zoom in to Streets level and the image remains in the swipe map.
... View more
04-11-2022
12:01 PM
|
1
|
0
|
1825
|
|
POST
|
I've georeferenced an old map and published to AGOL as a Tile. It's GCS is WGS1984, and it appears fine in the web map. I set the visibility range from World - Room in the web map (classic) and saved. In the swipe map the layer doesn't show after what appears to be about the Streets scale. In other words, the scale set in the web map isn't honored in the swipe map. I want the image to remain no matter how far the user zooms in in the swipe map. How can I achieve this?
... View more
04-06-2022
10:58 AM
|
0
|
2
|
1872
|
|
POST
|
I can't find a way to remove the extra space here. You can see there are two Add content block prompts.
... View more
04-01-2022
01:35 PM
|
0
|
1
|
1343
|
|
POST
|
Navigate to your feature service in AGOL --> Overview --> Enable attachments Then open your feature service in a webmap --> click a feature in the map --> Add Attachment Or open the attribute table and add the attachment that way Then it will show up in your data-driven map tour story map
... View more
03-31-2022
01:52 PM
|
0
|
3
|
9351
|
|
POST
|
Update: I put the fill path in the first parameter of the function and it ran without error. But, I can only get it to produce the desired results from the Notebook, actually. And, of course, I need it to work in a stand-alone. Maybe it's a Python environment issue.
... View more
03-30-2022
12:11 PM
|
0
|
0
|
3336
|
|
POST
|
Thanks for all the suggestions. I've been trying arcpy.AlterField_management() for the most part. @KevinBell1What you had didn't work verbatim. I think because my data sometimes has more than one underscore. Anytime I attempted to grab the value after the delimiter with split()[1] it told me Iist index out of range. So, I started using a combination of split() and partition(). I'm able to print out the values I want, but when I add the line to alter the field I get an error. flds = arcpy.ListFields(r'...pathto\Outputs.gdb\testdelete')#full path to feature class
for f in flds:
mytuple = f.name.split("_")
if mytuple[0] == "USER": #if USER before the underscore
print(f.name.partition("_")[2]) #print what's after the underscore
arcpy.AlterField_management(flds, f.name, f.name.partition("_")[2])
else:
pass
print('pass me up') pass me up
pass me up
pass me up
pass me up
pass me up
pass me up
pass me up
Reporting_Period
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-133-c6d9bc0ffe7b> in <module>
4 if mytuple[0] == "USER":
5 print(f.name.partition("_")[2])
----> 6 arcpy.AlterField_management(flds, f.name, f.name.partition("_")[2])
7 else:
8 pass
C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py in AlterField(in_table, field, new_field_name, new_field_alias, field_type, field_length, field_is_nullable, clear_field_alias)
5427 return retval
5428 except Exception as e:
-> 5429 raise e
5430
5431 @gptooldoc('AssignDefaultToField_management', None)
C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py in AlterField(in_table, field, new_field_name, new_field_alias, field_type, field_length, field_is_nullable, clear_field_alias)
5424 from arcpy.arcobjects.arcobjectconversion import convertArcObjectToPythonObject
5425 try:
-> 5426 retval = convertArcObjectToPythonObject(gp.AlterField_management(*gp_fixargs((in_table, field, new_field_name, new_field_alias, field_type, field_length, field_is_nullable, clear_field_alias), True)))
5427 return retval
5428 except Exception as e:
C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py in <lambda>(*args)
510 val = getattr(self._gp, attr)
511 if callable(val):
--> 512 return lambda *args: val(*gp_fixargs(args, True))
513 else:
514 return convertArcObjectToPythonObject(val)
RuntimeError: Object: Error in executing tool Fields:
... View more
03-29-2022
02:21 PM
|
0
|
0
|
3361
|
|
POST
|
Hello, I want to be able to remove unwanted values from column headers. When you geocode it adds User_ to the beginning of every string. And for the end-user of the table, who's not a tech, this is very convoluted. So, what I can do to change the values using Pandas on an excel table I want to be able to do using ArcPy on a feature class. Is this possible? From what I know of cursors you can only change field values. Thanks for any help. #convert feature class to a table and remove unwanted characters
arcpy.conversion.TableToExcel(out_fc, 'geocode2.xlsx')
#Remove unwanted values from column headers (i.e. USER_) then save as a *.csv
import pandas as pd
df = pd.read_excel(ws + '\geocode2.xlsx')
df.columns = df.columns.str.replace('USER_', '')
df.to_csv(r'')
... View more
03-24-2022
02:02 PM
|
0
|
6
|
3482
|
|
POST
|
As Don said, you could put the full path to the log file in the filename= parameter. out = r'C:\Python Scripts\Logfiles\log.txt'
logging.basicConfig(filename=out,level=logging.DEBUG)
... View more
03-16-2022
07:39 AM
|
1
|
0
|
8088
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 4 weeks ago | |
| 1 | 05-04-2026 08:45 AM | |
| 1 | 04-20-2026 01:20 PM | |
| 1 | 07-24-2025 01:27 PM | |
| 1 | 11-13-2025 08:22 AM |
| Online Status |
Offline
|
| Date Last Visited |
16 hours ago
|