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

23
votes
3answers
8k 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 ...
19
votes
2answers
14k 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 ...
12
votes
6answers
4k 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 ...
9
votes
1answer
705 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) { ...
8
votes
1answer
3k 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
3answers
274 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
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
13k 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
801 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
171 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 ...
7
votes
2answers
815 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
4answers
350 views

Create interactive maps in R

I am a R user and quite new in GIS. From Adding Attribute data to shapefile? I know how to add/edit attribute data (say population) to shapefile using R. Now, I have some shapefiles with attribute ...
6
votes
4answers
16k 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 ...
6
votes
2answers
609 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 ...
6
votes
2answers
173 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
318 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
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 ...
6
votes
1answer
895 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
1k 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
1answer
1k 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
2answers
748 views

Capitalizing The First Letter Of Each Word In Attribute Field

Does anyone know of a way to capitalize the first letter of each word in a field in an attribute table? I am doing this in QGIS. I know of field calculations to change all the words to Lower or ...
5
votes
3answers
3k 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
1answer
401 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
5answers
1k 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
2answers
68 views

Is it possible to merge attributes from lines which are on top of each other?

I was able to merge the different kinds of roads (verharding lijn) with the normal roadmap (Wegen 1.0). The attributes were copied to all the records, but there are empty attributes where the kind of ...
5
votes
2answers
81 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
219 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
306 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
2answers
956 views

Importing attributes from Excel file into new Polygons [closed]

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
902 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
355 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
6k 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 ...
4
votes
1answer
2k 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
1answer
209 views

Finding overlapping attributes in two different layers using QGIS?

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 ...
4
votes
2answers
485 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
96 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
117 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
1answer
51 views

Combining 2 different symbologies in QGIS

I've got a layer (road axis) with 2 different attributes : one with the amount of trafic, another with the number of people living next to this road. As symbology for the trafic amount, I like use ...
4
votes
1answer
88 views

Updating feature attribute in QGIS plugin?

I am writing a plugin for QGIS (v2.12). There have been quite a few similar questions on this forum, but they don't seem to work for me. my plugin does the following: get the vector layer check ...
4
votes
2answers
104 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
2answers
75 views

column data to shapefiles

I'm using QGIS 2.8 and am trying to take a shape file that has multiple column data and display that as individual shapes. For example...I have a soil test data table that includes pH, P, K, Fe, Zn ...
4
votes
1answer
131 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 ...
4
votes
2answers
64 views

How to remove unwanted columns from a polygon in R AND keep the result as a spatial data frame?

To simplify my problem, I'm gonna start at the source instead of explaining my full-map problem. I have a shapefile of Ethiopia pulled from GADM (can be downloaded here). A lot of the attribute ...
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
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
446 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
195 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 ...