Geoprocessing is a GIS operation used to manipulate GIS data.
4
votes
2answers
413 views
arcpy overwrite files in a geodatabase file
I'm writing a python script, I've got an mxd and its workspace is a geodatabase file with all the files I need into.
The problem I'm encountering in testing and writing code is that, despite of the ...
3
votes
2answers
199 views
Not able to create a geoprocessing package in ArcMap using my own Network Dataset and associated data
I went through the following two examples to get an idea of how to create a custom, local Routing Task . . .
This is a walkthrough that takes you step by step through the creation of your first ...
31
votes
9answers
2k views
Alternatives to using Arcpy
I seem to use ESRI's Arcpy site package for virtually all of my python geoprocessing. To ESRI's credit, these are an incredible suite of tools that can help accomplish a great deal. However, I would ...
1
vote
0answers
55 views
Calculating tiles extents using some level data
I have some data looking like this:
<?xml version="1.0" encoding="utf-8"?>
<levels>
<level nr="0" tileWidth="512" tileHeight="512" envSizeX="5000" envSizeY="5000" minX="465000" ...
8
votes
3answers
320 views
Preferred programming language and software for entire remote sensing workflow?
I have been involved in remote sensing for some years now during studies. I am wondering which combination of software and image processing modules would be most suitable for an entire process chain ...
1
vote
1answer
188 views
Can I do Intersection queries in ECQL?
I am building a statistical analysis project using ASP.NET, Geoserver, and OpenLayers.
I need to let the user draw a polygon on OpenLayers then find geometries(villages etc.) that intersects this ...
0
votes
1answer
316 views
ArcGIS/arcpy: Can a variable be set to reference an in_memory workspace object?
This is an offshoot question related to a question I posted earlier. I have the following arcpy code that inputs a Python list of polygon geometry objects to the Union_analysis tool, which then ...
0
votes
1answer
431 views
ArcGIS/arcpy: Input of in-memory geometry object to Dissolve tool in arcpy script throws Error 000732, input doesn't exist or is not supported
In an arcpy script, I run a Union on a list of geometry objects. The output is set to an empty geometry object. The Union runs fine. What I am trying to do is then feed that output into the ...
4
votes
1answer
292 views
How do I publish a custom .NET GP Tool as a GP Service on ArcGIS Server 10.1?
I have a GP Tool that I am able to publish as a GP service at 10.0.
I recompiled the DLL for 10.1 and have followed the steps in the Deploying custom .NET and C++ tools page of the 10.1 help doc. ...
2
votes
1answer
120 views
Dissolve with dominant/majority field
I want to dissolve a feature class of land use polygons, joining subparcels in larger parcel polygons. I want the parcel polygon to keep the dominant land use of all subparcels, taking into account ...
1
vote
0answers
145 views
Hack to change data source of a layer file in ArcGIS 9.3.1 with python?
I'm looking for a way to change the source of my layer file using python. Actually I want to do this because I need to re-use a XSL template which is defined under the tap HTML popup of the layer ...
1
vote
2answers
158 views
Cannot get arcpy.MosiacToNewRaster to work with list
Below I have a snippet of a much larger code that I cannot get to work and I am not sure why. It seems that I always have trouble using arcpy functions with rasters. Can anyone help me get this code ...
1
vote
1answer
136 views
Project layer with custom projection
My ultimate goal is to know UTM and UTM Northing and Easting. The data can be anywhere in North america. I calculated UTM using arcpy tool (arcpy.CalculateUTMZone_cartography) and I tried to truncate ...
5
votes
4answers
1k views
explode overlapping polygons to new non-overlapping features
Given multiple polygons that overlap in multiple ways, I would like to export from this feature all polygons that don't overlap with others iteratively. The product would be a number of features with ...
8
votes
2answers
1k views
Is there an automated/geoprocesing tool In ArcGIS to slice, clip, or cut polygons using polylines?
Looking for a simpler method here.
I am trying to split up / cut / slice existing polygons by using existing poly-lines. An example would be splitting a water body or land parcel at the point where a ...
7
votes
1answer
973 views
How to find the mid-point of a line in arcpy
How can the mid-point of a polyline be calculated using the geoprocessing framework, eg in a Python script?
The polyline.centroid property returns The true centroid if it is within or on the feature; ...
3
votes
3answers
284 views
Do Different ArcGIS for Desktop License Levels Process Faster?
At my job, I have access to all three levels of ArcGIS licensing on my computer.
My question is: Does the license you are using in ArcMap make a difference on the speed of ArcMap?
I'm pretty sure ...
0
votes
1answer
240 views
Calling a custom tool from Python script
I have a script based gp tool published on web (via Flex App). The script goes to many different mxds to write a report.
Then I created another model to do some geoprocessing in a different toolbox ...
2
votes
0answers
68 views
Grid perspective tool
I'm not a cartographer, but want to use a map for my project from world atlas book.
I scanned the map, but no matter how carefully it is scanned, it's perspective is slightly distorted and it's ...
5
votes
1answer
154 views
Simulate (Mock) GPS Tracks
I have the following scenario:
1) I need to create GPX files for use in testing of a mobile device.
2) The tracks to be described within will span large distances over long time periods (i.e. it's ...
3
votes
2answers
101 views
ArcGIS NEAR returns -1
We are running an ArcGIS 10.0 geoprocessing script written in Python that (as part of many steps above & below) runs the NEAR command.
Both the input and output datasets (shapefiles & ...
23
votes
2answers
983 views
Streamlining Python Code for Big Data
I have Python code which is designed to take point shapefiles through the following workflow:
Merge points
Integrate points, such that any points within 1 m of each other
become one point
Create ...
0
votes
1answer
267 views
table of polygon centroids
Given a polygon layer, census tracts, how can I generate a table of centroid coordinates in QGIS, or add columns with the centroid coordinates or generate a new layer of polygon centroid points?
2
votes
1answer
126 views
Filling a Polygon with Lines in ArcGIS
i am trying to fill a polygon with lines and calculate total distance of these lines.
http://i.stack.imgur.com/KxdqN.png
like this example. but i have different distances between these lines like 1 ...
4
votes
3answers
574 views
How to split features?
I would like to split a shapefile in qgis according to how the polygons overlaps. Don't know how to though? See pic for explanation:
9
votes
4answers
888 views
Programatically split a polygon with a line
In looking at this question, it occurred to me that I am not sure how one would go about using geoprocessing tools in ArcGIS to split a polygon with a line programatically.
Manually, you would use ...
1
vote
1answer
91 views
Selection on Feature layer (geoprocessing)
I have a feature layers with states and counties fields. I want to make a selection tool. Tool dialog should have input for feature layer and two drop downboxes for states and counties. When user ...
1
vote
1answer
1k views
Feature Class to Geodatabase (multiple) in ModelBuilder => ERROR 000210: Cannot create output
I used modelbuilder, and the last step is to collect feature classes after iteration results to geodatabase using conversion tools of feature class to geodatabase(multiple). However, I met an error: ...
1
vote
3answers
952 views
“Dataset xxx does not exist or is not supported” using Table to Domain in Python
I have a directory of hundreds of *.csv files, containing code/description pairs for geodatabase domains. I'm trying to automate the creation of these domains using Python.
If I manually run the ...
1
vote
1answer
101 views
ArcServer Geoprocessing Service
I originally posted this in the ArcGIS forums, but I haven't been getting any bites.
I've developed a set of ArcToolbox Python scripts, which I've been using on certain projects for clients. The ...
0
votes
1answer
103 views
ArcGIS Python Error Raster Domain
I´m always getting an Error with my Python-Code. Even though it is almost the same as on the ArcGIS Help Website.
The Error occurs in line 19:
Traceback (most recent call last):
File ...
1
vote
1answer
138 views
Appending in Modelbuilder to a derived dataset
I have a simple model with a file gdb model parameter InputGDB, which contains a feature class fc1. Inside the model is a preset output folder and a template (empty) file gdb TemplateGDB, which ...
6
votes
3answers
224 views
Using ESRI geoprocessing services from a non-ESRI client (Python)?
I'm thinking it should be possible to consume an ESRI Geoprocessing service from a python script without invoking ArcPy or needing an ESRI installation on the client machine. For example I create a ...
2
votes
2answers
119 views
Determine the furthest driving distance from a road layer to the nearest point of a point layer using OSM/QGIS
In a specific geographic area, I have a road layer and roughly 30 points dispersed around the geographic area as part of a point layer. Both layers are in SHP and PostGIS formats. The records from the ...
11
votes
1answer
250 views
How do I create groups of points from lat/long pairs?
I have a database which contains Lat/Long pairs to identify the location of points of interest. I would like to group the points of interest into groups of 10. The group should be geographically ...
2
votes
0answers
148 views
Invalid return value: published arcgis server 10.0 toolbox
I have a published toolbox that is using conditional execution in one of its models:
This works fine in ArcGIS Desktop 10.0, and each sub model\script works fine when run separately from this model ...
0
votes
0answers
126 views
Geoprocessing COMException when running custom script
I have searched a lot of forums looking for answers but none have helped so far.
I am trying to run my own script ( a dummy empty one for now) with geoprocessing in Visual studio 2010 using c# and ...
0
votes
0answers
118 views
Error publishing gp model with python script as a service
I'm attempting to publish a toolbox to ArcGIS Server. The toolbox contains a model and a custom python script. The model calls the script. It runs fine in the desktop but when I publish as a service ...
2
votes
2answers
456 views
ESRI Geoprocessing Script : Runs Fine in Desktop - Crashes as Geoprocessing Service
I have a small and simple geoprocessing script that I am trying to expose as a geoprocessing service in ArcGIS Server 10 SP4. The script is below. Pardon the hard-coding...
With the hard-coded ...
4
votes
1answer
783 views
Performing Geoprocessing SQL Queries in QGIS from a PostGIS Database
This may be a dumb question, but is there way to run a PostGIS geoprocessing SQL query in QGIS? Specifically, I am thinking of running SQLs such as ST_Union, ST_Split etc etc.
I have tried the ...
2
votes
0answers
191 views
How to create Online IDW(Inverse Distance Weighted) Interpolation?
I have some point data which store as JSON.As follow:
[["Lat":"12.12","Long":"23.23","ZValue":"123"],...].
I tried to interpolate them as contour line and displayed them on my ...
0
votes
0answers
49 views
ESRI Shapefile to ARCGIS Javascript JSON format [duplicate]
Possible Duplicate:
How to convert SHP into GPX or JSON?
We're in the proces of adding a new feature to our Web Application where we employ the use of ESRI's ArcGIS Javascript API alongside ...
3
votes
1answer
181 views
How do I stop GP script from adding temporary data to Table of Contents?
I have a script that does a series of calculations, producing temporary data along the way. However, at each step of the script, data is added to the TOC and then removed when I call the ...
2
votes
2answers
1k views
Geoprocessor Select By Location Using Features Instead of Layers
I have a simple spatial feature selection function that includes:
public static void SelectByLocation(IFeatureClass sourceFC, ILayer selectLayer)
{
Geoprocessor GP = new ...
1
vote
0answers
261 views
How to solve 'A failure was detected in the topology engine' error?
I am running a series of geoprocessing tools in a custom C# Geoprocessing Tool.
First a new File gdb is created, and then a new featuredatset with the given spatial reference is created, and a ...
4
votes
3answers
475 views
ArcServer 10.1 - Publishing C# Executable as a Geoprocessing Service
I am trying to publish an arcobjects C# executable as a gpservice. We did this in 10.0 by adding it to a toolbox and hitting publish. Using ArcCatalog in 10.1 you must first run the script before you ...
1
vote
0answers
165 views
Geographic limit to overlay analysis in geoprocessing service
Function:
I've created a geoprocessing service that serves a toolbox containing a custom python tool. This python tool selects a polygon and buffers it by 1 mile. This buffer is then used to ...
1
vote
0answers
25 views
Geoprocessing (error 99998) [duplicate]
Possible Duplicate:
ERROR 999998: Unexpected Error
1.Service Pack - have no Idea. I received the Arc10 Software with my study material.(I just installed it)
Shp files (want to clip ...
2
votes
2answers
830 views
ERROR 999998: Unexpected Error
I’m new with Arc 10, and I'm struggling alot.
When using Geoprocessing I’m getting the same error or message again and again.
"ERROR 999998: Unexpected Error"
I have checked all the settings I can ...
3
votes
1answer
406 views
Is Data Interoperability Extension for ArcGIS Server 10 required to extract data in .dgn format?
I am trying to create a Geoprocessing Task in my .mxd to in order to extract data to .SHP and .DGN formats which will be utilized in a data extraction tool for a web application.
Right now, there is ...


