Questions tagged [default-value]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Automate subtype and domain creation in ArcGIS

I am creating a point feature class in a file geodatabase to use a template so users can create standardized data. I have successfully created subtypes and domains for the database with a Python ...
0
votes
0answers
16 views

Changing default value feature layer created using ArcGIS Solutions Deployment

Is it possible to update a default value on a feature layer that was created using ArcGIS Solutions Deployment? I am creating a citizen problem reporter application (hosted in AGOL) and would like to ...
0
votes
0answers
24 views

Default values from different layer in QGIS 3 - kind of spatial join

Is there a way to set the default value in QGIS 3 Properties - Attribute Forms based on the values of a different layer. E.g. I set a point and the fields for e.g. country and height are filled out ...
8
votes
1answer
150 views

QGIS 3 : how to set the QGIS 3 to “show the feature count” all time when a layer is loaded?

I know that i can right click the layer and check the "show feature" option but is it possible to show enable this function by default when any layer is loaded ? I know that we can set the project. I ...
1
vote
1answer
67 views

Default expression won't write to database

Made this expression and put it in the defaults value box.: CASE ---cardinal WHEN ("CATCAM" = '1')THEN'2,6' WHEN ("CATCAM" = '2')THEN'2,6,2' WHEN ("CATCAM" = '3')THEN'6,2' WHEN ("CATCAM" = '4')THEN'...
2
votes
0answers
60 views

Weather data as attribute value in QGIS

I'd like to define the default value for a field in QGIS using OpenWeather API request. We use QField for outdoor data collecting, and some of the actual weather conditions are important for us. I've ...
1
vote
1answer
55 views

How to get features of another point layer when geomequals ? (Using Default Values in Attributes Form Qgis 3.2.1) [closed]

I have 2 different point layers with attributes fields as shown in the picture below. They both have a different amount of features. Now i want that all features of layer B gets filled with some ...
1
vote
0answers
108 views

How to set a default attribute value based on the feature being created

This question expands on, and updates for QGIS 3, the answers found here. I have a layer with attributes called "Name" and "Label". I would like to set to default value of "Label" to be the same as ...
1
vote
1answer
56 views

Use previous entry as default in attribute table

I have a vector layer that I add observations to by identifying features in georeferenced rasters (images). One of the attributes I want to assign to the feature is the image name (which I currently ...
3
votes
0answers
203 views

Change default label font for styling

Where can I change the default labeling font "MS Shell Dlg 2" to a different one? I don't want to change the default layout font (Options --> Generel Settings) Maybe there is a solution to use the ...
1
vote
1answer
28 views

ArcPad Studio default values only show up in ArcPad when I make new points

I am using ArcPad to do a habitat inventory (default value= "N/A") and invasive species survey (default value= "Absent") on a grid of preset points (the points are a shapefile). The default values ...
-1
votes
1answer
1k views

Subtypes and default values in ArcGIS Online

I am trying to create subtypes with default values for ArcGIS Online. So far, I've not gotten success when published to ArcGIS Online. Is it true to assume that ArcGIS Online doesn't support subtypes ...
8
votes
3answers
3k views

How to set a default value for attributes in shapefiles?

In QGIS 2.14.6 I would like to define a default value for an attribute in a shapefile (or spatialite layer as well) which is applied if the user doesn't explicitely sets the value. Is there a way to ...
0
votes
0answers
696 views

Maintaining default value for fields in ArcGIS online map / feature service

I have an enterprise geodatabase within which there are several feature classes that contain subtypes and domains. A web map has been created from this geodatabase on ArcGIS Online and it is used for ...
2
votes
1answer
358 views

QGIS geoprocessing scripts, default values for field names

In QGIS geoprocessing scripts, default values must be provided for input numbers and strings, according to http://docs.qgis.org/2.8/en/docs/user_manual/processing/console.html#creating-scripts-and-...
3
votes
2answers
953 views

How to create a QgsFeature with default attributes?

I have a polygon layer loaded from POSTGIS database. This layer has a default value for the first column. I can create a new feature set that attribute to some predefined value with newFeature = ...
12
votes
2answers
2k views

Setting a default value in a QGIS field

I would like to add in a layer's field a default value. I mean, every time a new feature is created, that field would be automatically filled with the default value. In my case the default value ...
2
votes
1answer
344 views

Insert (or Update) Cursor setting value to None not honored when field has a default value

To set a field to null, the InsertCursor or UpdateCursor is setting the value to None. Here is a sample for the UpdateCursor: with arcpy.da.UpdateCursor(test_fc, ['SERVICEINDICATOR'], """"OBJECTID" =...
1
vote
1answer
288 views

NDVI error in ERDAS

I have created a NDVI image from Landsat 7 data using ERDAS (veg_NDVI.gmd). This model was already in ERDAS 9.3. After creation the final output visually highlighting vegetative areas but the value ...
2
votes
2answers
562 views

Assigning Default Value Using ModelBuilder?

Task: add several new fields to a feature class table and assign a default value to one of the fields. Software/Environment: Using ArcMap 10.2 (Advanced License) and Python 2.7. Data is stored in ...
2
votes
1answer
2k views

Assignment of defaults to field not working

I am using ArcGIS 10.2.2 for Desktop. I have assigned default values to some fields in a feature class, which is sitting in a file geodatabase. I used the "Assign Default To Field Tool", which ...
3
votes
2answers
608 views

Remove all default values on multiple feature classes

I would like to remove default values from all fields used by all feature classes in an SDE geodatabase. I do not see a geoprocess for removing the default value, only setting it. So I am trying to ...