Tag Info

New answers tagged

1

I wasn't able to find the Model builder answer, but I managed to create a script in python that did the job. Here it is: ##domain clean up script ##Created by: Ruchira Welikala ##Date: Aug 27, 2015 import arcpy from arcpy import env #Workspace where domains will be deleted from gdbConnName = "Database Connections\\ProductionDB.sde" #Workspace/Table ...


2

I would suggest you create a series of models using iterators. You can create a model for each type and nest the models as sub models in order to include all of them into a single model. You would have to do this because a model can have only one iterator. So each model will iterate through the data object then deltete. Use preconditions to control the flow. ...


0

I think that if you erase the old python.dll file from system32 and syswow64 folders, (keep a copy of these files to revert the proces just in case) and then install again python from the installation dvd, this could fix your problem. I took the python.dll file from the other computer were Argis+python were working fine, but if you don't have another ...


0

I found a solution which I hope it will work for you. I have tried everything written in this post and python still was not working into my arcgis; giving the message 000574 error Python is not installed. I have Win7 64 bit, and I was using Arcgis 9 then, installed Arcgis 10 and then, upgraded to 10.2 last three years, and in my last installation Python ...


3

The model you want is below: You want to be using the Feature Selection iterator not the Row iterator. You set that up using the ID field as the case field. This is what becomes Value and this is what you use with in-line substitution in the field calculate tool. But you should heed @Baltok's warning as if you have overlapping buffers then that will ...


4

As PolyGeo indicated in the comments, Select will do this in one step. Otherwise, use Copy Features to copy the selected features. Copies features from the input feature class or layer to a new feature class. If the input is a layer which has a selection, only the selected features will be copied. If the input is a geodatabase feature class or ...


1

Check your quotation marks. Some of them are normal double quotes, but some of them are 'curly quotes', specifically the ones around your %raster% variables. This may have happened if you copied and pasted something out of a Microsoft program, as they love to convert your normal quotes to curly/smart quotes. It's really obvious if you copy and paste your ...


0

Robbi I'm not able to download your sample data on this laptop, but I understand the gist. This problem lends itself to an elegant solution in a few lines of script. I assume the points are snapped exactly on line endpoints - if not, you may need to run the Snap tool on the points first because the XY locations have to be identical for it to work. This is ...


0

There is now an eLearning video tutorial (not free, but relatively cheap) called Using ArcPy Cursors to Split by Attribute and Location that includes showing how to: Write a Python script to split one feature class using a polygon feature class into one feature class per features found within each of its polygon locations I think it addresses the ...


0

I suggest populating a python dictionary. The key would be your category, and the values would be a python list of your feature classes to merge. Use a for loop to iterate through your geodatabases, and another to iterate through your feature classes. Check each feature class to determine if it contains points. If not, perform a Feature To Point conversion. ...


1

You want to be using the Parse Path tool which is a model only tool like the iterator. You pass in the raster and can extract out the path to it, which would give you the location you want write back into. See example as shown below. You would make the output of Parse Path a precondition to your Pit Removal tool to ensure that it runs before the rest of ...


0

I am not sure if it matters to keep the current file structure the way it sits. However, if you do not need to maintain file schema integrity you could get away with creating a stand-alone variable and setting it to your workspace (e.g. C:\0207000_test). - Rename the "Any Value" to "%Data Workspace%" Then use the Create Folder function and set the ...


1

Thank you whuber, that helped. I made an ascii file to define the weights and then ran an weighted focal mean. Because it didn't work out in ArcGIS (there seemed to be something wrong with my txt file) I ran the whole process in QGIS (where the same txt file worked fine). I thus used the r.neighbours command, which is the QGIS equivalent of the focal mean ...


0

This is a single, simple operation, requiring no iteration or complicated model. You are asking for the values of a weighted focal mean of the raster layer. To carry it out, you first define a weighted neighborhood in which you place the distance-based weights (whatever they might be). Using this neighborhood, you request a Focal Mean. When that operation ...


0

So let me understand... Under any scenario, you run through the entire chain for each village individually? You say it mostly works but has strange values sometimes? That you get 'different' results when run manually.. Hard to say.... I would run through 2-3 iterations and save all intermediary outputs and check that each stage is doing exactly what you ...


1

Below is the model that will connect to an Access 2010 database table and create a point layer from the data. You need to create a Table View and feed that into the Make XY Event Layer tool. This is an in memory layer which can be used in processing but if you want to create a permanent version you need to save it, copy features will do this. When you ...


0

As suggested by @FelixIP you can pre-format your CSV to: Replace ND with 0.0. Replace NA with ridiculous -9999. Make sure 1st row in Excel contains numeric (if there is a number) with desirable decimal accuracy. then: When it comes to interpolation, select rows where CONCENTRATION <>-9999.


1

I was able to do this by buffering the parcel data 50 feet and using the dissolve function within the tool to only dissolve the buffers with the same land owner. I then ran a multipart to singlepart. Then, calculated a unique ID for each polygon (DissolveID). I then ran a spatial join, one to many, of the parcels within the buffer area to calculate over ...



Top 50 recent answers are included