All Questions
3,216 questions
63
votes
7
answers
98k
views
How to remove Esri basemap credits?
As you can see from the attached sample map, the Esri basemap credits are overpowering and reduce the cartographic design of the entire map. These credits appear to be new to 10.1 and essentially ...
38
votes
2
answers
24k
views
Fastest way to count the number of features in a feature class?
With the introduction of the Data Access module in arcpy (30x faster search cursors), I want to know if counting features matching sql criteria is faster than the traditional MakeTableView + GetCount ...
29
votes
3
answers
9k
views
Why learn/use Python Toolboxes over Python Script Tools? [closed]
I've written a few Python Toolboxes (which are new at ArcGIS 10.1), but am yet to decide whether/when I should write them rather than Python Script Tools in a standard toolbox.
I thought the Online ...
27
votes
5
answers
24k
views
Is ArcSDE no longer needed at ArcGIS 10.1?
Through my frustration of not finding the post-installation wizard with ArcSDE 10.1 and being unsuccessful with the command line tool to start an SDE service on our SDE databases, I found I was able ...
27
votes
2
answers
9k
views
Creating Thiessen (Voronoi) polygons using lines (rather than points) as the input features?
I have a set of line features inside a particular polygonal boundary. For each line, I'd like to generate a polygon inside which every possible point is closer to the given line than to any other line ...
23
votes
3
answers
4k
views
Arcpy Parallel Processing Environment
I recently discovered the Parallel Processing environment setting in ArcGIS (this must be new to 10.1), however, there is no mention as to what tools are designed to utilize this environment setting. ...
22
votes
2
answers
6k
views
Using ArcPy to determine ArcMap document version
Is there a way with ArcPy to identify the version of a Map Document (MXD). I am working on a solution to inventory our MXD's and would like to know if a document is 8.1, 9.2, 10.0, etc.
I am ...
21
votes
1
answer
7k
views
Guidelines for organizing Python Toolboxes (.pyt) in ArcGIS
For one of my tasks I need to create a Toolbox with three tools (python scripts).
Instead of ordinary tbx I've decided to write it as Python Toolbox (pyt).
Everything is clear except the "good" way ...
21
votes
1
answer
6k
views
How to Split a Concave Polygon Into Convex Polygons in Arcpy?
I'm looking for a tool or algorithm to detect concave polygons and split them into convex polygons. Like explained in the picture, the blue polygon is split into A and B polygons
I'm using Arcpy ...
20
votes
5
answers
46k
views
Creating point file along line (trail) at regular distances (0.20 miles) using ArcMap
I am using ArcMap 10.1. I have a trail network that I'm trying to establish signs along the trails every 0.20 miles.
Is there a way to create the point file from the line feature?
20
votes
1
answer
2k
views
ArcGIS 10.1 Python AddIn Using Multiprocessing crashes ArcMap?
I would like to run a multiprocessing task from a python add-in tool. My issue is that the process keeps failing. Basically crashes ArcMap.
Here is my basic code:
def function(startOID, endOID, fc)...
19
votes
2
answers
13k
views
Minimum number of samples for kriging interpolation
I get some data with number of specimens with a request to interpolate it using kriging method.
After some investigation it appeared that kriging results (performed in ArcGIS Geostatistical Analyst ...
19
votes
2
answers
3k
views
Concatenating export path in Google Earth Engine
My goal is to store different exports from Earth Engine projects in separate subfolders of a main GEE_export folder on my Google Drive. I'm using Export.image.toDrive:
Export.image.toDrive({
...
18
votes
4
answers
30k
views
Saving project with data source path as relative in QGIS?
Is there an option in QGIS to save the project with the data source being a relative path?
I don't see the option here. QGIS Wroclaw1.7.3
18
votes
6
answers
856
views
What are key things to test in ArcMap 10.1, service pack 1? [closed]
I have been asked to test service pack 1 for ArcMap 10.1 before it is provided to other users at my university. Are there any key things I should do for any SP test, or should I try to look at things ...
18
votes
3
answers
68k
views
How to determine the date of the Bing imagery for an area?
Is it possible to determine how current the Bing imagery for a certain area is? I've checked the community blog and searched through the monthly updates, but I could not find my study area.
I found ...
17
votes
1
answer
14k
views
Representing overlapping lines in ArcGIS Desktop? [duplicate]
I have lots of lines (in one feature class) which share the same location but I want to represent them as lines that are next to each other because they have different properties (different OWNERS).
...
16
votes
1
answer
28k
views
Allowing for multiple lines in legend of ArcGIS Desktop?
How can I force the description text in my legend to occupy more than one line?
This is basically the same question as Forcing long layer names to multiple lines based on specified legend width in ...
16
votes
4
answers
18k
views
Programmatic authentication to ArcGIS Server secured layers via RESTful API
I have an ArcGIS 10.1 Server instance exposing secured mapservices on the Internet.
My need is to code down a client application (which I am currently building using the 3.3 version of the ArcGIS ...
16
votes
3
answers
13k
views
Exporting only certain columns to CSV file in ArcGIS for Desktop?
I've written a python script using arcpy which outputs a polygon feature class into a File Geodatabase. I have added a function to export the attributes to a separate CSV file. I am using the code ...
15
votes
2
answers
15k
views
Difference between Copy Features and Feature Class to Feature Class tools?
I have a feature class within a feature dataset in a file geodatabase (FGDB), and I need a copy of it in another FGDB.
In ArcGIS 10.1, I've used the "Copy Features" tool, and it looks to be the same (...
15
votes
4
answers
3k
views
Re-compiling Python Addin after editing script?
I have been developing a few python addins and I'm just wondering what is the best way to re-compile the addin anytime I edit the script.
Currently, if I make an edit to the script, it seems like I ...
15
votes
4
answers
12k
views
Connecting to ArcGIS Desktop PostgreSQL database (running locally)
I know this is a total noob question but then again, when it comes to PostgreSQL I am a total noob...
I have installed the OpenGeo suite on my computer, running Windows 7, 64-bit. I have ...
14
votes
9
answers
28k
views
Manually classifying graduated data outside of range in ArcGIS for Desktop?
I have two shapefiles representing grids with values that are symbolized with graduated colors, shown below:
You can see that the two shapefiles encompass similar ranges of data, but assign slightly ...
14
votes
2
answers
42k
views
Running Python script in Task Scheduler-- Script will not run
I have a script which I wish to run on a regular monthly basis without me needing to open and run the it. I have referred to every web page I can find on Windows Task Scheduler and followed their ...
14
votes
11
answers
14k
views
Any tool to monitor ArcGIS Server Usage
I am using ArcGIS Server 10.1 on AMI instance. I have around 10/12 simple map services (Used query layer in all services)
I want to check performance/time/statistics of map services in ArcGIS ...
14
votes
1
answer
29k
views
Exporting Selected Feature to New Shapefile using ArcPy?
I currently have a search cursor iterating through a shapefile in ArcGIS 10.1 that selects a feature and runs a viewshed analysis on that feature (and only that feature).
What's the easiest way to ...
14
votes
3
answers
4k
views
Increasing display performance of ArcGIS Online Basemaps like Bing in ArcMap?
I'd like to know if there are ways (within ArcGIS itself) to increase the display performance of basemaps within ArcMap. The internet connection was recently upgraded, so it is much faster than before,...
13
votes
1
answer
17k
views
How to add feature class to MXD with ArcPy (Python)? [duplicate]
I am using ArcGIS 10.1 and I am trying to add a feature class that I create to an MXD, so that I can join to it.
This all needs to be done using Python.
Is this possible?
13
votes
3
answers
9k
views
Benefits of *.las vs *.xyz or *.ascii when working with LiDAR in ArcGIS for Desktop?
From time to time, we use LiDAR data for modelling in ArcGIS. Previously, we would be supplied either an .xyz or .ascii of the data, but more recently, we are also being provided .las files in ...
13
votes
2
answers
6k
views
How to link dataframes in ArcGIS or QGIS?
The below image shows a layout in ArcGIS 10.1 with four dataframes. Each dataframe is of the same geographic area, although they are different images. For example, the top left image is a 1989 DOQ, ...
13
votes
6
answers
26k
views
Partitioning Line into Segments using ArcGIS Desktop?
I have a shapefile of U.S. states. I extracted the boundary between two states, resulting in a line segment. For example, the boundary between Georgia and North Carolina.
Is there a way to ...
13
votes
4
answers
20k
views
Adding simple table of text (Excel) into layout and preserving formatting and clarity?
I am trying to put a simple table of text (excel) into my layout and preserve cell formatting including alignment, borders and text sharpness. I've tried many approaches but nothing so far is ...
13
votes
3
answers
10k
views
Extending line by specified distance in ArcGIS for Desktop?
I have a purely aesthetic layer which has arrow symbols. Some aren't showing up right because the line is too small. I have selected maybe 50 records where I need to extend this line by a given number ...
13
votes
4
answers
10k
views
How to query all records (>1000) and export to csv?
Assume you have a vehicle tracking records from Oct.1 to Dec. 31 with wind speed information.
All data is saved in geodatabase (sde-sqlserver) and up in ArcGIS Server 10.1 as feature layer.
A time ...
13
votes
2
answers
4k
views
Keeping spatial reference using arcpy.RasterToNumPyArray?
I am using ArcGIS 10.1, and want to create a new raster based on two preexisting rasters. The RasterToNumPyArray has a good example which I want to adapt.
import arcpy
import numpy
myArray = arcpy....
13
votes
1
answer
32k
views
Creating and re-using map template in ArcMap?
I am using ArcMap 10.1 and working on a project which requires 5 different analyses on the same data. I created five map documents (.mxd) and completed my analyses. Now, the problem is that I want to ...
13
votes
1
answer
10k
views
Mathematics behind converting scale to resolution?
I have a ArcGIS service configured as shown in this pastbin. Specifically, the first LOD looks like this:
{
"level": 0,
"resolution": 222.2222222222222,
"scale": 256000
}
I determined how to ...
13
votes
2
answers
7k
views
ArcGIS Length and Area Calculation Scenarios [closed]
Trying to get a handle on how length and area are calculated in different scenarios in ArcGIS. I don't know why I can't find a answer on the feature class fields, but I can't find a precise answer, ...
12
votes
1
answer
45k
views
Georeferencing shapefile using ArcGIS for Desktop?
I have a shapefile with some polygons that I would like to superimpose to a raster image, but unfortunately they don't match perfectly due to the reference system the shp has been created with. So, I ...
12
votes
2
answers
4k
views
To Use or Not to Use Relationship Classes?
I am building a government database from a massive amount of data. Now I am following the standard approach of the ESRI Local Government Data Model, but modified to fits the needs and wants of a ...
12
votes
4
answers
4k
views
Distance between centroid and farthest point of polygon
I have a village polygon layer which has more than 6,00,000 records.
I have calculated centroid of each village.
I want to find the distance between centroid and the farthest node of each polygon.
...
12
votes
4
answers
12k
views
Editing PostGIS layer from ArcMap without Enterprise Geodatabase (ArcSDE)
I have been working with QGIS/PostGIS for a while now, without problems, but now I have to change QGIS for ArcGIS Desktop 10.1.
I am having trouble adding a layer from PostgreSQL and being able to ...
12
votes
1
answer
2k
views
Fastest methods for modifying attribute tables with Python?
A while ago, I wrote a quick Python function for converting an attribute table to a python dictionary, where the key is taken from a user-specified unique ID field (typically the OID field). ...
12
votes
3
answers
744
views
File organization for sharing ArcGIS python code
What is the best organizational structure for sharing ArcGIS python code and geoprocessing tools? Or even, are sharing code and sharing tools separate questions?
Esri has a Methods for distributing ...
12
votes
2
answers
8k
views
What are benefits of using ArcGIS with PostgreSQL over simply ArcSDE?
I understand that in order to benefit from ArcGIS spatial datatypes (ST_GEOMETRY, versioned geodatabases etc.) ArcSDE needs to be installed - and with the 10.1 client it is automatically installed (...
12
votes
3
answers
24k
views
Will ArcGIS for Desktop run on Windows 10? [closed]
Will ArcGIS 10 run on the new windows 10 technical preview?
I am setting up an interface on my Mac and there is the free option of downloading the Windows 10 technical preview, some sort of beta ...
12
votes
2
answers
10k
views
Finding differences between shapefiles using ArcGIS for Desktop?
Every month I have to QA/QC some streets data for an entire county (over 47,000 records). The first step is to compare the two files. Currently, I'm using a tool that was created in house via VBA ...
12
votes
4
answers
5k
views
Inserting points into SQL Server using pymssql?
I am collecting X and Y values from a web service (Twitter) via a python script. In the long run, this will run over a period of months and I intend on stopping at around the 6 million point mark.
...
12
votes
3
answers
12k
views
How can you tell if ArcCatalog Geoprocessing is still running?
Is there some other way other than the logs to check that ongoing geoprocessing is working correctly?
I am running the Buffer tool with dissolve type ALL on ArcCatalog 10.1. I was expecting the the ...