Geoprocessing is a GIS operation used to manipulate GIS data.
5
votes
1answer
146 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
97 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
953 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
256 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
536 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
797 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
89 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
946 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
892 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
98 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
97 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
116 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
218 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
114 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
243 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
139 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
119 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
115 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
435 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
691 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
180 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
173 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
979 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
246 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
449 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
156 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
778 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
391 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 ...
2
votes
0answers
144 views
Flex Geoprocessing Widget output parameter invalid
I want to publish a ArcToolbox with a script on a Flex application as a widget. I have ArcGIS server from which I will publish it as a geoprocessing service. The tool has an input parameter which is a ...
1
vote
0answers
29 views
Buffer aggregation method in OpenCarto library
What is the use case of this function? Can it be used to aggregate building polygons as well?
2
votes
1answer
161 views
Directing output to a mirrored file tree. ArcGIS, Python
I am attempting to modify the Batch Project script to:
a) read from a text file of file names located on our server
b) build a mirror of the paths to those files on my local machine
c) output to my ...
7
votes
3answers
2k views
What ArcGIS 10 geoprocessing tools support exporting tabular data to CSV?
I have found that most if not all geoprocessing tools that allow tabular output are limited to geodatabase tables and DBF files for supported output formats. Are there any that also support CSV ...
6
votes
1answer
482 views
Grouping map points into fixed cluster sizes
I have a dataset of 655 lat/long pairs which I'd like to split into about 100 groups. A group should have 5-10 pairs which are geographically close to each other. Dense groups should have more ...
1
vote
0answers
164 views
Looking for .NET Heat Map API / SDK
I have a requirement to add a 'heat map' style layer to a Javascript/jQuery based application that I am working on. So far, I have used heatmap.js with no problems at all.
My only concern with this ...
3
votes
2answers
422 views
Why is ICalculator.Calculate significantly slower than the CalculateField geoprocessing tool with SDE datasets?
I just discovered today that there are essentially two ways to calculate field values in ArcObjects:
1. Using ESRI.ArcGIS.GeodatabaseUI.ICalculator:
ITable table = …;
ICursor updateCursor = ...
9
votes
3answers
2k views
Divide a complex shape file into a grid
I have a decently detailed shapefile with polygon/multipolygon features (the file is about 500mb). It's actually a shapefile of the entire world, with the features representing coastlines. I need to ...
4
votes
1answer
249 views
Hosting geoprocessing tool on geoserver
Like ArcGIS Server, is there a way to host, geoprocessing tools onto Geoserver?
1
vote
3answers
108 views
How to choose first letters of words in an attribute table?
I want to write a script (Python or VB) in Field Calculator which can pick up or choose the fist letters of words and put them in a new field.
For example:
Lepidium catapycnon..........> Lc
Gold ...
1
vote
1answer
146 views
Is there any open-source building squaring tool?
I have a set of detached building polygons and i can merge them together in order to form a
single building polygon. However, when merged output polygon may not preserve the orthogonality of building ...
5
votes
4answers
449 views
How to aggregate detached polygons?
Is there any open-source library to aggregate detached polygons? I know that there is a tool in ArcInfo, but it is commercial.
2
votes
1answer
356 views
Why does aggregate polygons consistently error out?
I'm using aggregate polygons on a dataset with three large study areas. It did not work. So I split it into separate areas and did it again. Two of the three areas (which were smaller than the third) ...
5
votes
3answers
640 views
Using arcpy what is the most efficient way of projecting a selection from a large data set?
I have a large data set X(x1-xn) from which I must select consecutively the attributes A(a1-an) from X.fieldsSRC or X.fieldDST and project the selections.
I have a functioning arcpy script that does ...
2
votes
1answer
85 views
Is there an arcpy boolean check for whether an EPSG or prj is supported by arcmap?
I'm writing a tool and essentially I found out that arcmap defaults an epsg to 0 if it sees that the projection is not supported against the predefined projections.
3
votes
1answer
203 views
How To Determine Frequency Of Overlapping Polygons (Bounding-Boxes)
My starting point is a series of bounding box polygons, representing the extents of all the data sets in my inventory.
I am trying to produce an output grid showing the frequency of coverage over the ...
3
votes
1answer
834 views
How to get point attribute from polygon layer?
I have two layer, one (A) has point features and the other (B) has polygons.
I need to produce a new table with some (the ID) or all the fields from the A table and some (the area code) or all from ...
2
votes
2answers
699 views
Modelbuilder: Needing to input multiple featureclasses into merge tool
So I have 490 point fc's in a single directory with uniform spatial features, field names/datatypes. I'm trying to figure out how to consecutively input the first seven fc's into the merge tool, ...
4
votes
1answer
163 views
Regression with Nominal and Categorical Data
I am doing a project looking at the prevalence of a weeds in an area. As an example, I have the following layers:
Weeds Layer (polygons) {categorical data} Each polygon represents a point or polygon ...



