Tag Info

Hot answers tagged

5

The Arc Select by location tool does not work so well for buffer analysis if your data is not projected (WGS 1984). It will draw the resulting buffer as a perfect circle shape, instead of a ovular shape by default (Euclidian vs. Geodesic). The circle does not represent distances accuratly because it does not take into account the curvature of the earth, and ...


3

The intersect tool expects a feature class or a layer as input. But you try to use a geodatabase as input. Add two feature classes (or layer) to ModellBuilder instead of two geodatabases.


3

I generated points using lines with 4000m spacing in one direction and 4050m in another direction. Pseudo-code to process: Create TIN using any field. Get triangles and edges from TIN using TIN edge and TIN triangle: Sort edges in descending order, sort field shape_length. Calculate their midpoints, shown in red, labelled by OBJECTID: Iterate through ...


3

The first bullet in the Create Fishnet (Data Management) documentation states: The coordinate system of the output can be set either by entering a feature class or layer in the Template Extent parameter or by setting the Output Coordinate System environment variable. You also have the option of defining a coordinate reference on the data after it ...


3

I don't think that this is specific to your upgrade in 10.3. Unique value display for raster images is only available for single band (with an associated table, so it must be integer). You can double click on your raster layer when you want to add it and then select a single band. Then, if it is integer type, you'll be able to display it with unique values ...


3

In the requester's mxd, if you go to the Customize drop-down and then select Customize Mode (This is in 10.1. I can't remember if 9.3 was exactly the same, but either way look for Customize Mode somewhere), and then right-click on the button in the toolbar do you get the option to View Source? At 9.3 you could make buttons that fired VBA which in turn fired ...


3

It appears that this is a fairly common error encountered when ArcHydro is run with data between the network and the local C: drive. See this site for further details: https://geonet.esri.com/thread/89781 The solution seems to be in where the data are stored.


2

There should be essentially no difference. I don't know quite how to clearly explain this, but when re-projecting, you are in fact re-sampling at the same time, even if your cellsize were to remain the same. In order to project, the projection algorithm has to know where to 'place' the data, i.e., it has to have a location to project each cell value to, ...


2

The trick to doing this is to first create a legend style item either in your user style file or in a custom style file. For the sake of simplicity, I'll show you how to do it using your user style. In ArcMap, go to Customize > Style Manager You should see a folder in the Style Manager which references the user style file ArcGIS auto-creates to store all ...


2

I'll assume that you are trying to do this on two polygons in the same feature class of a geodatabase. I tested using a file geodatabase but other flavours should work fine too. Shapefiles will not have their areas updated automatically but geodatabase feature classes do. What you want to do is easy using Map Topology at any license level of ArcGIS ...


2

The following code fixed it for me. Change this: Message msgForm = new Message(); msgForm.lbl.Text = message; msgForm.ShowDialog(); To this: MessageBox.Show(message);


2

I found my answer here: As Jason sugested, just replacing /n, /r using they char. value will do the trick. And it did. !FieldName!.replace(chr(10), "").replace(chr(13), "") In field calculator returned the full value.


2

It is very unlikely that this problem follows parametric assumptions. I would recommend exploring nonparametric group tests, available in R, such as: Mann-Whitney (wilcox.test), Wilcoxon Signed Rank (wilcox.test), Kruskal Wallis (kruskal.test), Friedman Test (friedman.test). You could also apply a Monte Carlo sampling approach, lbl_test in coin or ...


2

If I understand you correctly, you want to test sample variation. That is to say, how well your sample distribution matches your population (raster) distribution. This is not a correlative relationship and is commonly done by comparing the sample mean and variance against the population. Here is an example where I calculate mean, variance and quantiles for ...


2

I would suggest using a couple of definition queries. these will allow you to have different layers in your table of contents that all draw from the same data. so if you had an attribute called type with values lateral and main you could set one query to "type" = 'main' and set the color ramp (or ranges) while the other would be "type" = 'lateral' and would ...


2

To rename a parameter name, rename the element in the model itself. Next, the 'linear' option will always be there as long as you expose the distance parameter from the buffer tool. A workaround would be to create another variable of 'Double' type and call it "Distance" Then connect that variable to the Buffer tool and assign it to the "Distance [value ...


2

Here's how to find all the mxds in a directory tree using the os module: import os for root, dirs, files in os.walk('C:/junk'): for file in files: if os.path.splitext(file)[1] == '.mxd': print 'It is an MXD!'


2

If i got you,you have common field among tables so better to use Join command and export the result to get a combined feature(composite). This will not add geometry to the composite but only features' attributes only. N.B.If you are working with lot of data then take different approach, i mean you need to use RDBMS where you will link both table using ...


2

I would use regular expressions for this. You can use this in an arcpy script to update the field by setting the m.group(index) to be the field value. It is of str type. import re reload (re) r = re.compile("([0-9]+)([a-zA-Z]+)([0-9]+)") m = r.match("123ab1234") if m: print m.group(1) print m.group(2) print m.group(3) else: print "no ...


2

There are a number of issues raised by your question. First off, there's only one database involved. Databases can have multiple user schemas, and each connection is to a schema in a database. User schemas can create multiple feature datasets, which are not equivalent to databases (your problem description is very confusing in this regard, since "owner", ...


2

Python add-ins are new to 10.1. So your 9.3 user won't be able to use one. If he decides to migrate to 10.1 or higher (wouldn't be a bad thing after all, 9.3 is not supported for a while): Add-ins are stored in your user's profile (...\My Documents\ArcGIS\AddIns). I don't think you can use/find the add-in if you didn't install it on your machine. But if ...


2

You should create an index with unique constraint on the fields. Just go to the property page of the table and then the index tab. Click the Add button. This feature is only supported with ArcSDE SQL SERVER database. So with personal geodatabase it is not possible to have unique field in Arcmap and edit features. Per Documentation: Unique indexes ...


1

I think there are two things going on. First, you can't use "class" as a variable name, since VBScript reserves that for defining classes. And second omit the "as Integer" in your declaration. This should work: Dim rip_class if [AGE_DATABA] >= 200 AND [Riparian_S] <> 1 then rip_class = 5 elseif [AGE_DATABA] > 200 AND [Riparian_S] = 1 then ...


1

I dug up the following article from microsoft about the error you are getting. https://msdn.microsoft.com/en-us/library/5e3hfkby(v=vs.84).aspx It seems there is an issue with either the syntax or using a VB specific work as a variable. I think the word "class" is a reserved word in VB Script. http://support.microsoft.com/kb/216528 Try changing "class" ...


1

Your code does not work because you are using the reserved keyword in VB which is class. Dim n if [AGE_DATABA] >= 200 AND [Riparian_S] <> 1 then n = 5 elseif [AGE_DATABA] > 200 AND [Riparian_S] = 1 then n = 2 else n = 0 End if your field = n


1

We use FME Workbench via the ArcGIS Data Interoperability Extension, which comes with our ESRI Enterprise License Agreement. Using FME gives us the ability to: Promote from Dev to QA to Prod instances of ArcGIS Ensure Field names and Field Types are consistent between environments Provide an accessible tool for our non-GIS-using DBA to run an ETL to our ...


1

After doing a bit of forum research, it appears you might be bumping into a few things. Restart the machine (worth a shot) Turn off background geoprocessing (You've done this) Check the name of any output/input files for any tools I would maybe put a print statement after the assignment of the "outfile" variable print outfile Take a look at the ...


1

There are multiple ways to accomplish this, but none of the correct methods involve static conversion of degrees and linear units. In the past I've had to define my own equidistant or equal area coordinate system over each feature, but ArcMap offers a much simpler solution: Use Geoprocessing... Buffer, which invokes Buffer (Analysis), and then specify a ...


1

The R software is a good solution. You can read your rasters, extract values for the sub areas and then run an ANOVA, t-test or whatever else you might fancy. Remember to check whether your data are normally distributed so you can pick your test. Here are the basics: # read rasters slope = raster("~/dir/dir/file.tif") land = raster("~/dir/dir/file.tif") # ...


1

You can use ArcMap's [Make Query Table] geoprocessing tool to: Set input table to your points data. Select need fields(you must select Shape field if you want get result with feature) In the where_clause,input as your question([Time] in (SELECT MAX( [Time] ) FROM data_table GROUP BY [Name])) Set table name if you not need default out table name. Click Ok ...



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