We changed our privacy policy. Read more.

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
2
votes
1answer
41 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 ...
0
votes
0answers
44 views

Separating or extracting bands of multiband feature using ArcMap

I have a multiband point feature of an environmental variable. Bands represent the time where each band equals a certain month for the whole study area shown below. I need to separate these bands - in ...
2
votes
2answers
26 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
387 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
29 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
34 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
38 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 ...
7
votes
1answer
113 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
18 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
31 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
134 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
725 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
39 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
38 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
55 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
55 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
22 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
25 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
60 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
127 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
27 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/...
1
vote
1answer
24 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
73 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
184 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
130 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
48 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
90 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
70 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
27 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
41 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
67 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)[...
1
vote
2answers
45 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
124 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
37 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 ...
0
votes
0answers
43 views

Add Feature as a Description in GEE

I am new to GEE, my problem is as mentioned in the Description, I have to add a self-made Feature as part of the description. You can see my code below: Map.setCenter(22.8441, 40.5547, 11); var start =...
1
vote
1answer
37 views

I'm looking for a feature id without going through a for or while cycle

I'm trying to find some land from a previous vector layer loaded with geojson from the geoserver. I have a way to search: This method goes through each field in my vector layer and compares the ids ...
3
votes
1answer
43 views

Executing final logic after a feature is created or changed

There is a function "Python Init function" which is called when the form is opened. Is there a function that is called when the form is closed or saved? Or is there another way to execute ...
1
vote
1answer
53 views

Advanced editor tracking in ArcGIS Pro

Is there a way to track edits which have been made to a feature class in ArcGIS Pro? I.e. a field being auto populated which would give information in regards to what kind of edit has been made, e.g. &...
1
vote
1answer
58 views

Showing only selected features of vector layer in PyQGIS [closed]

I am developing a Plugin in QGIS and I want to show only selected parts of a layer. How can I handle this with PyQGIS?
0
votes
0answers
110 views

How to select multiple features by mouse click event in ArcGIS JS API 3.x

I am trying to select multiple features in a feature layer by using "hold 'ctrl' button and mouse click event". I am using ArcGIS JS API 3.x. I have created the US State boundary ...
2
votes
1answer
81 views

Copy multiple shapefiles that intersect a polygon to a new location

I am trying to select and copy shapefiles from one folder to a new location based on if they intersect a polygon feature class. I am getting stuck in somewhere in the for loop. EDIT: The goal is to ...
4
votes
1answer
50 views

Avoid features to be automatically selected in table

In the screenshot below you will notice that in "Feature", a country has gotten automatically selected. I don't understand why. I have not selected any part of the data or the map. I don't ...
0
votes
1answer
38 views

ArcGisPro Finding street intersections with a high concentration of vehicle crashes

I'm trying to find street intersections with a high concentration of traffic crashes. First of all, I´ve tried with kernel density analysis, but I'm wondering if there is something that makes a sort ...
1
vote
0answers
26 views

Can we include any URL path for the Shapefile while creating a feature store in Deegree GIS?

I have used the Documentation and the examples of Deegree GIS application and I am able to give the path for my Shapefile in my local system, while creating a feature store just like below. <...

1
2 3 4 5
14