Quantcast
Channel: Forums - Python
Browsing all 2485 articles
Browse latest View live
↧

Arc_scene and python

Simple question ! Can i get access to ArcScene fonctionality with python ! thanks

View Article


Importing e00 files

Hi. I am new to ArcGIS. I opened up ArcMap for visualization and to run analysis on a database. One of the contents of my database folder is an .e00 file. That is, an ArcInfo Workstation export...

View Article


Using arcpy to automate delete drawing objects / graphic elements

Hi I'm looking for a way to automate the deletion of drawing / graphic objects in data (not page layout) view. I've investigate using the GraphicElement object - but this does not seem to recognise any...

View Article

Nested cursors problem/question

Hi, I'm trying to write a script, that will select certain polygons according to their position in relation to some other polygons. The idea is to use a cursor in one table to select polygons with...

View Article

go back in an array - python code

Dear all, I am working on a python code which gives back the vertices of all polygones within a shape file. Maybe you know the code which already exists in the internet. I have to change it a bit...

View Article


Script or Model to take a raster value and add it to the correct point in a...

Hello, I have a workspace containing 450~ rasters all named something similar to this "PSI_SourceCalculation_93_step1_Minus.tif". The only part of the name that changes from raster to raster is the...

View Article

Addin Tool Deactivate

I have an addin that includes a Tool. According to the documentation: http://resources.arcgis.com/en/help/...0000027000000/ there is a function "deactivate" that "Causes the tool to no longer be the...

View Article

Problem with near analysis within an update cursor for loop

I am new to python and trying to create a script that will help individuate trees from a LiDAR point cloud. I'm starting with a point feature class of LiDAR returns and using it as a template for...

View Article


Image may be NSFW.
Clik here to view.

Update a feature class based on another table

Hello All: I am a newbie in python and working on a script that is supposed to update a feature class (fc) based on another table (Table1) by comparing/matching the records in the feature class (fc) to...

View Article


arcpy.da.InsertCursor help please

I am trying to create a script that will create a new point feature to a point feature class, but also add the x, y coordinets to "X_Coord" and "Y_Coord" fields. The following code sort of works but...

View Article

Using arcpy to determine if FC's are identical

Is anyone aware of an easy way to use Python to determine if two FC's (or rasters, or tables) are identical? Context: I am building a script to manage data versioning between a master gdb (private,...

View Article

Python Addin Comboboxes (write to personal gdb)

Using the Python Addin Wizard for ArcGIS 10.1, I have 5 comboboxes I created using the wizard, I want these 5 boxes to map (bind/attach) to 5 fields in 1 feature class and return the values into the...

View Article

Shifting Polyline Feature Class

Hi, I need to horizontally shift a Polyline feature class (clip1diss) (just one raw) 360 degrees East (deltaX = 360). It would be the equivalent as to "Move" in an Edit session in ArcMap but I cannot...

View Article


How to update a field with values from another field in table?

Hello, I have a big dataset with a field of values ranging from 1 to 10. I want to update another field with a string depending on which value is in the other field. So for example: 1 = Woodland 2 =...

View Article

Extracting Information from Lidar image

Can anybody tell me how to extract elevation inforamtion from Lidar raw data(image) using python? I've been trying to do this but have not succeed in it yet.

View Article


Field Calc - First two characters of a string check

I have a large dataset with field named 'MAP_NUMBER' in which should contain values of A1-A29, B1-B29 and so forth... Many of the records contain values similar to 'YY29' and should just be 'Y29' . How...

View Article

Problems Accessing Lines sub-layer of OD Cost Matrix Result

I am running an accessibility analysis for my thesis work but I am having trouble with accessing the Lines sub-layer after I solve the OD Cost Matrix. I need to be able to work with the Lines sub-layer...

View Article


Using ModelBuilder to calculate values for line segments

I am trying to build a model in Arc Desktop 10 where the sum of two fields is equal to the third field. For example, I have a line with various segments. In the attribute table, one of the fields is...

View Article

Add a table to TOC through script (10.0)

Hi, I'm trying to add a table to the table of contents from a arcpy script. It works fine through the command dialog but when using the commands within a script nothing seems to happen. The command...

View Article

Image may be NSFW.
Clik here to view.

Python script running over Windows Server 2008 R2 and FV application connection

To all Python and Flex Viewers Developers: I'm a new Python user. I have a Python script that runs perfectly on Windows 7. However, whenever I try to run it over Windows Server 2008 R2, it doesn't work...

View Article
Browsing all 2485 articles
Browse latest View live