Questions tagged [features]

Use this tag when asking questions about a representation of a real-world objects on a map.

Filter by
Sorted by
Tagged with
1
vote
1answer
42 views

Selecting values in attribute table which have alternate same values in two different columns

I am looking for ways to select features in attribute table which have same values but in different column. In the picture below as you can see "fid_2" has values which match "fid" ...
1
vote
1answer
43 views

Merging features returns error message using QGIS

This is a link to the data I'm using in QGIS. In this map, there is a layer comprised of municipalities, each of which is a feature of that layer. I've been selecting the municipalities I want from ...
7
votes
3answers
232 views

Determining number of vertices of selected object in QGIS 3

How can I determine how many vertices/nodes a selected feature has in QGIS 3?
1
vote
1answer
21 views

Merging zipcodes based on population to create larger areas in QGIS

In QGIS I have a shapefile with small geographic areas (zipcodes) with population in each zipcode area. Currently the population per zipcode vary very much, some as low as 1 person living in them. I ...
0
votes
0answers
17 views

NetTopologySuite and feature operations

I'm doing geo spatial work with NetTopoloySuite and C#. In Python (GeoPandas), you can do overlay operations on features (as opposed to on the raw geometries), so you can keep the metadata associated ...
6
votes
3answers
158 views

Hiding data attributes rows in the Identify Results panel

I have a GDB layer which I've imported into my QGIS 3.16 project. I am using the "Identify Features" tool to inspect paths, and I'm trying to use the "Identify Results" panel to ...
2
votes
1answer
68 views

Showing only filtered features using Rule-based symbology in QGIS

I have a layer called 'A' with a filed called "B", under this field, there are multiple values such as "C, D, E..." (one value for each row/feature in the attribute table). I have ...
2
votes
1answer
63 views

Size of the layout depending of the number of features

I have a point layer named 'observation', with different attributes and one called "Année". My project also have a variable called @Année. In the layout, I have a A0 page (1189x841), but I ...
6
votes
1answer
2k views

Creating Virtual layer in QGIS that shows only features in extent

I am trying to make a Virtual layer that is based on a map layer that only returns the features in the current map canvas extent. The purpose is to setup a Data Graph that shows statistical data of ...
3
votes
1answer
75 views

Automatically number only features visible in extent in QGIS

I would like to add a number label only to features visible in the Print layout extent. For example, I have a layer with building footprints, and I would like to itemize buildings with a simple ...
0
votes
0answers
31 views

Some features in QGIS layer will export to DXF but others (in same layer ) will be missing

Everything I've ever exported to dxf (Project-> Export...) has worked or if not it has been somehow explicable and fixable. I don't understand why, if I have nine features on a layer, all identical ...
12
votes
4answers
17k views

Getting all the points of polyline

I have some polyline feature objects in Python. Now I want to get all the points of polylines. For example, if a polyline has start point [0,0] end point [5,5]. Result: [1,1];[2,2];[3,3];[4,4];[5,5]. ...
21
votes
3answers
11k views

Finding angle between intersecting features in two feature classes using ArcGIS Desktop and Python [closed]

I have two intersecting line featureclasses. I want to find the angle at each point of intersection using ArcGIS 10 and Python. Can anyone help?
15
votes
3answers
19k views

Changing the value of attribute using QgsFeature in PyQGIS

I would like to update one attribute of a feature. However, I don't know to update it using the feature object. I have to use data provider to update it. layers = QgsMapLayerRegistry.instance()....
6
votes
6answers
4k views

Getting the bounding box for each feature in the source layer in QGIS

I have a polygon layer with multiple polygon features drawn on it. I need a tool that will draw a bounding box around each polygon feature individually. Right now everything I try in the tool box ...
5
votes
1answer
2k views

Rotate feature by angle (QGIS)

Trying to offset a line by 10 degrees, rotating around an endpoint. I've read up on the older plugins and the new Rotate Feature tool, but am having trouble. I am using QGIS 2.8.9 Wien, reinstalled ...
1
vote
1answer
60 views

Make IDs and classes from GeoJSON properties be seen as IDs and classes of HTML elements in Leaflet?

I've created a GeoJSON with 3 points. This GeoJSON has fields called id and class inside its properties like the following: { "type": "FeatureCollection", "features&...
2
votes
1answer
50 views

Get the properties of highlighted features when de-highlighting one of them in OpenLayers?

this.map.on('singleclick', event => { const feature = this.map.forEachFeatureAtPixel(event.pixel, (feature) => { console.log(feature); return feature }) if(feature ...
5
votes
1answer
276 views

ReduceRegions not writting to feature properties in GEE

I am trying to apply reduceRegions() to extract average precipitation from the TerraClimate dataset within each polygon of a feature collection. The problem is that the output of the reduction is not ...
1
vote
1answer
58 views

Features disappear from layer

I have a problem with my newly created layers. I have drawn a lot of features and most of them disappeared during the weekend while the pc was turned off. They are not visible in the drawing, in the ...
30
votes
2answers
15k views

Filtering features in other layers of QGIS Atlas

I'm trying to use the QGIS Atlas tools to build student 'scattermaps', i.e. display the school and the students that attend that school, for 215 schools. The schools layer is the coverage layer, and ...
0
votes
1answer
446 views

Select features from a raster based on their colour to create a new layer

I have a map of the UK imported as a raster. It was originally a JPEG and has areas that are coloured red and purple. I have a data set imported from a CSV file showing UK locations as dots. I want to ...
2
votes
2answers
27 views

Making multiple singlepart features from one multipart feature using ArcGIS Pro

I am working with ArcGIS Pro 2.8. I have a multipart feature class with polygon geometry, and when I select a row with OBJECTID = 28, I observed that it is targeting so many features in the map. Is ...
8
votes
3answers
406 views

Selecting multiple features by ID from list using PyQGIS

With PyQGIS I would like to use several "ID"s (in a list) to select certain objects in order to make them available later in a temporary layer. I know how to select one or a few more objects,...
1
vote
0answers
33 views

Why feature can't be edited in QGIS?

I am working with shapefiles in QGIS. At the moment I am editing a shapefile with line objects. When drawing a new line it appeared in a different manner then set in the layer properties. Now I can`t ...
0
votes
1answer
127 views

Color points based on values in OpenLayers 6

I'm trying to color points based on a value called 'ML_ABSOLUTE_VALUE', in a GeoJSON dataset but I can't get it to work. Here is what I have set up so far: Create the GeoJSON data source: const ...
1
vote
1answer
30 views

Iterating and updating through feature class fields based on DataFrame using ArcPy

I am updating mismatched data across two systems and have an Excel sheet that combines a consolidated data set. Unfortunately I do not have a reliable join field to relate this back to my GIS data. I ...
0
votes
1answer
36 views

Setting and modifying a change event on a feature in OpenLayers 6

I created an onChange feature event and each time I drag the feature over the map, it console.log its properties. var newFeature = new ol.Feature({ geometry: new ol.geom.Point(e_coordinate), ...
5
votes
1answer
670 views

QGIS "Align Edge" equivalent?

I'm trying to move from Arc to QGIS, and spend a lot of time making maps out of polygon features. One tool that I can't find is an equivalent to ArcGIS' topology tool "Align Edge" - is there such a ...
2
votes
1answer
134 views

Using filters to filter a variable value with GeoTools

I have a Java Swing application which loads a line shapefile and draws a map. I'm using a filter and a rule to filter out the lines in the shapefile where the attribute "traffic" is greater than 500. ...
1
vote
1answer
40 views

Merging polygons based on attribute values

I have a large feature dataset with thousands of entries. Each entry is represented by a polygon. The most have unique values in all fields but some of them have to be merged based on a identity ...
4
votes
2answers
648 views

Copying and pasting features using PyQGIS

I have created a table join between two shapefiles which I've named 'OSMM' and 'Mastermap'. I want to copy and paste all features (polygons) without a match from the target layer ('Mastermap') into ...
2
votes
6answers
105 views

Listing IDs of all selected features as default value

I would like to get a array with id's of all selected features of layer 'LayerB' (field-name: "id_of_layerB") as a default-value in a qgis-attribute-form of 'LayerA'. I tried something like: ...
0
votes
1answer
229 views

Exporting table of daily temperature (ERROR: Internal Error)

I am trying to download a table of daily temperature for the year of 2001 and all Brazilian municipalities in Google Earth Engine Code (GEE). After mapping a Reduce Regions function and flatten to ...
0
votes
0answers
38 views

QGIS-Python: Save selected features GPKG or GML

I made my first working script by selecting features on a layer with the Python console. Now i want to export the selected features to a GML or GPKG, but i cannot find any info on how to do so. I did ...
2
votes
1answer
1k views

I keep getting the "Paste Features Failed." dialog when trying to copy/paste point features in a layer in ArcGIS pro

I have a "plant_species" point feature class, and after a period of time working with the layer, the ability to copy/paste an individual plant_species feature from within the map frame no longer works....
8
votes
1answer
123 views

Calling Rotate Feature from Python code in QGIS

To rotate feature(s) in QGIS you need to be in editing mode, select one or more features then use "Rotate Feature" tool present inside Advanced Digitizing Toolbar: But how can we call this ...
0
votes
0answers
19 views

Adding natural breaks classification to feature table

Is there any chance to add the classification classes to the feature table? I want to divide my feature table (by a numerical field) into x-number of classes. Visually I can see this by classifying ...
1
vote
1answer
36 views

OS Features API: Filtering by Intersects with Polygon

I'm trying to use the OS Features API to retrieve Greenspace within a Polygon. The OS example here demonstrates how this is supposedly possible, but when I try the same I cannot retrieve features. I ...
4
votes
2answers
136 views

Loading set of SVG symbols in SVG marker option

I have a folder full of SVG symbols for my project. how can I add them to SVG path. Because now I can only call one symbol at a time. but I want to use those symbols as marker, categorized ways and ...
0
votes
1answer
130 views

OpenLayers 5.3 selected point feature does not return properties, but polygon does

I am having some issues in OpenLayers 5.3.0. The context is that I'm using Sharepoint lists as a backend to save feature data and OpenLayers is running in a Vue.js container. Everything works as ...
10
votes
2answers
740 views

Tying visibility of features to zoom level by attribute in QGIS

I know how to make the visibility of an entire layer conditional on the zoom level. Is there a way to do the same thing for specific features? I have a road data set, where each feature has a class ...
3
votes
2answers
3k views

How to query which features of all vector layers intersect with a given bounds?

I am writing a Openlayers map app, and wondering whether there's a better practice to query which features of which vector layers intersect with a given bounds.. It's certainly not a good idea to ...
1
vote
1answer
41 views

OpenLayers - feature.getId is not a function

I am getting this error in vector source when features are specified. The features are getting successfully and the array contains the features var features = []; $.ajax({ url: 'geoJSON-url', ...
0
votes
1answer
39 views

Increasing size of feature using OpenLayers

I need to check if a Polygon is inside another Polygon. In order to do so I iterate over each point of the feature and test if it is inside the main feature. If this is correct for all the points. ...
4
votes
1answer
101 views

Selecting more than one feature using values in QGIS

What should I do if I want to select more than one feature using values? For selecting a single feature, I enter an expression like this which works: "LINK" = 28 Assume "LINK" as ...
4
votes
1answer
37 views

How can I make overlapping features in ArcMap transparent?

TLDR: What I want is best explained by the pictures below. In words: I have partially overlapping features and I want to visualize this overlap with transparency. I know I can set a Layer Properties &...
1
vote
1answer
66 views

OpenLayers - Essential polygon data to save in a database

I have a project where I need to save polygons to a database. I found that you can get the coordinates array from a feature using: feature.getGeometry().getCoordinates(). This returns an array of all ...
0
votes
0answers
24 views

Preserve geography when copying features in QGIS [duplicate]

In QGIS 3.16 "Hannover", copied vector features appear near grid 0.0, at coordinate numbers that are the long and lat values. The attribute table with desired fields is updated as expected. ...
4
votes
1answer
65 views

Setting feature limit on WFS request

I am connecting to a WFS Layer and within the SQL Statement I want to limit the response from the server: That gives me a syntax error: Wrong SQL. Syntaxerror. NUMBER_INT is not expected. $end is ...

1
2 3 4 5
15