Tag Info

Hot answers tagged

6

You can use the GDAL Python bindings. Examples on how to use it can you find here. For example you create points with lat/lon like this from osgeo import ogr # first import the library point1 = ogr.Geometry(ogr.wkbPoint) point1.AddPoint(13.381348,52.536273) # Berlin point2 = ogr.Geometry(ogr.wkbPoint) ...


4

I'm not at a computer that has access to PostGIS right now, but I feel as though this algorithm might work. Of course if you have vertical groups, you would need to use an exclusion or inclusion clause for ST_Y(). (EDIT): Previous algorithm worked, but became a data hog for large sets. Create TABLE #TheDistances ( ID int IDENTITY(1,1), ID1 int, ID2 ...


4

With ArcGIS for Desktop Basic and Standard licenses, the number of input feature classes or layers is limited to two. (source: arcgis help) So if you don't have the advanced license, you need to run the tool twice. If you want to have the intersect tool for three layers because you will often need it, you can use model builder to make your own reusable ...


2

To answer the question as posted: "No, to my knowledge there are no plans to change the storage format for custom toolboxes away from their binary storage." Now to also support your needs: I suggest investigating a tool deployment paradigm where your toolboxes are generated (or re-generated) systematically based on revisions to the tool source(s) ...


2

To ensure that you don't calculate an illegal division by zero, first ensure that all values of KM2AREA are not zero. You can do this using the Select By Attributes functionality (presuming you're using ArcMap - other GIS's will have a similar function. Then ensure that the Field Calculator is set to the default of only using the selected values.


2

I'm sorry, actually with 9.3 you can't edit the tool's abstract in the tool side panel with the page editor, so you can only use plain text. You can use the page editor for most items of the tool's help page, see Entering topics in the Documentation Editor. Apologies for the confusion, I haven't used 9.3 for years, by the way it's not supported anymore. ...


1

Is the mean point spacing in X consistent within a group, like these are mile markers? I'd create rectangles centered on each point with a width slightly larger than the point spacing, and a very small height. Then union them, and use the new polygons to group the points. This assumes the points are in groups in X, but may have other points nearby in Y. ...


1

Try importing the toolbox to catalog before running it from the same instance in ArcMap maybe. http://help.arcgis.com/EN/arcgisdesktop/10.0/help/index.html#//00vp00000013000819.htm


1

I know this question is going on 13 months old now, but I believe the gpservice deployment wizard (at 10.1) may have poorly-documented features which resulted in your mashed-up output file and path. I noticed that your GP result output included a relative path: "..\grasslandcuringvd" which reminded me about the relative paths checkbox. When that feature is ...



Only top voted, non community-wiki answers of a minimum length are eligible