Tag Info

New answers tagged

0

Do an OS walk to iterate all folders and sub folders. For each folder list all the feature class. Split the name of the feature class at your underscore and compose a list, then process that list so the names are unique. Use those unique names as a wild card while relisting all the feature class in the same folder. Lastly run it through the merge tool. I ...


0

I found the answers to my question here: https://stat.ethz.ch/pipermail/r-sig-geo/2008-January/003052.html To further illustrate the answer, here's some sample data set. (I can't give a preview of my own, because it's confidential.) CSVdata Area Data ID Atlanta 100 1 Belgium 200 2 Canada 300 3 Denmark 400 4 Map@data ...


1

You can use ModelBuilder for this task. In this example, the submodel is used to iterate through multiple workspaces to find and list all of the DEMs. Make sure to select the recursive iterator option and set a wildcard if necessary. The full model takes the list of DEMs and mosaics them. Submodel "collectValues" The recursive iterator Full model ...


1

I added a call to get the traceback object to your previous script (Batch merging field mapping). I added a shapefile with an "Acres" field that was one character wide, and got this traceback message: ERROR 001156: Failed on input OID 0, could not write value '340.417' to output field Acres My working version of your script, set up to run in Idle, is ...


1

I got it to run on a directory full of parcels, PLSS, and annexations. The directory had a mix of shapefiles and file geodatabases. I defined the datapath differently, but otherwise changed nothing. It failed on the 13th polygon feature class. The resulting shapefile had 62 fields and 44525 records. My failure was a type mismatch, so it was different than ...


1

As I stated in my comment one solution is: Add in 21 project tools into MOdelBuilder Define the input and output for the 21 tools Add in the merge tool and source all the project tool outputs as the input for the merge tool Or, the work around you noted: Add in the feature class iterater and run fc through the Project tool Reference output object of ...


0

Stay in raster format. If ArcGIS would provide a zonal percentile function you could do this in a couple easy steps. Since it doesn't, you have to work around that limitation. There are many ways to proceed. The key ideas are: Determine the proportion of cells in each class represented by the desired sample of 300. By thresholding a grid of uniform ...


0

You can use the Join attributes by location tool from the toolbar (Vector > Data Management Tools > Join attributes by location). Select the Keep all records option to make sure the output layer receives all attributes related to each specific point: Hope this helps!


1

Based on Kersten's answer, specifically the fact that it was readable/writeable as a dgn, I just changed the file extension of your sample file from .lul to .dgn and was able to add it to ArcMap normally with the add data button. It doesn't come in very cleanly (CAD files rarely do), but it's there. I suspect that, based on my searching which all pointed to ...


3

This sounds like a job for ogr2ogr. ogrinfo reports your example to be readable/writable as DGN format. If you installed QGIS with the OSGeo4W installer you'll be able to access ogr2ogr from the OSGeo4W shell. The syntax for every file is something like this. Check the ogr2ogr documentation to tune the syntax to your specific needs (format, fields, ...


1

Try this: Give all point features a unique ID Use Spatial Join to join the point features to the polyline features with these parameters: Target Features: [Polyline Feature Class], Join Features: [Point Feature Class], Join Operation: ONE_TO_MANY. If some line segments that you need to merge do not actually touch a point, use Match Option: CLOSEST Use the ...


0

If you are trying to randomize your original points, you may want to take a look at the Point Randomizer script rather than using the buffer method. It is possible (with a Spatial or 3D Analyst extensions, or an Advanced license) to use the Create Random Points tool and constrain the points to fall on lines. You could take your buffers and intersect them ...


0

regarding this issue I found that fields does not appears in the drop-down menu when the field "type" is float. It varies according to the software used, but copying the values to a text field may usually work. Hope this helps to somebody else.


2

Use the Dissolve (Data Management) tool, select your number and material fields, then click OK. I'm not sure if the lengths will be added, but a simple "Calculate Geometry" length should fix that.


0

I would recommend looking at using your resulting dissolve features from your previous trials with a spatial join (ArcGIS 10.1 Spatial Join Help Page) to attach the original attributes to combined polygons. Or alternatively look at using union (ArcGIS 10.1 Union Help Page) followed by dissolving with relevant summary statistics.


2

You may use the Merge tool: Combines multiple input datasets of the same data type into a single, new output dataset. This tool can combine point, line, or polygon feature classes or tables. Open you model drag in the Merge tool, double click on in and add the many gdb tables within the input parameter, define out name and location, and then save ...



Top 50 recent answers are included