POST
|
is it possible to delete a "PICTURE_ELEMENT" from a map document? Have a map in 10.6 trying to delete a jpeg that's in the map. Thanks#
... View more
03-07-2019
10:43 AM
|
0
|
4
|
666
|
POST
|
HI Michael, Dan helped me with this awhile back, and mine did work. If i put H <SUB>u</SUB>BP<SUB>x</SUB>, in the field it did label as "HuBPx" in the map, just looked like code in the table. ?
... View more
07-17-2018
12:18 PM
|
0
|
0
|
2322
|
POST
|
Thank you! Actually, turns out the <SUB> x</SUB> format worked. It hadn't occurred to me that it would label properly, though not showing up in the table that way.................(?!) thanks! Pete
... View more
02-20-2018
11:47 AM
|
0
|
0
|
2322
|
POST
|
Thanks very much, but I couldn't get it to read it as 'code'. as a text field, it just calculated it verbatim.
... View more
02-20-2018
11:14 AM
|
0
|
1
|
2322
|
POST
|
is there a way to add attributes in a feature class with subscript or superscript characters? It's geology 'stuff' with attributes like lsb'p'. where the 'p' is subscript. i know it can be done with labels, but am trying to add it in a feature class table. Thanks in advance for any ideas, Pete
... View more
02-15-2018
06:51 AM
|
1
|
9
|
4363
|
POST
|
thanks again, yes i am just trying to change the layer paths within an mxd, not the workspace for the mxd. I will try the 'supports' method, as one of the errors is " NameError: The attribute 'workspacePath' is not supported on this instance of Layer." (get the same error sometimes with dataSource). I'm trying this on several older mxd's so paths, software versions etc. could be anything in the last 7 years (probably just re-do the map!) I guess I thought the if/elif would bypass that if it wasn't relevant. Occasionally, ArcCatalog craps out completely, so I haven't been able to figure out what is causing that. Again, I wrote a python script that will change the gdb92 workspaces (with replaceWorkspaces) and one each for the \\pol-nrd-data02\.... and the "C:\Users\name\AppData..." and they work fine, was trying the if/elif to see if I could get it all in one script - so far no luck. On a slightly different note, I haven't been able to use wildcards in the path so r"C:\Users\pgillard\AppData\Roaming\ESRI\Desktop10.1\ArcCatalog\POL-NRD-GIS-1_SQLEXPRESS.gds\GIS_Base_Layers" (where the name and version could be anything) would work no matter what values were used. Thanks again for the ideas, i'll give them a shot. Pete
... View more
05-23-2017
10:50 AM
|
0
|
0
|
641
|
POST
|
Thanks to both. I have tried the dataSource property, but there are multiple feature classes within the sde geodatabase, and it works fine with findAndReplaceWorkspacePaths, and/or replaceWorkspaces. code below: and in the "if la.(something) ==" part it trips it up and won't work when it comes across a different workspace (hence the attempt at an if/elif approach) lyr = arcpy.mapping.ListLayers(mxd) for la in lyr: if la.workspace == r"Y:\arc.data\gdb92\GIS_layers.gdb": mxd.replaceWorkspaces(r"Y:\arc.data\gdb92\GIS_layers.gdb","FILEGDB_WORKSPACE", r"Database Connections\GIS_Base_Layers.sde","SDE_WORKSPACE") elif la.arcpy.env.workspace == r"\\Pol-nrd-data02\gis_y\arc.data\gdb92\GIS_layers.gdb": mxd.replaceWorkspaces(r"\\Pol-nrd-data02\gis_y\arc.data\gdb92\GIS_layers.gdb","FILEGDB_WORKSPACE", r"Database Connections\GIS_Base_Layers.sde","SDE_WORKSPACE") elif la.arcpy.env.workspace == r"Y:\arc.data\gdb92\GIS_layers.gdb": mxd.findAndReplaceWorkspacePaths(r"Y:\arc.data\gdb92\GIS_layers.gdb", r"Database Connections\GIS_Data.sde") mxd.findAndReplaceWorkspacePaths(r"Y:\arc.data\gdb92\GIS_layers.gdb", r"Database Connections\GIS_Base_Layers.sde") elif la.arcpy.env.workspace == r"C:\Users\pgillard\AppData\Roaming\ESRI\Desktop10.1\ArcCatalog\POL-NRD-GIS-1_SQLEXPRESS.gds\GIS_Base_Layers": mxd.findAndReplaceWorkspacePaths(r"C:\Users\pgillard\AppData\Roaming\ESRI\Desktop10.1\ArcCatalog\POL-NRD-GIS-1_SQLEXPRESS.gds\GIS_Base_Layers", r"Database Connections\GIS_Base_Layers.sde") mxd.findAndReplaceWorkspacePaths(r"C:\Users\pgillard\AppData\Roaming\ESRI\Desktop10.1\ArcCatalog\POL-NRD-GIS-1_SQLEXPRESS.gds\GIS_Data", r"Database Connections\GIS_Data.sde") hope this makes sense, thanks
... View more
05-22-2017
01:35 PM
|
0
|
3
|
641
|
POST
|
I'm trying to update a number of mxd's from a variety of software versions/ folder/server locations/ ArcGIS server (i.e. ArcGIS 9.2 - 10.5). I can get it to work if I do them separately (the 9.2 gdb to sde, or 10.3 to 10.5 on different servers). It crashes when I threw them altogether (thought it would just ignore paths not relevant, but it doesn't (ALSO ! seems to crash if there's an esri basemap in the mxd?!). so thought I'd try an if/elif logic, but can't get it to read the workspace for the layer (as in: for ly in layer: if ly.something(?).. == some path: findAndReplaceWorkspacePaths (or replaceWorkspaces) ) Any ideas would be helpful. thanks, Pete
... View more
05-22-2017
12:45 PM
|
0
|
7
|
1362
|
POST
|
Thanks, i'll give that a shot and let you know. Pete
... View more
03-28-2017
08:41 AM
|
0
|
0
|
397
|
POST
|
Thanks we did try that, but the ArcGIS grid format has no extension. The .grd i could find in 'supported formats' called a .grd a "Golden Software Grid" - in the Raster File format options (under Customize>ArcMap Options, there is a .grd also identified as "Northwood/Vertical Mapper Numeric Grid". Both are checked as 'acceptable' grid types, but neither is available when i'm trying to convert it.
... View more
03-28-2017
08:18 AM
|
0
|
2
|
397
|
POST
|
We have a virtual sandbox here which we'd like to incorporate a DEM for our area. We have the DEM and I understand the DEM has to be in a .grd format. The only reference i've seen to convert that is with the Data Interoperability extension (which we don't currently have). Is there some other way to work with the DEM ? Thanks, Pete
... View more
03-28-2017
07:45 AM
|
0
|
4
|
956
|
POST
|
we have a custom north arrow that is stored as a jpeg. trying to add it to an mxd. I noticed the height/width and xy placement options, but no way to add it to an existing map.? Thanks, Pete
... View more
02-20-2017
06:44 AM
|
0
|
3
|
1118
|
POST
|
Thanks again, Ian. I did see the 'read only' option. We hope to get 10.5 going here soon, so maybe it will work then. Mostly I'm just testing out a way to preemptively update mxd's. as our old server hasn't been disconnected yet (I think there's more on it than GIS stuff, so the IT folks are hesitant to remove it). In the mean time some of the users here are opening older mxd's and not realizing they are still on the older server, which doesn't have some of the updated data on it. Once the data links are broken, it might be an easier fix (though i'm also trying to get up to speed on my Python skills).
... View more
02-14-2017
07:21 AM
|
0
|
0
|
826
|
POST
|
Updating 34x22 mxd's with new data paths/orthos and legend fixes, working great (with some help from the GeoNet community), except it defaults to 8.5x11 pagesize! Any ideas? thanks, Pete
... View more
02-14-2017
06:17 AM
|
0
|
2
|
1642
|
Title | Kudos | Posted |
---|---|---|
1 | 12-29-2020 12:08 PM | |
2 | 12-29-2020 12:21 PM | |
1 | 02-13-2020 06:06 AM | |
1 | 02-15-2018 06:51 AM |
Online Status |
Offline
|
Date Last Visited |
02-26-2024
01:25 PM
|