POST
|
thank you Xander and Dan for the help and information
... View more
01-10-2020
08:14 AM
|
0
|
0
|
1250
|
POST
|
i'll have to check with my IT group so see what the plans are for changing us to ArcGIS Pro. i don't think that is going to be soon. How difficult is it to go from ArcMap to ArcGis Pro? What needs to be done? Does any python code need to be modified? Sorry about the questions but i am very new to ArcGIS and python. I may ask IT to upgrade and see what they say. Thanks for the help
... View more
01-10-2020
07:47 AM
|
0
|
1
|
1250
|
POST
|
I want to use a python script to change the size of a symbol under layer properties and the symbology tab. I want to do this for 1 layer. I am not sure how to do this. Would i use something like lyr.symbology.xxxx? Can you change the size of a symbol? Thanks
... View more
01-10-2020
05:55 AM
|
0
|
6
|
1374
|
POST
|
yes i would like to zoom also. Another question that i had is what does the df.extent show. For example in the table of contents it shows the layer Primary OH with individual feeders shown below. The user will select 1 feeder to show on the display and i would want to use the extents for the feeder. So does df.extent show for the layer or can it show just the extents for the feeder selected? Thanks for the help
... View more
01-08-2020
10:11 AM
|
0
|
1
|
1320
|
POST
|
I have the following code: import arcpy
#mxd = arcpy.mapping.MapDocument("CURRENT")
mxd = arcpy.mapping.MapDocument(r"C:/GISMAPS/LUS Map.mxd")
df = arcpy.mapping.ListDataFrames(mxd)[0]
OHLayer = arcpy.mapping.ListLayers(mxd, "Primary OH", df)[0]
df.extent = OHLayer.getSelectedExtent(False)
#df.scale = df.scale * 1.1
extent = ({df.extent.XMin}, {df.extent.YMin}, {df.extent.XMax}, {df.extent.YMax})
print('XMin: {}, YMin: {}'.format(df.extent.XMin, df.extent.YMin))
print('XMax: {}, YMax: {}'.format(df.extent.XMax, df.extent.YMax))
arcpy.RefreshActiveView()
del mxd This is the output for lines 12 and 13 How do i center this drawing so that section of map is displayed on the screen? I have the extents but do not know how to use them to do this. Thanks for any help.
... View more
01-08-2020
05:28 AM
|
0
|
5
|
1389
|
POST
|
Sorry, i meant to show the numbers that i am getting: Also, would you know how to make ArcGIS zoom to these coordinates? Thanks
... View more
01-07-2020
10:46 AM
|
0
|
0
|
908
|
POST
|
Joshua, Thanks for pointing me in he right direction. This code works. It get floating numbers for the min/max values. Can you tell me what the number mean - x/y coordinates, feet, etc?
... View more
01-07-2020
10:24 AM
|
0
|
1
|
908
|
POST
|
I have the following code: The way it is written it shows all of the layers in my mxd file. I want to change the code so that i only gets the data for 1 layer: Primary OH How would i change the script to do this? Thanks
... View more
01-07-2020
07:48 AM
|
0
|
5
|
980
|
POST
|
thanks a lot. i will look at how to implement the getExtent.
... View more
01-06-2020
10:44 AM
|
0
|
0
|
1140
|
POST
|
I am trying to find the correct way to find the min and max values of a layer in ArcGIS. There are approx. 80 feeders and i have written a python script to show only 1 feeder at a time for that layer. What statement in python would i use to calculate this? Thanks for any help
... View more
01-06-2020
10:13 AM
|
0
|
2
|
1306
|
POST
|
I am trying to set the scale range under layer properties>general. I want to set the scale to "show layer at all scales" using python script. What would be the correct way to set this? Thanks
... View more
01-03-2020
10:54 AM
|
0
|
3
|
913
|
Title | Kudos | Posted |
---|---|---|
1 | 01-02-2020 10:06 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|