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

Ground to Grid Correction Object?

Hello. I would like to know if the Ground-to-Grid Correction in ArcMap is an object that can be accessed. If so, how? Thanks, Adam

View Article


create points at changing distances along lines

Hi everyone... Here's what I have... - Polyline file representing cross sections along a river (starting from left bank, crossing the river, ending on right bank) - Table containing distances to...

View Article


nesting UpdateCursor within SearchCursor and more...?

Hello All, I am new to python and I'm in the learning/testing phase. From borrowing various snipits, I am calculating the azimuth of a line segment then attempting to write that value to the attribute...

View Article

Panning a map to the location of a selected feature

Hi folks, bashing my head today grappling with this one. I have a point feature class that based upon a query I'd like the map to pan to that location. Then I can set the scale and export it to pdf....

View Article

elevation query

There's a few parts to this question. How do you get points of a DTM? I managed to get it working by doingrastor to multipoint. I did try extract value to point before and the DTM havd no features...

View Article


Layout and page setup

I’m using a script to allow the users to select from different map templates, the templates range in paper size from Letter to ansi D. My script finds a chosen attribute and zooms the map to that...

View Article

ArcPy FeatureSet load error when run in geoprocessing service from client

Good day, I'm trying to get a geoprocessing service to work. The service runs fine from ArcCatalog when I'm on the server, it produces the expected results. Once published though, I cannot get it to...

View Article

Image may be NSFW.
Clik here to view.

export value to txt file with modelbuilder

I want the value of the iterate and the row count export to a txt file I export the Modelbuilder to a python script This is the code #...

View Article


Is there a pythonaddins.GetSelectedTOCLayerOrDataFrame() for ArcCatalog?

Is there a pythonaddins.GetSelectedTOCLayerOrDataFrame() for ArcCatalog? I would like to make some tools for automating cleanup routines for geodatabases and can't seem to find a way to select the gdb...

View Article


Problem with import table

Hello, I have a source geodatabase with three tables: Table_A, Table_B and Table_C. I would like to export two of them to another geodatabase. The list of tables I would like to export is written in...

View Article

Reading UKOOA P1/90

All , Anyone tried converting UKOOA P1/90 format to feature class or shapefile using python .. Thanks

View Article

Create a new object of a class

What function we can use to create a new object of a class?

View Article

Create a file

How to create a file in python?

View Article


Finding saddle points in a grid?

Hello all! I would like to be able to identify saddle points in my grid. Does anyone know of a method to do this? Search has led me in the way of Numpy. Would that be the right direction to go or can...

View Article

Image may be NSFW.
Clik here to view.

Setting DataFrame.scale messes up my scale bars

When I use the regular pan/zoom tools or Data Driven Pages, ArcGIS correctly updates my scale bar according to the way I set it. But when I alter a map layout's extent using the DataFrame.scale...

View Article


Create shapefile from .xls file with a loop -- error 000732 after 64 iterations

Hello there, I am experimenting an issue with a script I wrote. I have .xls files named after a date (2020_01_01.xls) composed of two sheets (\ET$ and \P$). In order to create shapefiles from these...

View Article

selected feature in a feature class

Hi all Please I need a script sample that checks whether a feature is selected in a feature class Thanks

View Article


Create Service with Capabilities

Hello, I have written a python script to create a map service. The bulk of the script is three commands basically to verify the map document, create a service definition file, and then publish. The...

View Article

Merge Editor Toolbar

I need to access the merge fucntion in the editor toolbar. I know this wasn't possible with python before, but was wondering with the new addition of the data access module if it was. Thanks.

View Article

Reading xls to publish in arcgis 10

good day, I'm new to python and would like some help: I need to read an excel list of maps (mxds) to publish in arcgis server. This list contains the names of services and location of mxds

View Article
Browsing all 2485 articles
Browse latest View live