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
4 votes
2 answers
131 views

Duplicating rows according to field values in QGIS

I have a table in a GeoPackage like this field1 field2 a;b 1 a;b 2 c;d 3 a;d;e 4 a 5 ... What I need is to create a new table in which the records are ...
Raúl Casado's user avatar
  • 1,069
2 votes
0 answers
89 views

QGIS error code, trying to split a layer [closed]

I keep getting the error code below when trying to split a polygon. There appear to be no duplicates and I have been able to spilt other layers within the same shapefile. Can anyone give me any work ...
Lucy 's user avatar
  • 21
0 votes
0 answers
16 views

FME 2021 Overwrite one feature in a geopackage [duplicate]

I am using FME 2021 and would like to delete or overwrite one feature in a Geopackage. Is there any tool in FME that will be able to delete or overwrite a feature. For information, When I created the ...
GIS Noh's user avatar
  • 321
6 votes
3 answers
251 views

Finding nearest line feature from linear layer in QGIS

I have two linear layers like you see below: I would like to select just the nearest black lines to the red ones, which represent the other layer. I found similar solutions, but they refer to the ...
Geographos's user avatar
  • 4,087
3 votes
1 answer
103 views

Activating two layers at the same time with PyQGIS

I want to copy-paste values from one feature in a layer to another feature in another layer, for this, I like to have both layers activated to be able to select features from both layers. Just as an ...
i.i.k.'s user avatar
  • 1,413
3 votes
1 answer
201 views

How to recover parent value while creating parent and child layers in a embedded forms setup?

I read the documentation, examples and made many attempts, but I still can't make this work. What I want is to get a value from a parent layer while editing a child layer, when both features are being ...
Horizen's user avatar
  • 567
0 votes
1 answer
170 views

Why do I get array of features after click on one feature in OpenLayers?

There is a geojson: { "features": [ { "id": "f6105acf-065e-499b-b23d-85298dd84108", "geometry": { "coordinates": [ ...
Mammed Rzayev's user avatar
1 vote
1 answer
388 views

Using the "Selected Features Only" checkbox with QgsProcessingParameterFeatureSource in PyQGIS script

I'm working on a custom QGIS Processing algorithm, and I'd like to include an option for the user to process only the selected features in the input layer by using the checkbox "Selected Features ...
Matt_Geo's user avatar
  • 1,050
0 votes
0 answers
84 views

Draw an area having only a point and distances to the 4 borders

Using Geotools with Swing GUI. Is it possible to somehow create a shape having only one coordinate (Lat,Lon) and four distances in meters to the borders? Lets say we have only the "C" point ...
Magno C's user avatar
  • 2,130
3 votes
0 answers
104 views

Why is it slow when deleting features in gpkg using PyQGIS?

Deleting features in a somewhat big GeoPackage takes a really long time and I am not sure if I do something wrong or if it is normal that it takes such a long time. Data: line GeoPackage layer ...
Kalak's user avatar
  • 3,838
1 vote
1 answer
102 views

Create layer from an array of geometries in OpenLayers?

After a fetch from a PostgreSQL view, I get a response and extract the geometries in an array of object result. .then(rep => rep.json()) .then(tableauObjOpe => { for (const ope of ...
Leehan's user avatar
  • 1,226
0 votes
1 answer
51 views

WFS: Count available feature Types

Some WFS offer a large number of feature types, e.g. a collection of all public datasets from a municipality. What is the right way to count the number of feature types of a WFS? My idea was to search ...
winnewoerp's user avatar
  • 1,504
0 votes
2 answers
793 views

How to split a feature collection in several equal parts in GEE

I have a feature collection (fc) consisting of 44 polygons. I need to create a time-series chart of NDVI values for each of them. I would like to analyse these polygons in groups of 4 - 5. Grouping ...
Barbara Perez de Araújo's user avatar
0 votes
1 answer
220 views

How to chart only a subset of features in a feature collection in GEE

I have a feature collection consisting of 44 polygons. I need to chart a time-series of NDVI changes in each of them. I want to chart the polygons in groups of 4 and select them myself, meaning there ...
Barbara Perez de Araújo's user avatar
3 votes
0 answers
66 views

Using get_feature() function on layer while editing in QGIS

In QGIS, I am trying to update a feature based on entries made on a nested form (relation). Considering: Layer1 has Field1 that should capture the value of Field 2, and field in Layer2 Layer2 is ...
Horizen's user avatar
  • 567
1 vote
2 answers
108 views

Define ".setSeriesNames" as a specific column from my Feature Collection when charting in GEE

I have an asset imported from a shapefile in GEE. It is a feature collection with which I wish to chart a time series. The lines from each feature are labelled as system:index. See labelling of ...
Barbara Perez de Araújo's user avatar
3 votes
2 answers
207 views

Show length of selection

Today I was calculating length of features to know how long a certain route will be. I was wondering if there is a quicker way to find out the length of a selection of features? I am looking for a ...
e-shirt's user avatar
  • 667
1 vote
0 answers
76 views

Appending two online features and keeping the attachments in ArcGIS Pro

I need append two online features and keep the attachments. The process consists of putting 12000 images in 4000 points, but if two features have different attachments and I need to keep both. I tried ...
daihan's user avatar
  • 11
0 votes
1 answer
225 views

Select multiple features from multiple layers in QGIS

I am analysing land use across multiple region. Each region has its own vector dataset. Each dataset contains the same columns and land use classifications (e.g. 'AC66' or 'TC01'), describing units of ...
Nick Primmer's user avatar
1 vote
0 answers
21 views

Clip all polygons inside the boundary of provinces to separate and calculate every inside polygons area

I need to calculate area of polygons inside every province but some of polygons are not exactly inside of one province and part of it is in one province and the other part is in another province. How ...
coral's user avatar
  • 81
1 vote
1 answer
61 views

Highlighting features within radi from multiple points on map on QGIS

I'm new to QGIS so I'm not sure if I am missing a plug-in or something. I have a layer showing demographic data and a layer with series of points. How do I highlight features to get demographic data ...
Fionn Clifford's user avatar
1 vote
1 answer
78 views

Thiessen polygon delineation within a feature (polygon) not extent

I am trying to create Thiessen (Voronoi) polygons, based on points with a defined shapefile (separated polygons). The output should be inclusive to the feature. The output I receive now is the ...
Karim Fouali's user avatar
3 votes
1 answer
159 views

Skip (invalid) features with invalid geometries in project with pyqgis

I have configured a QGIS project with option processing to skip invalid features. When I run my script in python console in QGIS the code runs without problems even with invalid geometries. When I ...
simone100's user avatar
  • 185
3 votes
1 answer
113 views

Counting features in child table that are related to the report feature in QGIS

I am building out a report template in QGIS. I have a Field Group Section that generates a report page for every feature in Layer A. Layer B is related to Layer A in a many-to-one relationship like so....
dan.erm's user avatar
  • 79
0 votes
0 answers
32 views

Set display or non-display condition to display feature in a GeoJSON file in OpenLayers

I used the following code and put the displayed layers into a variable and selected the desired layer and I want features that have an area of less than 500m not to be displayed when the map zoom is ...
user218760's user avatar
2 votes
0 answers
118 views

Changing the font size and placement of selected feature in QGIS

I have downloaded map data as an FGDB folder. There are names of places where some of them need to be highlighted and also moved a little. Names of places. I select a placename (feature) and try "...
Erland Flaten's user avatar
1 vote
1 answer
148 views

Moving polygon to edge of boundary using QGIS

I have a set of polygons that have been drawn using a set of plotted addresses. All of these polygons fall within a geographical boundary of the local area. As the boundary is drawn using local ...
user avatar
0 votes
2 answers
451 views

ArcGIS Pro: Definition Query > Create new definition query in SQL

I have one point type feature class and another feature class with a polygon. Using ArcGIS Pro, in the feature class type point > Definition Query > create new definition query in SQL. I want as ...
Marco Escalante's user avatar
3 votes
0 answers
91 views

"Select Features Using an Expression" tool is selecting wrong features [closed]

I'm very new to QGIS and GIS in general. I have a shapefile of Multilines. The corresponding attribute table has a field called "Name". I want to filter the features in the table based on a ...
Natalio's user avatar
  • 141
0 votes
0 answers
272 views

GeoServer MVT vector tile attributes

I am serving MVT vector tiles from GeoServer through its TMS api and I can't find a way to add feature attributes. When I try to add these attributes in the edit layer/data tab, I get an error "...
Eric van der Vlist's user avatar
1 vote
0 answers
116 views

Updating only selected features with the QGIS Gaphical Modeller

I want to update selected features (features within a specific buffer or selected with their attributes) with the graphical modeller of QGIS but It doesn't work because I don't find the algorithm in ...
Vincent LINLAUD's user avatar
3 votes
1 answer
91 views

Automatically copy across data from one layer to another where the field name is the same in QGIS

Layer A contains data in "Field A", Layer B also contains a field named "Field A", can I automatically transfer the data in "Field A" from Layer A to Layer B? I used to ...
RogerPickles's user avatar
3 votes
1 answer
406 views

Selecting features with values whose difference is greater than 20 in QGIS

I have a LineString layer and it's attribute table has two different fields. I want to select all features with a difference of more than 20 between both fields.
Barrylim_work's user avatar
6 votes
5 answers
2k views

Getting the number of features in shapefile without opening it using Python

I have some big shapefiles that takes dozens of minutes if not hours to load. I was wondering if there would be a way to get the size of the files (number of rows) without loading them entirely. I ...
Lucas Morin's user avatar
0 votes
0 answers
254 views

Load GeoServer WFS feature layer by block in OpenLayers

I have a WFS layer on GeoServer with more than 260,000 features, which contains data from an entire municipality. Thus, it takes a long time to load the entire layer on the map. To test, I used a ...
user12538529's user avatar
0 votes
1 answer
194 views

Search feature by attribute and show centered on map in OpenLayers?

I have a layer in OpenLayers and I would like that, when clicked to become visible, it shows a text box or something similar, so that the user can enter a code. Then, when the layer is shown on the ...
user12538529's user avatar
1 vote
0 answers
205 views

Singleclick on OpenLayers for multiple layers

I want to get information on click only for selected layer, but it seems like I get it for random one every time I click on. Here is my code: map.on("singleclick", function (evt) { var ...
Татјана Пешић's user avatar
0 votes
1 answer
109 views

Batch change attributes in template properties in ArcGIS Pro

I am using a number of feature templates for mapping and would like to change a specific attribute in all templates with the same value without going through the list and change every single feature ...
mati's user avatar
  • 101
0 votes
1 answer
284 views

Error when exporting FeatureCollection in Google Earth Engine

I got an Error: "Invalid argument: 'collection' must be a FeatureCollection. (Error code: 3)", when I was trying to export FeatureCollection. Geometry was a rectangle I draw to clip the ...
Dong's user avatar
  • 13
4 votes
1 answer
388 views

Extracting coordinates of line feature in QGIS

I need to get the x and y or lat and lon for a line feature in order to create a unique "ID" for a project I am working on. I know a line feature has more than one lat and lon but I just ...
Chace Carpenter's user avatar
2 votes
2 answers
76 views

Finding observations by minimum distance in QGIS

I am trying to look at the distance between property sales and crimes committed within city. I want to be able to find all the crime that occurs within 1 mile of each property sold. I am sure that is ...
Roscoe's user avatar
  • 21
3 votes
1 answer
89 views

Searching for values in different layers without nested for loops using PyQGIS

I have a working process that uses a nested for loop to look through each feature of a point layer and search for a matching lat/lon of multiple line layers. It works fine but can take longer than I ...
efrank's user avatar
  • 419
3 votes
3 answers
785 views

QGIS: fill a simple line polygon with color when selected

I have a polygon vector layer with Simple line symbology. When I select one from Attribute table, QGIS change the boundary color in yellow, but I have difficulties to find it easily between many ...
Lion's user avatar
  • 85
3 votes
1 answer
72 views

QField - how to show features list in alphabetical order?

I created a project in QGIS and synced it to QField. When I ask qfield to show a features list of a point layer from the project the names are not in alphabetical order. Is there a way to ...
Shane's user avatar
  • 31
6 votes
1 answer
264 views

Finding the shortest distance between two selected polygons using PyQGIS

I'm researching the shortest distance between two selected polygons among the number of polygons in a shapefile using PyQGIS. Coding as follows> layer = iface.activeLayer() sFeat1 = layer....
Lakmal's user avatar
  • 61
1 vote
1 answer
114 views

Getting only short coordinates instead of full length coordinates

I am working on OpenLayers6. And I want to show the plots. But My plot data is not being rightly placed on original plot polygon. What my concern is that I want to get the full-length coordinates, but ...
Mihir 's user avatar
  • 13
3 votes
1 answer
112 views

Changing columns position in attributes table using PyQGIS

Well, I'm new to PyQGIS and I was creating a new shapefile and layer using some information from other layer. I inserted the data that I wanted inside attributes table and styled it, but I wanted the ...
Diogo Barros's user avatar
0 votes
0 answers
44 views

Substraction of line feature in QGIS

I have two overlapping line features. The blue line is a intercepted feature outputted of the red line (and another polygon feature). I need to get only the red line parts where there is no ...
badger's user avatar
  • 1
2 votes
1 answer
152 views

Changing feature in one layer with feature from another layer in QGIS

I have a set of data from the UK Ordnance Survey (Zoomstack). It covers the whole of the UK. In the area I am currently interested in, it appears that one road has been incorrectly designated as a ...
SandyMac's user avatar
5 votes
1 answer
500 views

Getting color of feature using PyQGIS

QGIS offers the @symbol_color-variable in some places. But it is missing at various places of data-defined-override/field-calculator dialogues. I tried to create a own function, but it returns wrong, ...
user191847's user avatar

1
2
3 4 5
19