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 ...
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 ...
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 ...
6
votes
3answers
156 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
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 ...
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 ...
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 ...
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 ...
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 ...
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), ...
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 ...
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 ...
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 ...
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 ...
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
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 ...
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 ...
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. ...
0
votes
1answer
26 views

To write Error message grouped by a common field attribute value and check another field value is matching for that same group instance using arcpy

The name of my layer is "spat_join_output". So I have a field named 'label' and another two fields 'end_point_x' and 'end_point_y' for the same label values i want to check if the ...
0
votes
0answers
23 views

QGIS 3.16 unexpected behavior when moving feature

The blue municipality boundary has a different CRS than the pink ward boundaries, and it doesn't seem possible to set them both to the same projection. If the municipality boundary CRS is changed to ...
0
votes
0answers
31 views

QGIS Missing Features on Map

I have a shapefile in QGIS 3.16 that I created by performing a spatial join. It displayed properly on the map. I then edited some of the data in one of the spatially joined fields. After doing so, ...
0
votes
0answers
82 views

Finding centroid of features within polygon using ArcGIS Pro

I have some polygon features and within those polygons are some coordinates for some other features. How do I find the centroid of those coordinate points within the polygon (NOT the geometric ...
2
votes
1answer
151 views

Export properties of a feature collection Google Earth Engine

I would like to export only the properties of a filtered feature collection, I made a try which is probably wrong because I'm not selecting the properties I want (area, FinalDate,Id,InitialDate ) and ...
0
votes
1answer
30 views

Google Earth Engine: Sampling through image collection [closed]

I am trying to get samples from each image in an image collection and merge them into a single feature collection. So, I wrote the following code (https://code.earthengine.google.com/...
2
votes
1answer
27 views

Replace a field with maximum of it's attribute values based on values repeated on another field's attribute values using ArcPy

So I have performed Spatial Join between a point and line feature class. Now for each point there are several lines. What I want is the maximum count of line features as an attribute value in the &...
3
votes
1answer
88 views

Adding styles to a new feature in Google Earth Engine

I am new to Google Earth Engine and JavaScript. I have created a dropdown box and a button. The dropdown contains sub-district names from a shapefile. After clicking the button, the selected place is ...
7
votes
2answers
195 views

Calculating percentage of number of features in layer in QGIS

I'm using QGIS to get some "stats" on a current layer e.g. to determine the number of features of a certain class. That I do by using the Aggregate-Algorithm on the class-attribute with ...
3
votes
3answers
131 views

How to increment a specific amount of features

I current have attribute bar all empty with null values. I would like to fill that attribute starting from 10001, adding +1 to each of the features and having N before the number So far I have come up ...
1
vote
1answer
54 views

Problem with adding a point-feature in QGIS

Problem: when I add a point-feature to a vector layer it doesn't appear where it is supposed to. Here's what the process looks like: I create a vector Shapefile with point as a geometry type and add ...
1
vote
1answer
24 views

Layer property refuses to act as anything other than integer when named "SERVICE"

I've been trying to add a new property to a vector layer named SERVICE, this property should be a string. I am able to create this property no problem, and the type is stated to be QString in layer ...
0
votes
1answer
110 views

Resolving "Dictionary does not contain key" error applying function to feature collection in Google Earth Engine

I am adding two properties to each feature in a feature collection based on two images within each feature, currently represented as properties themselves. I got this feature collection through ...
2
votes
2answers
77 views

Why wont QGIS let me export selected features only?

I am trying to export a specific set of soils from a state wide soil survey. However, when I try use the export selected features it wont let me use the feature?
1
vote
1answer
28 views

Stop arcpy.CopyFeatures_management from adding copied feature classes to TOC

I've written a script that copies several feature classes to a new file gdb. Unfortunately CopyFeatures_management automatically adds the new feature classes to the TOC. Is there a way to suppress ...
0
votes
0answers
46 views

Feature to polygon tool not recognizing closed contour lines

I am using the Feature to Polygon data management tool in ArcMap (v.10.7.1) to convert contour lines (above 1200m) to polygons. The contour lines are closed (beyond the extent of the picture which is ...
4
votes
0answers
75 views

Changing feature attribute just after adding via QgsFeatureSink

How can I access a feature and change its attribute value, I just added to a processing-output before via sink.addFeature(feature, QgsFeatureSink.FastInsert)? Things like feature.id(specificfeatid)[...
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
2answers
46 views

Display angle of each line feature within a specific field for that layer using UpdateCursor method

So I want to calculate angles for each line feature layer using UpdateCursor method. So far I have progressed with the code but what it is doing is; it is giving the result of the last feature angle ...
2
votes
1answer
142 views

Earth Engine: adjust rectangular box to exactly fit underlying pixel grid?

In Earth Engine, I want to draw rectangular boxes around points, with the constraint that the box will exactly fit a pixel grid (from another raster). Drawing a rectangular box around a point has been ...
0
votes
0answers
41 views

How to use parallel parlapply for features whithin an sf object

I'm trying to create an intersection between two layers but, because of their size, st_intersection can't be done in one ony execution. I'm trying to do so spliting the process in parallel so this is ...

1
2 3 4 5
15