Geoprocessing is a GIS operation used to manipulate GIS data. If you are performing geoprocessing using ArcGIS then the tag Geoprocessing-framework is specific to that software and should be used instead.

learn more… | top users | synonyms

0
votes
0answers
49 views

AO GP tool: Using .sde files as input in a DEWorkspaceTypeClass parameter

I got a tool where the user selects a workspace for storing feature classes, defined as follows: IGPParameterEdit3 parameter = new GPParameterClass(); parameter.Name = "out_workspace"; ...
1
vote
2answers
703 views

Importing ArcPy taking many seconds and code is really slow for GeoProcessing Tools 64-bit (ArcGIS 10.1 SP1)

I've installed ArcGIS10.1 SP1 and whenever I import arcpy (on Pywin console or Eclipse PyDev) it takes aprox. 15-20seconds. Is this normal? I don't think so... I had Python 2.7.3 64-bit previously ...
1
vote
1answer
1k views

arcpy.env.overwriteOutput = True, not working for some reason

AOI_test = "AOI_test.shp" arcpy.env.overwriteOutput = True for i in loc_list: AOI = "AOI_" + i + ".shp" arcpy.Select_analysis("locality", AOI, " \"LOCALITY\" = '%s'" % (i)) ...
1
vote
1answer
125 views

Batch clip DWG polyline

I have about 170 DWG files that need to be clipped to their corresponding tile. Each tile is 14,000ft wide, 8,000ft height. The grid: Each DWG file overlaps the tile border by 800ft: ...
9
votes
4answers
478 views

How to use PostGIS to handle complex geoprocessing workflows?

Our organization is considering moving our geoprocessing workflow to PostGIS. We are currently using ArcGIS, with a plethora of custom Python tools used in ModelBuilder. We're moving most of our data ...
1
vote
1answer
109 views

How to write shapefiles more efficiently in GeoScript?

I've created a geoscript (in groovy) to create a shapefile from generated geometries with certain attributes. It's a heatmap consisting roughly 65.000 polygons with an attribute storing the ...
1
vote
1answer
277 views

How to convert multiple rasters to new raster (mosaic)?

I want to use Mosaic To New Raster in ModelBuilder. I want it to give me multiple outputs because I have multiple folders with a different number of images in each. Below is the model that I have ...
3
votes
1answer
108 views

Why would Update (Analysis) tool from ArcGIS Desktop 10.0 create duplicate features in file geodatabase?

I am attempting to use the Update (Analysis) tool to update a right of way (ROW) polygon feature class with a roads polygon feature class. The ROW feature class completely contains the roads feature ...
3
votes
1answer
66 views

How many polygons under a point (ArcGIS solution preferred)

Opposite of Point in Poly. How many polygons underneath a point. I have a point layer with many points. I have a polygon layer with many polygons. I need to add an attribute to the points that ...
1
vote
1answer
107 views

Messages in JSON output for a Geoprocessing Service from a Model

I have a Model created from Model Builder. It was published as a Geoprocessing Service on ArcGIS Server 10.1 When it was triggered from the REST service, the JSON output printed out the "results" and ...
2
votes
1answer
161 views

Joining Multiple Features to One Feature

I have two layers - an index layer (polygon) and a town boundary layer (polygon). The desired output is a FC with each town represented as only one feature and that FC's table having a field with ...
0
votes
1answer
158 views

ArcGIS Python Script Buffer [duplicate]

I have a problem, I'm trying to create a buffer as part of a code but I keep getting the following error: ExecuteError: Failed to execute. Parameters are not valid. ERROR 000735: Distance [value or ...
2
votes
0answers
110 views

Call ArcPy script via CGI on IIS

I have an ArcPy script that does a whole bunch of processes with ArcGIS 10.1 to write the output data to a SDE geodatabase. What I want to achieve is to enable an online user to call the script and ...
2
votes
1answer
210 views

Geoprocessing service saved data to scratch gdb

I created and published a geoprocessing service from a toolbox. It works with a file geodatabase on my local drive. When run as a tool in ModelBuilder, it worked well and wrote data into the file ...
2
votes
1answer
94 views

Calculating point proximity in ArcMap 10.1

I have a geocoded point file which (theoretically) contains one point for every zip code in the U.S. I want to create a smaller list of zip codes from this file. The list should include only those zip ...
1
vote
1answer
128 views

Raster extent, just clipped by geomtery, slightly differs from a given geometry

The raster using arcgis geoprocessing is cliped with a feature, reading it's geometry and as a result, rasters extent slightly differs. Extent of geom: str(row.shape.extent) '570600,537958652 ...
-1
votes
1answer
328 views

How to calculate the length of clipped lines using buffered points using ArcPy? [closed]

I need to create a buffer around each point of a points feature class. I would then want to use the point buffers to clip the streets feature class to calculate the length of the clipped streets using ...
1
vote
1answer
91 views

Add buffer only on one specific side of polygons

I have a shapefile with multipart geometry (multipolygons), namely communities (blue on the picture below). There are also lakes (white), but for these I don't have a geometry, they're just "empty". ...
6
votes
1answer
375 views

ArcGIS Desktop 10.1 SP1: how to install/use additional Python modules?

I'm currently working on a project where I have to identify geomorphological features in a digital elevation model. Since the aim is to have a single ArcGIS Toolbox integrating all processing steps in ...
2
votes
3answers
310 views

Polyline selection of features with angle turns up to a specified angle

I'm looking for an automated way to select line features that have specified angle between vertexes. That in order to check water mains layer -steel pipes can have only 45 or 90 degrees turns and I ...
0
votes
0answers
134 views

Point in polygon analysis fails with “TypeError: arguments did not match any overloaded call”

I am using QGIS 1.8 on Windows 7 I want to perform a point in polygon analysis using the Vector > Analysis Tools menu. My point layer is the result of a SpatiaLite query which returns 10'000 points. ...
0
votes
0answers
169 views

Issues when importing line shapefiles into NetworkX

Note that although I am using Python Console from within QGIS for this, I don't think it's a QGIS issue. Below is the difference of how NetworkX is dealing with 2 line layers created by the same ...
0
votes
1answer
382 views

Attribute error:'NoneType' object has no attribute

I tried to run a python script for getting the coordinate system of a feature/shapefile as follow >>> import arcpy >>> from arcpy import env >>> ...
3
votes
0answers
229 views

Configure Python with Geoserver

I am developing a WebGIS application with: Openlayers 2.12 PostgreSQL 9.2 with PostGIS 2.0 extension Geoserver 2.2.3 Apache 2.0 configured with Tomcat 7.0.35 PROBLEM One of the services of the ...
1
vote
0answers
122 views

How do I get around license error when creating custom tool?

I created a custom geoprocessing function tool according to this link . . ...
1
vote
0answers
49 views

Creating sign locations from an existing database with offset & dist to nearest intersection (buffer analysis)?

I have a database of 22,000+ signs that contains the offset from centerline along with a distance to/from the edge of pavement to a specific intersecting road for each sign. I also have a street ...
7
votes
2answers
2k views

How to read an Excel sheet in ArcPy script

I'm writing a python code to convert X,Y points in excel to shapefile. In this process i have toread xy points from shhet1. What is the step i have to include in my process to read data from sheet1 of ...
1
vote
2answers
90 views

How to get an idea to use ArcGIS tools in toolbox?

I want to see the definition of any tool in ArcGIS tool box and How to enable to see the procedure to use them and option to edit the tool?
0
votes
2answers
124 views

Calculating distance to a feature from a reference line

I have multiple shapefiles, each containing a coastline for a specific year. I want to calculate the perpendicular distance to the shoreline from a fixed vertical reference line. Please recommend me ...
1
vote
1answer
121 views

Improve Python script logic/structure for erasing features with arcpy

EDIT: Too big a question, I think - so, to refine it: Please help me define (and therefore, research/learn how to use) the Pythonic concept for writing a script that can take one input variable, ...
2
votes
2answers
1k views

Using Value from Iterate Feature Selection to Calculate Field in ArcMap 10.1 ModelBuilder

I have two polygon feature classes, an alignment layer and a parcels layer. I am trying to use ModelBuilder to create a tool that will do the follow: iterate through groups in a single field of a ...
1
vote
2answers
251 views

How to extract all lines that do not intersect with buffer?

I am working in ArcGIS Desktop 10.0 and/or 10.1. I have two road network feature classes in a file geodatabase. I have created a 5 meter buffer around the first one, so it is now a polygon feature. ...
19
votes
4answers
3k views

Python Script examples for geoprocessing shapefiles without using arcpy

I would like to use a Python script that is not based on arcpy to do things like query a shapefile by attributes, create new layer from selection, and calculate areas of a polygon and convert ...
2
votes
1answer
424 views

Better way to get raster values for a large number of point features?

I have several projects with tree point features (SpecialStatusSpeciesPoint) that contain up to 2,000,000 records. I am trying to record tree height (Hgt) and base elevation (BaseElev) values, based ...
3
votes
0answers
155 views

How to create a line layer which connects a point layer to a line layer?

In the map shown below, I have manually created the dummy lines (in green). Using python, and without using PostGIS or sextante, I would like to automate the creation of these dummy links between a ...
2
votes
2answers
132 views

Erase features from feature classes based on record ID?

This is the challenge: I have two feature classes, which have the same number of polygon features, that when overlaid form concentric "rings." I need to erase the inner circle from the outer circle ...
1
vote
1answer
244 views

How to create a drop-down list of geoprocessing tasks?

I need to construct a drop down menu with each choice enabling a different geoprocessing task to run over my script. <select id="myList" onchange="environment()"> ...
2
votes
1answer
103 views

Slope tool error when running from arcObject add-in tool

My problem is related with Global DEM to Slope calculation. The slope tool works when raster is projected or the map is projected where the raster is added. And also, if the raster and map both are ...
1
vote
3answers
222 views

Vector Machine Classification in ArcGIS

Is it possible to perform a vector machine classification of raster image using the ArcGIS software package. This supervised classification method is available in the ENVI software but not for ArcGIS. ...
0
votes
1answer
54 views

Reference Error: selectZIP is not defined

In Firebug I keep getting this error when I try to click a button I made. <button type="button" onclick="selectZIP()">Execute</button> I declared a function called selectZIP in a .js ...
3
votes
1answer
280 views

'Pausing' a Python script tool to allow the user to provide input before continuing

I am using ArcGIS. I have written a Python script that creates various surfaces including NDVI. After the script creates those surfaces, I would like the script to stop running while the user ...
0
votes
0answers
41 views

Does a geoprocessing tool exist that can find all DTED tiles that intersect an AOI?

Does a geoprocessing tool exist that can find all DTED tiles that intersect an AOI? I have a area of interest represented by a polygon and DTED tiles (some of which intersect with the AOI). Is there ...
0
votes
0answers
77 views

How to start Routino with current location?

I'm trying to develop a routing system, I'm using Routino as the routing engine...as anyone tried to instantiate the first marker (starting point) with the user current user location that can give me ...
1
vote
1answer
69 views

Near / Near Table creates -1 values

I have two feature classes. Point feature of hand-sampled GPS locations Line feature of terrace walls digitized from aerial photograph. Because of the less than perfect ways I generated these ...
1
vote
0answers
105 views

GPServer does not exist or is inaccessible

I have successfully published a Geoprocessing Tool as GP services, I had called it with success, but when I try to call it, now it gives me this error GPServer does not exist or is inaccessible for no ...
12
votes
3answers
524 views

How can I use ArcGIS 10.1 to find a geodesic equidistant point defined by three points?

For example, I have coordinates for three base points on a coastline and I need to find the coordinates of the point off the coast which is equidistant from all three. It’s a simple exercise in ...
1
vote
2answers
111 views

Change the starting measure point of a route - linear referencing

I have a few routes created and stored as a feature class in a GDB. When using the create route tool there is an option to choose the starting point of the routes. However, I only have certain ...
1
vote
1answer
300 views

Creating an Origin/Destination (OD) cost matrix using ArcPy

I have created a python script that runs an OD cost matrix over five years from 1999 to 2004. I have set up an OD cost matrix for each year, which I think is very cumbersome. Is there someone who can ...
1
vote
0answers
107 views

How to identify parameters sent from ArcMap to geoprocessing service on ArcGIS Server?

I have a question regarding the use of ESRI geoprocessing services and maybe some of you can give me a hint for the following "problem"... I have set up a geoprocessing service which should solve a ...
3
votes
2answers
357 views

How to run a custom Geoprocessing tool using no parameters?

I created a custom geoprocessing tool called "CreateCoverLayer". It has no input or output parameters. I have the following snippet of code, but get an error message due to the fact that the Execute ...