A characteristic of an object (person, thing, etc.). In the GIS field, it is used to refer to the non-spatial data associated with a location or geometry

learn more… | top users | synonyms

21
votes
3answers
6k views

How to easily edit attribute data using Regular Expressions?

I am writing a tutorial for MSc students that uses QGIS. One of the tasks requires the attribute data to be modified (see pdf draft of tutorial here if interested ). The question is how to get them ...
16
votes
2answers
10k views

How to rename attributes/fields in a shapefile attribute table?

I would like to rename some fields in my attribute table: Like rename XRF_N3in something else. It seems quite a easy issue but I don't find any information about how can I do that... I've QGIS 1.8 ...
11
votes
5answers
3k views

How to identify duplicate attributes in a field?

I have a point shapefile with thousand of points. It has an ID code field that supposed to be unique. Every now and then the data entry clerk wrongly type the id creating duplicates.Right now I'm ...
10
votes
2answers
1k views

How to compute a new attribute based on changes in another attribute?

I am attempting to classify a set of gps time-encoded point data into behaviors based on different attributes. I have created an attribute that is 0 for home and 1 for away based on location, and now ...
8
votes
1answer
452 views

How to add an attribution on a GeoJSON Layer from Leaflet?

I need to use a GeoJSON Layer on my Leaflet map. Here is a sample of my code: function onEachFeature(feature, layer) { if (feature.properties && feature.properties.popupContent) { ...
7
votes
3answers
263 views

Zoom from one feature to another in edit mode?

I have to manually edit a shapefile of a couple of hundred points. I would like a quick way to jump from one point to the next in both the attribute sense and the visual/spatial sense i.e I would ...
7
votes
1answer
2k views

Can I change properties of several layers simultaneously?

I'm working on bulk data. I have a few hundred GeoTIFF images imported into a QGIS project, and I'd like to modify their layer properties - things like the no-data-value, transparency of certain pixel ...
7
votes
4answers
2k views

Calculate polygon field based on neigboring polygon attribute

I have a vector shape with many different sized polygons each possessing an own class name (for instance "houses", "houses with offices", etc ...) I want to assign a new field to each polygon ...
7
votes
2answers
10k views

How do I change the data type in attribute table in QGIS

I have county data in which the FIPs (actually State FIPS and County FIPS combined). I have data imported as CSV with the sames FIPS data titled STCounty. However, the shapefile FIPS is listed as a ...
7
votes
4answers
566 views

Open source web map client with time sliders using WMS source

I have a web map service (WMS on geoserver). It has a current visualization which is decent. The data is divided into months currently using tabs. I would like to visualize the data using an open ...
7
votes
2answers
760 views

OpenLayers how to maintain layer ordering while using SelectFeature control

I'd like my map to display a few layers in a particular order. Some of these layers are Vectors, others are XYZs, and some of my Vector layers display attribution. Initial layer ordering works fine ...
6
votes
2answers
162 views

What event is fired when a feature is edited?

When the user draws a new feature (line, point, etc.) in ArcMap, there are null attributes. If the user enters values in these null fields what is the event that is fired? I want to control the ...
6
votes
1answer
2k views

What is the best way to connect spatial data with attributes in Excel table?

I have many attributes which are stored in an Excel table. They refer to USA counties. I need to somehow connect those attributes to polygons in some format (don't know which is the best) and ...
6
votes
2answers
274 views

How to enumerate join values with ArcGIS?

I have two shape files (e.g. postal code areas and cities) which I want to join based on an id that both shape files have in common (the id would be the city name in this example). Joining the two ...
6
votes
2answers
136 views

Clean up attributes

I want to clean up the attribute table of a road shapefile for all the entries in the fields. For example: As seen below I have a road feature with a "Name", Name From and Name To in the attribute ...
6
votes
1answer
695 views

Add polygons to existing shapefile in QGIS

I'm completely new to GIS and this is a very basic question about editing existing shapefiles. I am working off an existing shapefile which was digitized (by a colleague) so that polygons represent ...
6
votes
2answers
821 views

FME - How to write all attributes when multiple source files have the same name?

I am using FME to write all the MapInfo TAB files in a directory and it's subdirectories to a File Geodatabase. I'm using dynamic readers and dynamic writers as I don't know the geometry or schema of ...
5
votes
3answers
2k views

FME: Join attributes in text file with attributes in SHAPE file

I have a SHAPE file with points and different attributes - one attribute MyID. I also have a plain text file with several attributes - each in a separated column: MyID MyValue 1 A 2 B 3 C ...
5
votes
3answers
11k views

How to Merge/Dissolve Polygons By Common Attribute Field in QGIS?

I have joined corresponding Local Enterprise Partnerships table data into a polygon shape file containing UK Local Authorities. How do I Dissolve or Merge the the Local Authorities polygons by ...
5
votes
1answer
879 views

How to programmatically associate a layer with a custom UI?

I know it is possible to associate a layer with a custom UI for editing feature attributes using the QGIS interface. But is this possible with Python? This link shows how to achieve the result ...
5
votes
5answers
668 views

How to create a label formatted like “ 1,000' ” from a numeric field?

This question builds on a previous question I came across at gis.stackexchange: How to easily edit attribute data using Regular Expressions? Perhaps someone can point me in the right direction? I ...
5
votes
1answer
252 views

How to remove Commas from field values in multiple files?

I'm working in QGIS, presenting data in ArcMap, and Arc is having trouble with the attribute tables. I have a "species" column which lists the species found in that area and have added commas "," in ...
5
votes
2answers
557 views

Clip polygons with other polygons based on matching attributes

I have two shapefiles, one which contains event locations and the the other of which represents regions where events take place. Events polygons with year and region_name attributes Regions ...
5
votes
2answers
75 views

Is it possible to have the attributes fields already filled from the previous object?

I need to create a lot of points with lots of attributes, but most of the fields are the same, so I don't want to edit all the fields all the time. Is there a "remember previous fields" function ...
5
votes
1answer
121 views

How to replace null field in generated ArcMap Report

I am creating a report from ArcMap and I would like for the null value fields to be replaced with either a blank or a 0 , but only in the generated report not in the actual attribute field. Is this ...
5
votes
1answer
214 views

How can I get the field index of the new layer in my script using Python?

I am trying to use layer.changeAttributeValue(fid, fieldIndex, value) to add values to a field in QGIS Basically, I'm creating a plugin which will, if a checkbox is ticked, create a new field, then ...
5
votes
1answer
3k views

Reassigning raster cell values from another attribute in raster attribute table?

I have a large (size of lower 48 U.S.) 100m resolution raster dataset that has a raster attribute table (RAT). The data were created by someone else. One of the attributes in the RAT has the data ...
5
votes
2answers
892 views

Importing attributes from Excel file into new Polygons

I have a constantly updated Excel file containing address information which I am currently copying into the attributes of new polygons which I am creating on a daily basis. I am currently doing this ...
4
votes
5answers
313 views

How to add a point to existing attribute record, rather than edit attributes of an existing point?

I'm using ArcGIS 10 to create point data. Normally I would start an edit session, select point as a construction tool, click where I want a point to be, and then go in and edit the attributes. Say I ...
4
votes
3answers
288 views

How to count the sides or edges of a polygon?

I wondered if it is possible to determine the number of sides / edges (not vertices) that a polygon has. Imagine the following case. There is a shapefile with 10 polygons. Is there any way to ...
4
votes
1answer
1k views

How to add CSV data with no coordinates to a polygon layer in QGIS?

I would like to add attributes from an spss database (around 300 cases) to a polygon layer in QGIS. Both datasets have a column with unique IDs. I exported the spss data to a CSV file which does not ...
4
votes
2answers
244 views

Adding Eastings and Northings as attributes automatically to a point layer in QGIS

I have a point layer that I am adding to and am working in British National Grid. Two of the columns are Easting and Northing. When I add a new point I want these two columns to be filled out ...
4
votes
1answer
93 views

Creating shapefiles using textfiles in QGIS

I have a shapefile in QGIS which has polygons in it . There are several other attributes for each feature . I want to add another attribute to each feature . The value for this attribute is available ...
4
votes
1answer
88 views

How to add an attribute with QGIS 2.8.1 Python console?

i would like to add an attribute with the python console: from PyQt4.QtCore import * from PyQt4.QtGui import * layer = iface.addVectorLayer("C:/donnees_SIG/05.shp","nou","ogr") layer = ...
4
votes
2answers
3k views

How to collect data via WFS and Popup

I have a map with a WFS-Layer and I am able to add Polygons to my data stored in a PostGIS-database, served with Geoserver (Openlayers, Geoserver 2.1.4, PostGIS 2.0 for PostgreSQL 9.1).) How can I ...
4
votes
2answers
51 views

QGIS create a line graph with attributes value on a section through the map

I wonder if I can make cross sections of GIS data (other than height). An example: I have a shapefile of a city with building plots and attribute values of the plot size. I want to choose a random ...
4
votes
1answer
117 views

Comparing floor and roof areas using QGIS?

I am pretty new in this GIS topic and I would really appreciate if someone can help me with this problem. I am doing a research for university that shall show the available roof area for ...
3
votes
2answers
2k views

Can I change the symbology of selected features only?

Is there a way in ArcGIS (9.2, ArcMap) to change the symbology of selected features, over multiple field values? My example is, I've run an attribute query on the 'landscape categories' field of my ...
3
votes
1answer
4k views

Why can't I edit attribute table imported through 'text as layer'

I imported the coordinates from an Excel table. They show as single points as intended. Now I want to add columns to the attribute table, but I'm not able to edit it. I wanted to import the following ...
3
votes
3answers
2k views

Spatial join including attributes - like SQL right join?

I've run in to a little problem. I have two sets of polygons with important attributes. I need to join over the attributes from the first set to the other, but I can't seem to figure out how. ...
3
votes
3answers
1k views

openlayers attribute substitution failing on kml file

I'm trying to read in mile markers for a marathon from a .kml file and use the MILE attribute to set the label. My layer code looks like this: // add layer mile_markers_layer = new ...
3
votes
3answers
280 views

Update point shapefile attributes from polygon shapefile using QGIS

I have two shapefiles: one point and one polygon. The point shapefile have five attributes that describe the points. The polygon shapefile have one attribute: name of the polygon. I am a beginner to ...
3
votes
1answer
166 views

QGIS - Is it possible to increase Output Field Name?

When creating a new Column, the default value for the length of the name is 10. Using the Field Calculator via the Model Builder, I want to include the names of regional areas into the columns which ...
3
votes
2answers
314 views

How to delete empty fields from a Shapefile with QGIS or ogr2ogr?

I have a Shapefile with a lot of empty columns but many of them are empty. Using QGIS or ogr2ogr, how do I remove all attribute columns where everything is NULL?
3
votes
1answer
297 views

Is it possible to use UTF-8 characters for shapefile attributes?

I heard that according to a specification shapefile attributes stored in dbf-files cannot have UTF-8 as encoding. And then I found out that an additional file with the ending CPG can be used to define ...
3
votes
1answer
436 views

How to view attribute table in layer within ArcGIS Server map service?

I'm new to ArcGIS Server and am trying to publish layers within an mxd to ArcGIS Server. When I bring the published map service back into Arc there is no Open Attribute Table option although I am able ...
3
votes
1answer
184 views

How do I find overlapping attributes in two different layers?

I have two layers - one with country borders, and one with river basin borders - and I need to find a way to generate a list of basins that occur in each country. Is there a way to find overlapping ...
3
votes
1answer
453 views

Sorting/unsorting fields displayed in Identify window of ArcMap?

I'm using ArcMap 10.1, and upon bringing in a feature class, the identify tool window shows the attributes in alphabetical order of the field headings. I didn't try to do this and haven't touched ...
3
votes
1answer
142 views

Updating fields of feature layer and reflecting changes in original data

I am trying to write a script that will select points from a feature class that are within a polygon and update the fields within the original point feature class. The problem I'm running into is ...
3
votes
3answers
1k views

FME - How to add an attribute when schema definition is dynamic?

I have an FME workspace which reads a folder of MapInfo TAB files and writes them to a File Geodatabase. The reader and writers are both using dynamic schema as I need to run this workbench on ...