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

3
votes
2answers
417 views

Getting “Failed to open tool” message when trying to run geoprocessing tool from C# code

I've been experimenting with the Military Aspects of Terrain Template, which has a toolbox associated with it. I've been using the following WPF Runtime code, which should open a tool in the ...
3
votes
1answer
1k views

GDAL bindings problem with ArcMap 10.1 Python tool

I'm really getting mad with this. ArcGIS sometimes can be so just...irritating! Forgive me if this question is by any means duplicating this one or similar ones, but I really can't find my way out of ...
0
votes
1answer
3k views

Merge attribute of points into a polygon : Arcmap 10

I have points layer which the attribute looks like this: FID Shape ID Lat Long 0 Point 2065 -5.51666 106.48333 1 Point 2319 21.93333 120.73366 I also have polygons layer : FID Shape ...
3
votes
2answers
942 views

Resample, ArcGIS: How do I avoid resample taking into acount NoData values?

I am trying to Resample a raster dataset to match the resolution of another dataset. I have fine resolution data on small islands (surrounded by NoData in the sea). When I re-sample the data to a ...
2
votes
1answer
238 views

Clipping buffers to census tracts

I have donut buffers generated to protect anonymity of household locations. They need to be clipped so that they are only inside the census tract that the original point was in. The code takes about 8 ...
3
votes
2answers
748 views

How to efficiently check for feature overlaps with Arcpy?

In an effort to reduce processing time, I am looking for ways to pre-process data within my script. I have ~18,000 featureclasses with ~500 features each (all simple circle polygons) from which I want ...
4
votes
1answer
457 views

Switching between background 64 bit processing and 32 (so I can use 3rd party ie XTools)

I often run scripts now with 64 bit background processing enabled but when I want to use certain tools like Xtools table to text I have to turn it off as these tools are 32 bit. Is there a way to ...
5
votes
2answers
261 views

Cancel event in Python Gp tools with arcpy

In GP-tools written in C# (ArcObjects) we can listen for the Cancel-event and react on that. I wonder if there is anything similar in Python GP-tools applying arcpy. I googled that issue and the only ...
7
votes
1answer
276 views

Reduce processing time in Erase function using Arcpy in IDLE

I am processing 18,000 feature classes (saved in a file GDB), each with ~500 records (polygon features) in ocean areas, and I am running a script to remove area overlapping with the coast, using the ...
2
votes
2answers
1k views

R Raster package: write NetCDF with time dimension

I am writing a rasterbrick with multiple layers to a netcdf file using the raster package in R: writeRaster(gridfile, "Data", "CDF", overwrite=TRUE, ...
2
votes
1answer
195 views

Collapsing the multi-row output of a one-to-many spatial join to single-row (arcmap 10.1)

I'm working with TIGER data, looking at the relationships among incorporated places and counties. Not all places are completely contained by counties; some do span multiple counties. In the final ...
1
vote
0answers
89 views

Clipping Buffers

I have buffered a line shapefile where many lines are intersecting but not broken at intersections. I am trying to select each record in the buffer file and clip all intersecting polygons in the same ...
3
votes
2answers
626 views

Create point geometry in a feature class with all the attributes prepopulated

So here is the problem. I have a text file with space delimited values. A standard text file with the headings separated by spaces and then on each next line values for these headings (columns) also ...
1
vote
0answers
214 views

Error Input FeatureClass Arcgis 10 VB.net And Geoprocessing

I have a problem when i execute GeoProcessing in ArcEngine 10 with VB.net i had create the toolbox : Models.tbx and Model Process : disolveRoute with 2 parameters My Function is : Sub diso() ...
2
votes
2answers
1k views

ComException -2147467259 Arcgis 10 VB.net +Geoprocessing

I have a problem when i execute GeoProcessing in ArcEngine 10 with VB.net i had create the toolbox : Models.tbx and Model Process : disolveRoute with 2 parameters My Function is : Sub ...
3
votes
1answer
321 views

AGS 10.1 geoprocessing service returning the wrong URL

I have an image export geoprocessing service that runs on ArcGIS server 10.1. It works by writing an image out to the scratch folder, and returning the location of that image. Basically just this: ...
2
votes
1answer
364 views

Problem when executing Dissolve method in ArcEngine

I'm always having a problem in GP.execute() when trying to execute this method. Here is my code: Friend Function DissolveFeatures(ByVal pInFLayer As ESRI.ArcGIS.Carto.IFeatureLayer, ByVal ...
4
votes
2answers
372 views

Moran's I z-score in ArcPy

I have a ArcPy script to calculate Moran's I several times (50 to be precise). However, I am not interested in the Moran's I value, what I need is the z-score returned by the tool. Even though the ...
4
votes
1answer
119 views

How to return text from GP service?

So I've got a website that I want to extend by letting people look up postal/zip codes for an address they enter. I've already got all the addresses (with their postal codes) for the city in an ...
10
votes
2answers
589 views

Can I add an ArcToolbox tool to QGIS?

I have been using a publicly available tool in ArcGIS called SPreAD-GIS. It is a series of python scripts that are "implemented as an ArcGIS toolbox" (with tbx file). I am new to QGIS. Is there a ...
1
vote
1answer
243 views

Arcpy Update Cursor error [duplicate]

I'm trying to take a field calculator equation and do it in arcpy directly through IDLE, but am running into a problem where the process runs correctly, but the results in the field show up as 0. I've ...
5
votes
3answers
4k views

How to create Point Transects along line?

I would like to create a point shapefile that will contain sampling points along, and perpendicular to either side of a track route that I have as a line feature in ArcGIS 10.1. The points on the ...
2
votes
1answer
417 views

Why does a geoprocessing service fail every other time it is run?

I have a ArcGIS Server 10 geoprocessing service right now that takes in a string and runs a parameterized query to SQL Server 2008R2 through pyodbc. The service works, but only every other time. I can ...
1
vote
0answers
661 views

How to calculate weighted mean coordinates within polygons?

I'm using QGIS 1.8 on OSX 10.8.3. I have a polygon shapefile of all of the US state legislative districts. I also have a layer of points that are centroids of US Census Tracts, with a field for the ...
1
vote
0answers
520 views

Why does Clip analysis generate (some) empty output?

I am running a script that is working (see below) - it pulls a file from a folder, clips from that file based on an intersection with another file, and creates a new shapefile in a new folder. It has ...
5
votes
2answers
766 views

Python Script to convert a mass of KMLs to a single fGDB

I have a mass of KML files, approx 350+ that I need in a single fGDB. I lifted a string of code from ESRI help to attempt to do this - I got it working to the point of creating all the individual ...
4
votes
1answer
303 views

Custom c# GP Tool ArcGIS Server 10.1 - build for 'Any CPU', x86, or 64bit? Does it matter?

I think I understand most explanations of these targets, but I get confused in the context of ArcGIS customizations like this because what we are compiling has to work in conjunction with ArcGIS, not ...
0
votes
2answers
1k views

Execute multiple process in parallel of Arcpy script

I have seen some difficult ways to do parallel processing, but I wonder if it is possible to simply execute multiple process of the same ArcPy script at the same time. My script makes some changes to ...
1
vote
2answers
338 views

Making Shaded Area Polygon from HILLSHADE raster in ArcGIS Desktop?

How am I suppose to extract the values ( Value<=100 ) from this HILLSHADE raster, and then make the extracted values as a VECTOR POLYGON (shapefile) ---I'm using ArcGIS 9.3 (ArcInfo with all ...
1
vote
1answer
856 views

ArcGIS 10.1 - c# custom geoprocessing function tool - how to populate a polyline output parameter?

I'm at 10.1SP1 with VS2010. In my tool's ParameterInfo property I create an output GPParameter object of IGPParameterEdit.DataType GPLineTypeClass. Then in the Execute() method I do work that ...
2
votes
2answers
318 views

Exception handling in ArcGIS .NET custom geoprocessing tools?

I'm working on a set of C# GP tools for use both in Desktop and Server 10.1. The only soup-to-nuts treatment of writing geoprocessing tools in .NET appears to be Building a custom geoprocessing ...
4
votes
1answer
267 views

Polygon to Raster taking longer in script than in ArcMap?

I have a large dataset that I am working with. Basically I have a table with 900,000 records that I join to a geodatabase feature layer, then convert that to a raster. This process takes a total of ...
5
votes
1answer
1k views

How to create iterative Select by Location, Summary Statistics tool using ModelBuilder?

I do a lot of proximity analysis using "select by location" and would like to cut down on the effort spent each time doing this! I have put together a model using ModelBuilder that: Iterates over ...
4
votes
1answer
100 views

Is there a tool to compare ArcGIS Desktop configuration on two pieces of hardware?

I have two PCS with ostensibly the same configuration (i.e. both ArcGIS Desktop 10.0 SP5, both 4Gb RAM) yet when I load the same file geodatabase onto both and run the same large (400 element) model ...
1
vote
1answer
45 views

Has anyone tried implementing Project Repair for customised ArcGIS Geoprocessing Tools?

I'm currently testing a model with a large number of elements (about 400) which takes five input feature classes and three workspaces. When I test it against my test data locations I can open up the ...
2
votes
0answers
207 views

How to use Memory layers in QGIS plugin to store results of Geoprocessing tools

I'm building a plugin to perform Multi Criteria Analysis (yes another one...). As part of my workflow intersecting vectorlayers is needed. I use QgsOverlayAnalyzer.intersection (a pity union is not ...
11
votes
1answer
3k views

How to find differences between shapefiles?

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 ...
2
votes
1answer
69 views

How can I do edit-and-continue in ModelBuilder?

I'm constructing a model in ModelBuilder, and I ran into an error with one of my tools. I fixed the error and want to continue running my model from that step onward without having to repeat the ...
2
votes
0answers
29 views

How to remove coastlines from Admin 0 data set using GRASS?

I have a set of international borders that I would like to overlay on top of a different data layer that represents coastlines ("land" essentially). I would like to convert my Admin 0 polygons into ...
0
votes
2answers
1k views

Access geoprocessing service via REST, get JSON back

I have an ArcGIS Server 10.0 geoprocessing task with a REST endpoint something like this: http://server/arcgis/rest/services/MyService/GPServer/MyTask The task takes a parameter. I was hoping I could ...
0
votes
1answer
60 views

Extract polygon from several FC in one process

I've built a polygon and used Clip (Analysis Tools) in order to extract information from several FC that intersect the polygon. Of course, I used the clip tool for each feature class. My boss wants a ...
2
votes
1answer
151 views

Choosing specific ArcSDE version to create replica geodatabase from?

I'm trying to automate the process of exporting a replica geodatabase using the geoprocessing tools and eventually a Python script. I can't figure out how to create the replica from a specific ...
2
votes
2answers
1k views

“The tool not licensed” ERROR on a geoprocessing service on ArcGIS Server 10.1

I have a python script which runs well as geoprocesing tool. When published on ArcGIS Server 10.1 as geoprocessing service, however, it throws the following error: Unable to complete operation. Error ...
3
votes
1answer
741 views

How to intersect 2 polygon layers with a given tolerance for features in different layers only?

I can intersect 2 layers with polygons using ArcMap. However I can specify only overall tolerance no matter what layer a feature is in (even same layer). So I either end up with lots of slivers if I ...
2
votes
1answer
228 views

ArcGIS Server 10.1 Geoprocessing service weirdly changed file path

I encountered a weird phenomenon on my ArcGIS Server 10.1. I have a geoprocessing tool that exports a mxd file to an image file on my local directory, say "c://map/dir/export/image.png" It worked ...
4
votes
2answers
2k views

ArcGIS Server 10.1 publish geoprocessing tools

I have been trying to publish a geoprocessing tool to our new ArcGIS for Server 10.1 with SP1. I configured the serves to not to copy data to server when publishing services. The tool ran well and ...
3
votes
1answer
51 views

What is the max. length of string for GP output?

I have an XML as the output of Geo-processing tool. I am keeping it as a file right now but another developer wants it as return value. So what is the maximum possible length of this String output? Is ...
1
vote
0answers
39 views

Problem with deployment of GeoProcessors

I am developing an AddIn which requires lots of Geoprocessing but whenever I deploy any Geoprocessor, the ArcMap crashes and its always with the Geoprocessors only. All other commands are working fine ...
5
votes
2answers
876 views

Making Buffer like Offset in ArcPy?

I would like to make a buffer for a polyline and get as Output a Polygon with the same angles as the polyline, having not arcs, like in ordinary buffers. i tried the FLAT option in ArcPy, but it's ...
0
votes
1answer
289 views

Geoserver transform post request to get?

I have the following geoprocessing post request: <wps:Execute xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.opengis.net/wps/1.0.0" xmlns:wfs="http://www.opengis.net/wfs" ...