BLOG
|
I am also experiencing the same behavior. Is there a configuration where we can show only our data? Thank you.
... View more
08-30-2016
11:09 AM
|
0
|
0
|
4673
|
IDEA
|
Include an option in the WebApp builder basemap gallery for users to change the transparency of the basemap. This would be useful when organizations use their own imagery and add it to the basemap gallery.
... View more
07-21-2016
03:48 PM
|
12
|
1
|
1419
|
BLOG
|
Are there any plans to allow users to add their own icons for the data category?
... View more
07-20-2016
02:39 PM
|
0
|
0
|
4696
|
BLOG
|
I got it working properly now. Thanks for the follow up.
... View more
07-20-2016
02:28 PM
|
0
|
0
|
4699
|
BLOG
|
Designing the site is a lot easier now. The previous version of open data used tags to link datasets from the main categories page. I am having issues getting this to work in the beta version. I added a category link, and selected the "Use Tag Query". However when i enter my tags and click on the category link icon, i get "No datesets found". On the same page i have the option to Browse All Datasets and they all come up and list my Tag Query. When I use the search bar by tag query they also come up. How do i fix this?
... View more
07-07-2016
08:25 AM
|
0
|
0
|
4700
|
POST
|
Hello, I have what I think is a similar question or perhaps I can get pointed in the right direction. In model builder or python script that I can then import into model builder, I want to be able to have the user specify slope percentage breaking points. Would it be possible to do with this tool? In model builder I can calculate the percent rise but instead of using a predefined remap table I would like the user to specify the breaking points. Or maybe I could created a field with pre existing breaking points and have the user select from those options and then convert to vector? Could I save my classifications as a layer file and have the user pick from a layer file so the slopes will reclassify and then export? Basically I as thinking of having maybe three option for slope breaking points. (0-10, 10-20 >20; 0-15, 15-30, >30; 0-20, 20-40, >40) Could this be configured. I am using ArcGIS 10.0
... View more
06-20-2013
09:45 PM
|
0
|
0
|
461
|
POST
|
[ATTACH=CONFIG]23365[/ATTACH] Hello All, I understand the limitations of ModelBuilder and adding to the Display when running outside the modelbuilder interface. In ArcGIS 10.0 my model uses in memory for everything except the elevation clip, percent rise, and slope. I am using inline-variables so the user only has to specify one output location for these three outputs. Is there a way to add to display using the inline variable one parameter method? Or is the only option removing the output workspace and making each a parameter? I understand the derived option and using python, I am actually using this in a separate model where I have to hard code values but wanted to use out of the box options. On a related note. Is there a way to change the output data type within the model? As of now my outputs default to raster datasets or a combination of other things, is there a way to change this? When I open the output properties the option is grayed out. Thank you for any help.
... View more
04-09-2013
11:21 PM
|
0
|
0
|
442
|
POST
|
I was able to figure it out. Thank you for taking the time to read. The problem was my update cursor: geology = arcpy.UpdateCursor(Input_Geology_Feature_Class,["PTYPE", "Geology_Class"]) for updateRow in geology: if updateRow.PTYPE in dictionary: updateRow.Geology_Class = dictionary[updateRow.PTYPE] geology.updateRow(row) del updateRow, geology
... View more
03-21-2013
10:29 PM
|
0
|
0
|
203
|
POST
|
I was able to figure it out. Thank you for taking the time to read. The problem was my update cursor: geology = arcpy.UpdateCursor(Input_Geology_Feature_Class,["PTYPE", "Geology_Class"]) for updateRow in geology: if updateRow.PTYPE in dictionary: updateRow.Geology_Class = dictionary[updateRow.PTYPE] geology.updateRow(row) del updateRow, geology
... View more
03-21-2013
10:28 PM
|
0
|
0
|
77
|
POST
|
Hello, I am a python novice and am having similar trouble with data dictionaries and cursors. I have a feature class that I added a new field to (Geology_Class). I want to update the new field with the items from my dictionary. The keys in the dictionary are PTYPE and I want the new field to contain the values. I created a search cursor so that it would loop through the existing PTYPE field (there are about 60 I just provided a snippet) in my feature class. I then added the update cursor so that it would search the PTYPE and add it to the new Geology_Class field. When I run the script I get an error "Traceback (most recent call last): "File "C:\Users\Users\Desktop\GeoDis.py", line 42, in <module> row[2] = dictionary(row[1]) TypeError: 'dict' object is not callable." or I get "does not support indexing". Upon reading other forums is looks like I am trying to call a function when in reality it's not? I want to try and avoid pointing to a separate table. Any help you can offer is greatly appreciated. Thank you. Using ArcGIS 10.0 # Import arcpy module
import arcpy
from arcpy import env
arcpy.env.overwriteOutput = True
dictionary = {'C':'INSERT1','Ca':'Coarse-Competent','D':'INSERT2' ,'E':'Fine-Competent','Ec':'Coarse-Competent',
'E-Ep':'INSERT3','Ep':'Coarse-Competent','gb':'Crystalline','gr':'INSERT4','grCz':'INSERT5','grCz?':'INSERT6','gr-m':'Crystalline','grMz':'Crystalline', 'grMz?':'Crystalline'}
Input_Geology_Feature_Class = arcpy.GetParameterAsText(0)
searchCursor = arcpy.SearchCursor(Input_Geology_Feature_Class,"","","PTYPE","")
arcpy.AddMessage("Adding Geology Class Field...")
arcpy.AddField_management(Input_Geology_Feature_Class, "Geology_Class","TEXT")
arcpy.AddMessage("Populating Geology Class Field, Please Wait...")
geology = arcpy.UpdateCursor(Input_Geology_Feature_Class,["PTYPE", "Geology_Class"])
for row in geology:
row[0] = dictionary(row[1])
geology.updateRow([row])
del row, geology
... View more
03-21-2013
07:42 PM
|
0
|
0
|
592
|
POST
|
Hello, I am a python novice and am having some trouble with what I assume is an easy fix. I have a feature class that I added a new field to (Geology_Class). I want to update the new field with the items from my dictionary. The keys in the dictionary are PTYPE and I want the new field to contain the values. I created a search cursor so that it would loop through the existing PTYPE field (there are about 60) in my feature class. I then added the update cursor so that it would search the PTYPE and add it to the new Geology_Class field. When I run the script I get an error "Traceback (most recent call last): "File "C:\Users\Users\Desktop\GeoDis.py", line 42, in <module> row[2] = dictionary(row[1]) TypeError: 'dict' object is not callable." Upon reading other forums is looks like I am trying to call a function when in reality it's not? Or maybe use the .updateRow? I know there are other methods in doing something so simple but using python was requested. Any help you can offer is greatly appreciated. Thank you. Using ArcGIS 10.0 # Import arcpy module
import arcpy
from arcpy import env
arcpy.env.overwriteOutput = True
dictionary = {'C':'INSERT1','Ca':'Coarse-Competent','D':'INSERT2' ,'E':'Fine-Competent','Ec':'Coarse-Competent','E-Ep':'INSERT3',
'Ep':'Coarse-Competent','gb':'Crystalline','gr':'INSERT4','grCz':'INSERT5','grCz?':'INSERT6','gr-m':'Crystalline','grMz':'Crystalline', 'grMz?':'Crystalline',
'grpC':'INSERT7','grpC?':'INSERT8', 'grPz':'INSERT9','J':'INSERT10','J?':'INSERT11','K':'Fine-Competent','K?':'Fine-Competent','KJf':'INSERT12',
'KJfm':'INSERT13','KJfs':'INSERT14','Kl':'INSERT15','Kl?':'INSERT16','Ku':'Coarse-Weak','Ku-Ep':'INSERT17',
'ls':'INSERT18','M':'Coarse-Competent','M?':'Coarse_Competent','m':'Fine-Competent','M+KJfs':'INSERT19','Mc':'Coarse-Competent',
'Mexico':'Mexico','mv':'Fine-Competent'}
Input_Geology_Feature_Class = arcpy.GetParameterAsText(0)
attributes = arcpy.SearchCursor(Input_Geology_Feature_Class,"","","PTYPE","")
arcpy.AddMessage("Adding Geology Class Field...")
arcpy.AddField_management(Input_Geology_Feature_Class, "Geology_Class","TEXT")
arcpy.AddMessage("Populating Geology Class Field, Please Wait...")
geology = arcpy.da.UpdateCursor(Input_Geology_Feature_Class,["PTYPE","Geology_Class"])
for row in geology:
row[2] = dictionary(row[1])
geology.updateRow(row)
del row, geology
... View more
03-21-2013
02:59 PM
|
0
|
0
|
203
|
POST
|
Thank you. After speaking to several other people they also suggested using the parse tool. Thanks so much for the reply!
... View more
02-26-2013
07:41 PM
|
0
|
0
|
233
|
POST
|
Hello All, I know this is an old thread but I am facing a similar issue. I am using ArcGIS 10.1 and am trying to export clipped datasets to a new file geodatabase. I tried using both the iterator method, the list of values, and the batch parse path method. I want to keep the same file name but change the output location. When I specify the new output location I use %Name% so that the original names will transfer over to the new output file geodatabase. When I do so I get the following error for both methods: Start Time: Thu Feb 14 21:16:23 2013 ERROR 000210: Cannot create output C:\Users\Desktop\SanDiegoData\Output.gdb\%Name% ERROR 000354: The name contains invalid characters ERROR 000354: The name contains invalid characters ERROR 000354: The name contains invalid characters The table was not found. [%Name%] Failed to execute (Clip) When I try the same process without changing the geodatabase output location and name (the output automatically add the _clip) it works fine. Any suggestions? Am I using the wrong Wildcard/In-line Variable? As mentioned by someone else. It is essential that I keep the names the same and I would prefer to use the list of values method so that I can bring files in from different locations. Thank you in advance for any help you can offer.
... View more
02-14-2013
07:28 PM
|
0
|
0
|
233
|
Title | Kudos | Posted |
---|---|---|
12 | 07-21-2016 03:48 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|