Tag Info

Hot answers tagged

6

While I appreciate the answers of the ArcGIS power users here, I do think they overrate what is really necessary. ArcGIS for Desktop, unless you activate 64-bit geoprocessing, can't even adress more than about 3 GB, and I have seen it crash when it attempted to do so in extensions that didn't fully catch this limitation in their code... I have seen ArcGIS ...


5

Take raster NDVI dataset and use a raster calculator-type function to create a binary surface of 1 and NULL (no data); 1 is where values are between 0.1 and 1; NULL is everything else. For each farm vector feature, clip your binary-classified NDVI dataset. For each clipped NDVI dataset, count the number of cells that are not NULL, and multiply this number ...


4

Thanks for your script Alex, very nice! I saw a small issue, since relies on several geoprocessing tools that run for each row: Create Table > Add Field > Cursor to Insert Rows > Bearing Distance To Line > Append > Delete Table > Delete Lines >>> Reiterate for next row. It took 10 secs per feature for me. Since, I needed to process around 18,000 features ...


4

Depend what means 'many holes', but if it's not hundreds/thousands you can always use Auto Complete polygon tool. All you have to do is start edit session, select the tool, draw the line across a hole and merge created polygons to required polygon. It is better than digitising and Trace but still semi manual… see screenshots: Select Auto complete tool and ...


4

Spatial join to itself: ORIGINAL POLYGONS: JOINED POLYGONS:


4

kind of figured it out as soon as I posted. Figured I should post the answer... arcpy.CalculateField_management(myFeatureLayer, field2, "!field1![0:4]", "PYTHON") suppose I should add that one can apply any standard Python string functions to !field1! and that this syntax can be used in the Field Calculator if one toggles the Python radio button to the on ...


4

Hi Emil. The technique is called "conflation" and unfortunately ESRI did a lot of development in conflation for 10.2. There is even a toolbox in 10.2 fully devoted to your problem. I would say, try using a spatial join, or using the "Attribute Transfer Tool" in the Spatial Adjustment toolbar in ArcMap. Or if you're really ambitious depending on the ...


4

This can be done using a text/string field. You can limit the length to 11 characters. Alternatively, if you're using ArcGIS, you can set up a range domain. The minimum value would be 10000000000 and the maximum would be 99999999999.


3

This computer will not perform well with ArcGIS. Trust me, you will eventually care about the processing speed as opposed to whether or not it will simply run. The only way I could recommend using this computer is if you have ArcGIS installed on a remote computer (i.e. with good specs) and you connect via remote desktop/VPN using this laptop. As a point of ...


3

I've certainly created something like this; it's a great use for definition queries. Here's a copy/paste/modification from a tool I've written. You'll have to look up how to create a script tool in a toolbox. When you do, make two parameters, one to hold the input shapefile/feature class (type = Feature Class or Layer), and one to enter the "layer by" ...


3

This is untested but to do this I would try these steps: Polygon Neighbors to create a table of polygon neighbors - islands should have no records in this table Use a join between the feature IDs in the feature class and the neighbors table to select any that match - these are not islands Switch selections in the feature class


3

There are two ways (at least) to achieve this: Spatial Join the points to the lines, be sure to specify a distance. Even though you think the points are on the line in fact they're more likely to be just very close. Use Near (advanced license) to get the FID of the line that the point is nearest then attribute join by NEAR_FID and field calculate the ...


2

as written, the function returns a string with 'Nearby:' removed only if the 'Nearby:' test is true (if 'nearby:' exists within the field string. If the test is false, the function is set to 'pass', which returns no value (deleting the original value in the process) to remedy, a value should be passed for both cases - true and false - something like def ...


2

Shapefiles use dBase databases, which do not support null values. Any null values in numeric fields are stored as 0 and strings as a blank space (regardless of software). If you want true null value support, you need storage format that is null capable (such as a file geodatabase). Alternatively, you can import the records that do have coordinates and ...


2

If you are working from land survey plats, the basis of bearing, even though it is referenced to California Grid Zone 5, should have a starting, or reference line for the basis of bearing. This should be at the beginning of the description for the easement. It may start at a section corner, or some other aliquot corner, and describe the traverse to the ...


2

I am not from California but in my state the declination should be listed on the plat or record of instrument, at least it usually is. If not I believe this may help, put in the area the survey was done and the date it was done and it should give you declination. NGS has alot of cool tools btw http://www.ngdc.noaa.gov/geomag-web/ The difference between ...


2

Unfortunately, it is not possible to "reload" the Python add-in while having the ArcMap session open. This is because the add-in is loaded into the program cache. So, the only way to see the changes done is to close ArcMap, install a new add-in and then start ArcMap (as you approach it now). You should spend most of your time debugging and developing the ...


2

This works for me and I have labeling only with 2nd word: So maybe you have few atributres without " ", and you get "out of index". def label([SSA_NAME]): x = [SSA_NAME] x1 = x.split(" ") if len(x1)>1: return x1[0] + " " + x1[1] else: return x1[0]


1

I don't know exactly what's happening, but whenever any export output is not coming out right, there are a few things I'll try: Turn transparency off in all layers. Turn vector layers off one by one and export at each step, sometimes one particular layer's symbology or labeling is causing the problem. Export in different formats, at different resolutions, ...


1

I have also had a lot of success using the image classification tools in ArcGIS (http://resources.arcgis.com/en/help/main/10.2/index.html#//00nv00000008000000). The documentation is great and the results have been very accurate. Unsupervised classification is tricky because defining the number of classes will always result in some degree of mixing. Even ...


1

If you use QGIS, there is a plugin named "semi automatic classification". It may not take too much time to utilize the plugin because you might be familiar with the RS analysis methods. I have used it for 1 week and have been pleased. The plugin is also capable of downloading landsat's photos. Here's the link of classification tutorial. ...


1

There are several ways to accomplish what you want. You've left out some specifics such as what extensions you have available and what license level you're using, as well as how thoroughly you want to sample the raster (ie how fine is your grid). I'll make some assumptions. The simplest, if you want a point for every cell in the DEM, is the Raster to Point ...


1

Make your current output a temporary dataset and then run Append GP tool to add the results into a final output dataset.


1

Directly export to Excel file using the Table To Excel (Conversion) tool. No field name truncation and no formatting issue with numbers: Table To Excel (Conversion) Then you can easily export to a correct csv(txt) file from excel


1

The CID values represent the FIDs of the features in which the random points were generated.


1

I think you may want to do the following: Union your feature classes A and B Run Multipart to Singlepart on the result of 1 Select on the result of 2 where FID_fcA = -1


1

8.9 is the 98th percentile which QGIS computes by default for the rendering. If you change to min/max and press Load, QGIS computes 21.9, just like Arc.


1

This sort of problem is what the topology tool was made for: Create a topology for this layer using the "No Gaps" rule Validate the topology Add it the TOC Use the fix topology tool to Create Features. You can do this one by one or all at once.


1

I would edit the polygon layer. trace the missing polygon boundary. merge the selected polygon and the newly created one. screenshots edit Trace create a new feature using the autocomplete polygon tool. @ChrisL is correct... You can simply draw a line crossing one of the edges (justone single segment from one existing polygon into the ...


1

Okay I tried a little bit more to use the XSL template. There are some ways to include information and displaying them depending on the PointID. Here a little example. <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" ...



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