Inserting data into a table which is inside a SDE, you can do with python?
Hi friends, I need to insert data into a table which is inside a SDE, can be easily manually: Selecting the table, right clicking, choose load, load data, and use the "Simple data loader". But I need...
View ArticleTrigonometry to find landscape visibility in Python
I am trying to find the degrees of visibility of natural environments from a number of viewpoints. I have a DEM, and a raster defining the natural environments. For each cell I have slope, height,...
View ArticleRotating Symbology with data frame
Hello! I have point symbology (squares) that are not rotating with the data frame. I have set the rotation field to df1.rotation to get correct values, but I have to re-enter the code everytime I...
View ArticleEOL errors when performed simple task
I have a field that lists numbers in the following format: Code: "000000-000" But when this data was inputted, the user just copied and pasted the value from an excel sheet into the program and this...
View ArticlePython Addin Question
Hi all, I can see my Add-Ins icon in the Add-in Manager. However, I can not see the addin icon in the "Customize". My computer is 64 bit computer and installed with ArcMap 10.1. I have spent hours in...
View ArticleESRI 10.1 License logfile
HAs anyone developed a script to analyze the license log fiel to obtains stats on license use, users use, peak useage etc?
View ArticlePython Add-In Extension doesn't work
After creating an Add-In with Toolbar, Menu and Extension objects and doing Add From File... in the Customize dialog box only Toolbar and Menu objects are available. The Added Objects dialog after...
View Articlesequential id for each class which contain couple of hundred of points.
hello python hero and legends. i have more then 23 routes generated by using network analyst. later on, i have converted the route into point shapefile. new formed point shapefile have many hundred of...
View Articlearcpy.da.Walk - Raster Dataset returns xls files as well
Has anyone found any issues when using the da.Walk function in 10.1? As part of a wider bulk raster data loading tool I have written a function that checks if a folder contains MrSID format rasters and...
View ArticleRead layer symbology class color with ArcPy
I am using ArcPy within ArcGIS 10.1 and attempting to read symbology from a *.lyr file created by a raster dataset within ArcMap. My goal is to be able read out the RGB (color) values assigned to the...
View ArticleDelete Fields question
Hello, I am converting coverage annotation to a geodatabase and running into a problem with a few of the pseudo-items from the coverage world. Two of the required pseudo-items in coverage annotation...
View ArticleHow do I Calculate x,y from existing shape geometry using Arcpy?
This seems very easy, but I cannot figure it out. I need to calculate the X-Coordinate and Y-Coordinate to the appropriate fields in my featureclass (XCoord, YCoord). I am trying something like this to...
View ArticlePython Addin quwstion
Hi All, I have a problem wit the Python Addin (10.1). I have followed the link (the python addin instruction) to create a button to execute the python code I want. I can see my addin application in the...
View ArticleExtracting Layer from AutoCAD file and converting into featureclass
Good day, Is there a way to extract one layer from AutoCAD drawing, and convert it into a featureclass in a GeoDatabase? I'm trying to following code in the Python window inside ArcGIS, but it only...
View ArticlePython script to do automatic logon with Arc Publisher
I am a beginner so please excuse my newbieness Issue is Using Arc Publisher to publish maps but one of the nagging process is that in order to have the Layer imagery come in, you must log onto a server...
View ArticlePython UpdateCursor (arcpy.da) question
Hi All, I have a question with my script (listed below). This script does not work when one field is GlobalID the other is Guid. I also have tested if one field is GlobalID the other is Text. It still...
View ArticleAppending data to a column with a variable name.
Hi, I have a bunch of rasters showing precipitation data over a long period of time, and I am trying to append the precip values at different geographic points to the attribute table of those points....
View ArticlePythn to TextWrap
I am using MapTips (Layer Properties > Display > Display Expression). I would like to use the advanced expression window to write a script using Python TextWrap. Field string needs to be wrapped...
View ArticleHelp me please arcpy will not initiallize
Using Python Idle typed in import arcpy get error below Traceback (most recent call last): File "<pyshell#3>", line 1, in <module> import arcpy ImportError: No module named arcpy using...
View ArticleCan't assign a Point to a Py Toolbox output parameter
Below I'm trying to set a Point output parameter. However, right after setting I check the type and it's None. See attachment for GP results. I've also tried GPPoint with no success. Fundamentally it...
View Article