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
2answers
18k 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 ...
23
votes
3answers
9k 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 ...
12
votes
6answers
5k 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
874 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 ...
8
votes
4answers
20k 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 ...
7
votes
3answers
292 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
15k 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
954 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
199 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
94 views

creating clusters of points with same attributes

I have a file of some 4000 points, which belong to around 400 different categories (species of rare plants). I would like to remove duplicates within the categories (which could be repeated ...
7
votes
2answers
859 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
757 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
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 ...
6
votes
1answer
492 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 ...
6
votes
2answers
659 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
178 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
353 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
4k 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
1k 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
7k 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 ...
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
913 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
2answers
76 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
3answers
91 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
270 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
369 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
1k 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 ...
5
votes
1answer
79 views

How to delete fields from a Geopackage attribute table?

Using QGIS 2.14.0 on a Microsoft Surface Book with Windows 10, I created a geopackage from a layer using Save As... I can successfully add a field to the geopackage's attribute table, calculate ...
4
votes
5answers
1k 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
406 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
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
223 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
1answer
2k views

How to summarize a column in QGIS field calculator

I have data with a column containing a number value, and I want to divide the value of each feature by the total sum of all the values in the column (to get a percentage). So I would like to know if ...
4
votes
2answers
681 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
99 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
35 views

How to set hidden attribute in QGIS Lyon?

I want to set my attribute as hidden in QGIS. I have tried Layer Properties -> Fields -> text edit -> Select Hidden. It is just information. In hidden attribute will be invisible - the user is ...
4
votes
1answer
74 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
135 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
4k 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
40 views

Problem with Attribute Assistant Expression Command

I am using the Attribute Assistant add-in to perform multiple steps when a new feature is created. Two of the important steps are: generate a unique, incremental ID (project ID) and then use that ...
4
votes
2answers
166 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
69 views

How to group by attributes and give unique categories in QGIS?

I have features and each of them has an attribute about what it is. In my case, I have points representing trees and each tree has its species name as an attribute. I would like to group them by ...
4
votes
2answers
76 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
140 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
1answer
77 views

How to assign polygon attributes to grid cells using centroids in QGIS?

I am relatively new using QGIS. Unfortunately I can´t figure out the following yet. I have two polygon shapefiles, one is a grid I have created using QGIS 2.12.3-Lyon (Creat graticule) and the ...