POST
|
I had had the same error when publishing a postgres feature class to AGOL until i changed the geodatabase connection to the dataowner. I mean, the error happend when the connection on ArcGIS Pro was made with a user that was not the Dataowner.
... View more
05-02-2020
07:25 AM
|
0
|
0
|
1394
|
IDEA
|
This tool is designed only for RGB colorizers. However, the same logic could be applied for a stretch colorizer (DEM layer). Please visit this website for more information about colorizers. ProSnippets Raster · Esri/arcgis-pro-sdk Wiki · GitHub Regards
... View more
01-15-2020
07:55 AM
|
0
|
0
|
3009
|
IDEA
|
This tool is designed only for RGB colorizers. However, the same logic could be applied for a stretch colorizer (DEM layer). Please visit this website for more information about colorizers. ProSnippets Raster · Esri/arcgis-pro-sdk Wiki · GitHub Regards
... View more
01-15-2020
07:55 AM
|
0
|
0
|
896
|
POST
|
Adds the mxd.save() command before quit the full program , may be in line 115, inside commit function. Don't forget indentation. #Commit all of the options
def commit():
# -------------------#
# All your code here #
# -------------------#
mxd.save()
return
... View more
12-31-2019
08:46 AM
|
0
|
0
|
600
|
POST
|
Try executing the Python Script as administrator to test if is a permissions issue.
... View more
12-31-2019
08:10 AM
|
0
|
0
|
600
|
POST
|
According to Joe Borgione mentioned, Use "r" before a variable that include a path, Use mxd = arcpy.mapping.MapDocument(r"C:/GISMAPS/LUS Map.mxd") instead of mxd = arcpy.mapping.MapDocument("C:/GISMAPS/LUS Map.mxd")
... View more
12-31-2019
07:59 AM
|
0
|
0
|
600
|
POST
|
Hi Rick looks pretty good! Adds the following command to end of the script to save changes to the map. mxd.save() Regards!
... View more
12-31-2019
07:36 AM
|
0
|
0
|
600
|
POST
|
Rick You can use this example in order to set a Definition Query on a map layer. mxd = arcpy.mapping.MapDocument(r"C:/GISMAPS/LUS Map.mxd") layer_name = "Primary_OH" primary_oh = arcpy.mapping.ListLayers(mxd, layer_name)[0] primary_oh.definitionQuery = "[FEEDERID] = '2050'"
... View more
12-30-2019
11:34 AM
|
2
|
0
|
595
|
POST
|
Hi Kristal Since few years ago, Esri has stopped supporting Personal Geodatabases (mdbs). Instead, Esri recommends using File Geodatabases (gdbs) for simple workflows and local data management. To share optimally your data across network and depending on the number of users and their workflows (query and / or edition), you should evaluate migrating to a Geodatabase Enterprise that adds more functionality and robustness to your system. You can find more information here: Enterprise geodatabases—Manage data | ArcGIS Enterprise
... View more
12-30-2019
08:52 AM
|
1
|
1
|
1148
|
POST
|
Rick Try to set another name to the layer object, like "Primary_OH_Layer1", or something like that. Primary_OH = arcpy.MakeFeatureLayer_management(Primary_OH_path, "Primary_OH_layer1")
... View more
12-30-2019
08:20 AM
|
0
|
0
|
801
|
POST
|
You can try testing your script using personal geodatabase for now. But, as Michael recommends, you should evaluate to migrate your data to File Geodatabase to better support.
... View more
12-30-2019
08:08 AM
|
0
|
0
|
801
|
POST
|
OK. It does not matter. The container of data is a Personal Geodatabase, is so similar to File Geodatabase
# Primary OH Path
geodatabase = "C:\gismaps\LusData.mdb"
dataset = "ElectricData"
feature_class = "PriOHElectricLineSegment"
Primary_OH_path = r"{0}\{1}\{2}".format(geodatabase, dataset, feature_class)
Primary_OH = arcpy.MakeFeatureLayer_management(Primary_OH_path, "Primary_OH")
... View more
12-30-2019
08:04 AM
|
1
|
0
|
2154
|
POST
|
Hi Rick, The gdb file (File Geodatabase) is the most popular container of data in ArcGIS. However, mxd files can contain multiples types of files and containers (Data sources). In order to get the Primary_OH_Path of yout layer follow these steps: Open your map document "C:/GISMAPS/LUS Map.mxd" Clic on Primary_OH layer properties Go to Source tab and explore data source properties of the layer
... View more
12-30-2019
07:43 AM
|
0
|
0
|
801
|
POST
|
Did you try to migrate your personal geodatabase to File geodatabase. Xander Bakker proposes a good solution in this blog. how to convert mdb to gdb
... View more
12-30-2019
07:11 AM
|
2
|
4
|
1148
|
Title | Kudos | Posted |
---|---|---|
1 | 12-30-2019 08:52 AM | |
1 | 12-30-2019 07:04 AM | |
1 | 12-30-2019 08:04 AM | |
1 | 12-16-2019 01:51 PM | |
2 | 12-30-2019 11:34 AM |
Online Status |
Offline
|
Date Last Visited |
05-03-2022
09:39 AM
|