POST
|
I have problems visualizing my content or my groups content through the Portal. I'm signed in, I've tested my portal availability and it shows that everything works perfectly. However, when I try to open a new project through the portal, "My Content" and my groups Content are empty. If I make a change through ArcGIS online (e.g. rename a group) I can see the change reflected in Pro. I can also see all the content available when I open ArcGIS online. Any ideas of how to fix this? Thanks
... View more
03-14-2019
03:30 PM
|
0
|
0
|
182
|
IDEA
|
Whenever I want a new map I start by importing a layout file and that locks the settings for each layout. Before doing so, create a layout file that you can re-use by clicking on "Share" --> Layout File. Once you're ready to create a new map within your current project, click --> Insert --> New Layout ---> Import a layout file Add all the layers needed and you will see that anything that you change on that layout will not be reflected on the others.
... View more
03-14-2019
03:23 PM
|
1
|
1
|
1753
|
IDEA
|
I'm experiencing the same problem. I wonder if you have found any solutions to lock the settings on each layout?
... View more
01-01-2019
05:15 PM
|
1
|
0
|
2076
|
POST
|
Hello, I want to add the data source (path name) to each attribute table . All of them were compiled from many folders so it's quite important for us to keep track. I'm quite new to python and I'm having trouble applying the update cursor function to populate the path name into the attribute table of each layer. This is what I have so far and I'm getting the error of 'in_table' is not a table or a featureclass. So I understand the list named 'FeatureClasses' is not a valid input for the update cursor function. How can I fix the code so it iterates through each shp listed in my mxd? mxd= arcpy.mapping.MapDocument (r"path.mxd")
#List with all the shp in the mxd
FeatureClasses = arcpy.mapping.ListLayers (mxd)
# Add a field to each shp
for fc in FeatureClasses():
arcpy.AddField_management(fc, "Path", "TEXT", field_length = 250)
#Update attribute table with their pathnames
for fc in FeatureClasses:
# pull out the shapefile name
shpName = layer.dataSource
# define update cursor
with arcpy.da.UpdateCursor(FeatureClasses, ("Path")) as cursor:
for row in cursor:
# set Path to the shapefile name for each row
row[0] = shpName
cursor.updateRow(row) I also tried this other code that I found online and shows no errors but the field 'Path' it's still blank. When I print the 'Test' list it's also blank. Test = arcpy.ListFeatureClasses("*.shp")
print Test
[]
Test = arcpy.ListFeatureClasses("*.shp")
for calc in Test:
# pull out the shapefile name
shpName = os.path.abspath
# define update cursor
with arcpy.da.UpdateCursor(calc, ("Path")) as cursor:
for row in cursor:
# set 'Path' to the shapefile name for each row
row[0] = shpName
cursor.updateRow(row) Thanks in advance!
... View more
11-04-2018
07:41 PM
|
0
|
2
|
614
|
POST
|
Let me give you some extra background info; We are trying to set up a database that we can show where all of our previous projects have been. To do this we are going to use the "Site Boundary" shapefile from each project. the problem that we have is that most of the Site boundary shapefiles are named the same and have no real information in the attribute table. If we merge all the files at this point, they will show us where a project was, but not what it was. To do this we need the client name and project number as a minimum. As it stands, this information is already included in the file path of the original shapefile. If we can include the file path as an attribute we will then be able to reference the project that each shapefile was from. Is there a way that you can bring all of the previous shapefiles into a gdb while automatically including the file path as either metadata or as an attribute? thanks!
... View more
08-13-2018
08:47 PM
|
0
|
1
|
1889
|
POST
|
That would be helpful. However, I need to display the source of the shapefile to know specific details of each project, e.g. project name, project number, name of the site, location, etc. All of it is contained within the path name. Can this be done when putting it into a gdb?
... View more
08-13-2018
05:17 PM
|
0
|
1
|
1889
|
POST
|
I have lots of polygons from different projects and I am trying to merge them together to form 1 large shapefile so I can display the places where we have done projects at. What I want to be able to do is get the pathway of each shapefile to appear in the attribute table. Otherwise, it would also be helpful if I can rename each shapefile so when I merge them the new name appears with the path name. How can I do this in ArcMap 10.6? I have very basic experience with python coding. Thanks!
... View more
08-13-2018
04:53 PM
|
0
|
9
|
3377
|
Title | Kudos | Posted |
---|---|---|
1 | 01-01-2019 05:15 PM | |
1 | 03-14-2019 03:23 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|