Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [alias]

in this context an alias is an alternative name for a field, or column, in an attribute table

2
votes
1answer
51 views

Adding field aliases from CSV in QGIS

I have a geodatabase with all of my data, but I would like to add more friendly aliases from a separate key I have stored in a CSV. How do I go about adding these aliases to my field names in my ...
0
votes
1answer
40 views

Using alias in ArcPy?

I am doing this: Access a few columns from a file geodatabase. arcpy.env.workspace = path datasetList = arcpy.ListTables("tableA") # Here putting the name of the table for dataset in datasetList: ...
0
votes
2answers
68 views

Preserving Field Name & Alias in Select() function

I am unable to get an output using arcpy.analysis.Select() where the field aliases and names are preserved. from arcpy.analysis import * Select("Input.shp", "Output.shp", "FLOOR= 0") The codeblock ...
3
votes
2answers
774 views

Altering aliases of ObjectID, Shape, Shape_Length, Shape_Area with ArcPy?

How can I alter the aliases of the required fields (ObjectID, Shape, Shape_Length, Shape_Area) in a GDB with Python? For example I have this code: rf = ur'D:\Δοκιμές\Tester' gdb = rf+'\\Ant.gdb' p ...
3
votes
1answer
600 views

Updating field aliases for ArcGIS map document layer using ArcPy?

I am on ArcGIS 10.4.1. I have an .mxd file with a bunch of layers. The underlying database table has got new aliases for certain fields and I would like to get this reflected in the fields aliases ...
3
votes
1answer
156 views

setAlias(“test”) not working

In QGIS 2.18.3, I want to set the alias for the fields. layer.dataProvider().fields().field(0).setAlias("test") That line returns no error but nothing is done. I tried layer.updateFields(), but no ...
2
votes
1answer
4k views

How to address the alias of a sub-query in the where-clause in PostgreSQL/PostGIS?

I have a problem with a Postgres query and can't find a solution in stackexchange or any SQL Documentation. I have two tables in PostGIS, one for streets and one for house-numbers. I now want to find ...
1
vote
1answer
754 views

How to save aliases and metadata in shapefile in QGIS

Is there a way to save the aliases in a QGIS shapefile? When I save the shapefile in a different name or open it in a different QGIS project the entered aliases have disappeared. The same happens ...
1
vote
2answers
613 views

Save a selection in QGIS and keep the alias of field names?

I am trying to save selected features into a new shapefile using QGIS 10.2. The new file does not contain the aliases for the field names. Is there a way to maintain the aliases in new files?
0
votes
1answer
161 views

Publish a Locator Service with a place-name alias table

I am trying to publish a locator service with support for a place-name alias table, in ArcGIS for Server 10.3. It should function similar to the Esri World Geocode Server which allows users to search ...
2
votes
1answer
259 views

How do I batch input alias names from a table for a large dataset in ArcMap or ArcCatalog?

I would like to populate the alias names for the fields in the ACS 2014 5 year estimates file geodatabase (all 11439 of them). The ACS fgdb comes with the short_name and long_name in the metadata ...
0
votes
1answer
423 views

vb.net arcobjects - show fieldname

I try to show the field names (alias names) of a feature class. I found code snippet but I don't succeed to get it to run :( Can somebody tell me please what is wrong in the code? (System: Arcgis 10.2,...
1
vote
0answers
29 views

Bringing Alias properties with Feature Class to Feature Class Tool? [closed]

I am using arcpy.FeatureClassToFeatureClass_conversion(fc, outWorkspace, fc) to move many FC's to a new location. I have found that it is only bringing the FC Name property and imposing that on the ...
1
vote
1answer
946 views

Alias's in the Attribute Table's Column Preview/Column Filters

We've spent some time setting up alias's in Layers/Properties.../Fields (Fig. 1) for database fields displayed as the column headers in the Attribute Table (Fig. 2). Switching the layout in the ...
5
votes
1answer
5k views

Listing field name aliases in one shapefile/layer using ArcPy?

I want to use arcpy/python to print out a list of all the field name aliases for a specified shapefile. So far I have been able to hack a script I found to list all the field name aliases associated ...
4
votes
1answer
2k views

Getting the Field Alias from a layer, from within a Map document

I've got a very simple script, that loops through all the layers in a mxd and loops through the fields, and prints out the Alias Name for the field, but I am having some problems, it seems to be ...
1
vote
1answer
853 views

Creating bulk field aliases for several layers within same ArcSDE feature class using ArcPy? [duplicate]

I have an ArcMap with ~200 layers from the same sde feature class. After I finished adding all the layers it was brought to my attention that we need to add field alaises for the attribute table. ...
3
votes
2answers
2k views

ArcObjects: Getting the properties of a layer that has lost its data source (VB.NET)

When you save an ArcGIS map document (MXD) and then change the data source of a layer in the MXD, you can no longer see the layer in the MXD and you must redefine its data source. But suppose you ...
5
votes
2answers
2k views

Programmatically alter AliasName for fields defined in layer file (not underlying source)

Is there a way to alter the AliasName on a layer file only, and not the underlying shapefile or feature class? I have a few hundred layers that define joins between hundreds of tables with census data ...
16
votes
7answers
8k views

Bulk field renaming in file geodatabase? [duplicate]

I have a file geodatabase with several hundred feature classes in it. Some feature classes have a field that got named incorrectly, and it got named "SCHEMA_FEATURECLASS_ENTITY" instead of just ...
14
votes
5answers
17k views

Changing feature class and field aliases in bulk using ArcPy?

I have over a hundred FCs, each with 10 or 20 attributes to add or change the aliases for, two or more times a year. Needless to say, this is not something I'm going to grunt my way through. How can I ...