Tag Info

Hot answers tagged

12

You can customize the attribute editing to various data types (predefined lists, a range of values or a date). Select a layer. Right-click > Properties. In the Properties window, click the Field tab. Select any field you want your pre-defined classes. The Value Map option will ask for your pre-defined classification values. When you start adding ...


7

http://arcscripts.esri.com/details.asp?dbid=14729 This is an ArcCatalog Extension that allows you to copy domains between geodatabases. I believe it is only up to date for 9.3.1 SP1, so it may not work with ArcGIS 10.


6

I think the easiest way to do this would simply be to use the Table to Domain GeoProcessing tool, which you could run directly within the software or call via arcpy. You can get details about the tool at http://resources.arcgis.com/en/help/main/10.1/index.html#//001700000025000000 but basically it assumes you have a table that in your case would have a ...


6

I think what you are actually trying/wanting to do is create subtypes as shown in the graphic here. You can then apply domains by subtype. In your example type would be a domain of plastic and metal, which in turn would be subtypes, and then metal would have a domain of yes/no for rusted, but plastic would have a domain of N/A or whatever other option. ...


5

For coded value domains, I'll do a Domain To Table from the source geodatabase and then do a Table To Domain into the new geodatabase. I don't know of a way to this for the range domains. You can do a Domain To Table, but the Table To Domain always comes in as a coded value domain.


5

Maybe a few pictures would help. A subtype field can be set to categorize the main types (rock, soil, debris); This would correlate to Field_1. Notice the desc field domain is set to rock. Each subtype can set a domain for the desc field. The soil subtype has the soil subtype for the desc field. You will need to make domains for acceptable values for ...


5

You cannot use a domain to do this and as far as I know you cannot do this, since it violates the tableview design. You want to violate a coded value domain, which will generate a validation violation when you run Validation for the field. A coded value domain can only be violated with runtime user defined values if the user uses the Field Calculator to ...


4

My guess is the gdb the featureclass lives in does not have any domains defined. Without any domains in the GDB, the feature class fields doesnt have any to display. Try creating some in the GDB: http://resources.arcgis.com/en/help/main/10.1/index.html#/Creating_a_new_coded_value_domain/001s00000004000000/


4

arcpy.Exists doesn't handle domains. The ESRI help indicates what it does handle. So you'll need to get a list of existing domains, and then check your potential new name against the list. What version of ArcGIS are you using? 10.1 introduces a new ListDomains function. If you're on ArcGIS 10.0, then you don't have this ListDomains. In that case I think ...


4

There is a number of toolboxes that let you work with the geodatabases (analyze feature classes, compare workspaces, etc). The toolboxes can be downloaded from here. You can reuse some of those tools in your work. The easiest way to list the fields and see what domains are used (you need to delete domains from fields first before you will be able to delete ...


4

I would suggest using QGIS for Android (or if you have a Windows tablet you have use the default desktop app). You can load any type of raster or vector data as a basemap It can work offline with GPS It has a point capture tool within the GPS Info. panel This last criteria most likely you will have to develop since this type of control is specialized. ...


4

There is some good documentation on the ESRI Website for setting up Domains. Here and here. See the links on the left of the page for even more detailed information Is there something more specific that you need help with that isn't in the ESRI help?


3

Since you are looking at a list of domains, it follows that if there are no domains, the list will be empty when populated. Therefore, choosing the next item in the list will return none. This provides an easy method to test for an empty list. import arcpy workspace = env.workspace = r"Z:\Test.gdb" desc = arcpy.Describe(workspace) domains = desc.domains ...


3

The domains workspace property returns a Python list. If there are no domains in the workspace, then the list is empty: >>> desc3 = arcpy.Describe(r'D:\Temp\NcLidar.gdb') >>> domains3 = desc3.domains >>> domains3 [] If you have one domain, you get a list with a single element: >>> desc2 = ...


3

You can't make a range domain which only has discrete values - for that you need a coded value domain. See a quick tour of attribute domains. There are two types of attribute domains: Range domains—A range domain specifies a valid range of values for a numeric attribute. Coded domains— Coded value domains specify a valid set of values for an ...


2

You can try writing triggers for the database, checking for valid values (trigger restriction) and update the field accordingly. Check the following links: Parts of a Trigger Types of Triggers If possible, you can do the same validation at the form (GUI) level and provide the user with some drop-down option. You can also try putting these in a separate ...


2

I wrote a quick command line arcobjects exe based on some vba code that I found last week. It's not complicated code. Exe is here. AVI movie here. Fine print: The exe is compiled to 10.0 / ArcEditor license (the license is part is hard-coded for now).


2

This method is more hacky and only practical for 1 or a few domains. In the original geodatabase, create a dummy featureclass with a dummy field that matches the field data type of the domain that you wish to copy. Copy/Paste the dummy featureclass into the new geodatabase and don't delete it until you've assigned the domain to a field in another ...


2

I think I have used the export xml workspace document and chosen the schema only option. But it has been a few versions ago and I can't really remember how happy I was with that. It kinda seems like I got a myname and myname_1 version of some other gdb objects I didn't really want or need


2

When situation where integer or float coded domains have a big advantage is when your domain is also used as a calculation coefficients or constants. For example, if your coded domain was representing a network component, the float code could be the travel cost value of that component. This would eliminate an entire column from the table, and ensure that ...


2

Domains restrict the entry of incorrect data into the database by providing a selectable value as against against user entered value. Code is something which has more significance for ArcGIS, and the description part is for the humans using the system. Having said that, I don't see any disadvantage of changing the code to a more elaborate description. I ...


2

Have you tried running the Domain to Table tool? This will give you a listing of all domains and associated code values. And it is available at all license levels.


2

Are you asking about outside of an edit session? If you have access to the data in arcmap you have access to the data in arccatalog. In arcmap there is a small button at the top with a "yellow file cabinet" catalog. If you access the data in arcmap, ArcCatalog is how that connection is created. Does IT have that locked down? a. If you have the data in ...


2

The quote given can be found in the ArcGIS 10.1 Help and goes on to say ... "This only applies to enterprise geodatabases; in file or personal geodatabases any user can delete or modify a domain. The Domain Properties dialog box lists the owner of each domain when connected to enterprise geodatabases." In an Enterprise environment I suspect the DBA would ...


2

check out this app from giscloud http://www.giscloud.com/apps/mobile-data-collection it has offline data capture capability and you can have custom Forms and Dropdowns & Lists. it works on android and ios. i don't know about your demand about the conditional dropdowns.. but its worth a check


2

You don't have to worry since the changes you perform in the geodatabase domain will be reflected in all feature classes which has fields using this domain. For instance, you have a gdb domain called StatesNames. It is of coded values type and has a couple of code-value pairs: TX - Texxas CA - Callifornia NY - New YYork When users created features, they ...


1

Probably you have already found the answer to your question, have you? But if not I will recommend you to ask ESRI UK, for licence to ‘Forester’ an application developed for Forestry Commission (FC) in UK, I have been using it for surveying native woodlands in Scotland and it looks like Forester will cover all of your requirements. The only issue is that ...


1

If you use a database backend that supports domains, such as Postgresql, you can set a domain on a field. However, QGIS doesn't recognize domains yet so as you create or edit features you can try to put anything into that field, there is no dropbox like in ESRI's products. If the values violate the constraint of the domain you'll get an error when you try ...


1

For Oracle/SQL Server, you can run select statement(s): ArcGIS 10.0 ArcGIS 10.1


1

I would tackle your problem using four SQL Server tables: table 1: Order Lookup (orderid int, OrderName varchar (100)) table 2: Genus Lookup (genusid int, orderid int, GenusName varchar (100)) table 3: Species Lookup (speciesid int, genusid int, SpeciesName varchar (100)) table 4: SurveySpecies (surveyid int, orderid int, genusid int, speciesid int) ...



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