Linked Questions

12 votes
5 answers
8k views

Compiling Python scripts (to .exe) that use ArcGIS Geoprocessing Tools?

I've been coding with Python for several months now and have developed some reasonably complex scripts for primarily geoprocessing tasks. That being said, I'm still learning a lot as I'm coming from a ...
MapBlast's user avatar
  • 1,127
9 votes
3 answers
3k views

Speeding up Python calculated timestamp field in ArcGIS Desktop?

I am new to Python and have started to create scripts for ArcGIS workflows. I am wondering how I can speed up my code to generate an "Hours" double numeric field from a timestamp field. I start with ...
Russell's user avatar
  • 101
8 votes
3 answers
6k views

Increasing speed of Python scripts using arcpy

Update 4/11/2014 It looks like the script was getting hung up on the Delete Features tool, so I switched to Truncate Table, as suggested in the answer below. I also removed the unused variables from ...
Patty Jula's user avatar
  • 1,083
3 votes
4 answers
2k views

Is there anything faster than cursor in ArcGIS Desktop to calculate records?

What is the most efficient (fastest) way to calculate records in a layer in ArcGIS? Is there anything faster than the Cursor in ArcGIS?
user7172's user avatar
  • 1,529
6 votes
4 answers
3k views

Does File Geodatabase performance degrade as it fills up?

I'm having a memory leak issue. Upon investigating this more, it seems the file based geodatabase I write to in a loop, is growing very large, and as it grows, it significantly degrades the ...
Hairy's user avatar
  • 4,843
9 votes
4 answers
627 views

ArcView 3.x Avenue Bitmaps (Tabs?) vs. ArcView 10 Python Cursors

Note: While this question has an answer, any further tips for optimizing a cursor process would be greatly appreciated. I will be monitoring for any updates. Currently, my boss (who works in Avenue) ...
Nathanus's user avatar
  • 4,318
6 votes
2 answers
2k views

Is it permissible to update features after the feature cursor has been released?

In ArcObjects, is it permissible to modify and update a feature after the feature cursor (which was used to retrieve the feature) has been released? That is, do features in any way retain a link to ...
stakx's user avatar
  • 1,161
5 votes
3 answers
882 views

How not to Copy Features when too many would be output?

This question has already been posed to the ArcGIS Geoprocessing forum but I have had no responses there. I have a 3.5 million polygon layer (cadastre) stored in Oracle via ArcSDE. I use a polygon ...
PolyGeo's user avatar
  • 65.1k
5 votes
2 answers
865 views

Uniquely identify feature classes & compare them for equality using ArcObjects?

I want to implement EqualityComparer<T> for feature classes so that I can stuff them into a Dictionary or HashSet. For motivation, say that I am looping over many IFeature objects which belong ...
Scott B's user avatar
  • 73
4 votes
1 answer
2k views

ArcPy performance issues with an UpdateCursor when sorting

I'm hoping that someone will be able to help me here. I have written a short ArcGIS Python script (mainly cobbled together from other examples) that sorts a feature class ascending based on two fields ...
James Holt's user avatar
4 votes
1 answer
2k views

Processing time using ArcGIS Hydrology toolbox tools in standalone Python script vs ArcCatalog?

My question is: what might cause the ArcGIS 9.3 Hydrology Toolbox Snap Pour Point and Watershed tools to run significantly slower in a Python script versus manually running the tools in ArcCatalog (...
MapBlast's user avatar
  • 1,127
4 votes
1 answer
1k views

Why is a Merge process via ArcObjects extremely slow?

In one of my arcobjects-based GIS tools I have a process which takes an array of shapefile paths and uses them as inputs with the ESRI.ArcGIS.DataManagement.Merge tool. I run it via a Geoprocessor ...
Nathanus's user avatar
  • 4,318
5 votes
1 answer
707 views

Memory leak in ArcGIS aggregate points/buffer/Addfield/cursor?

There are concerns about the ability of ArcGIS 10 to fulfill a requisite of mine. ET Geowizards has been tried, although it doesn't have the same capability of ArcGIS e.g. I cannot aggregate all of ...
Hairy's user avatar
  • 4,843
3 votes
1 answer
471 views

Can't cast from IFeatureClass to IFeatureClassLoad [duplicate]

I'm attempting to load a large number of features (up to 310k) into a feature class. It is functional at the moment, but speed is a major issue. It takes about .42 seconds per 1000 features. I've ...
nathan gonzalez's user avatar
5 votes
2 answers
439 views

DBMS and ArcSDE Architecture for Large (Mostly Non-Spatial) Dataset

I have ~1000 fixed points representing data collection stations with multiple sensors, and a csv that is ~4.5GB of values in the format: id pointid sensor measdatetime measvalue 50345 500 ...
brnt's user avatar
  • 221

15 30 50 per page