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
40 views

How to change the field value of a specific feature in a Shapefile using GDAL/OGR?

I am trying to change the field value of a shapefile, but only in some specific features. However the code I have changes the value for all features in the shapefile. Is there any way of accessing the ...
1
vote
1answer
31 views

How to break bond of select and modified feature OpenLayers

I have select and modify interaction instantiated. Also I have event onChange binded to selected feature. select.getFeatures().getArray()[0].on('change',function (){ sources.verteksi.clear() ...
1
vote
2answers
53 views

Why is the order of my features changed when using readFeatures in OpenLayers v4.6.5?

I have a geojsonObject that is a featurecollection of X number of features. see picture I Then add this to a vector: var Source = new ol.source.Vector({ features: (new ol.format.GeoJSON())....
1
vote
1answer
32 views

Make FeatureCollection from Features in Google Earth Engine

I try to add a list of Features into a FeatureCollection with ee.FeatureCollection but it raises the following Error: * "FeatureCollection (Error) Collection, argument 'features': Invalid type. ...
1
vote
1answer
30 views

Store geometry change on modify interaction OpenLayers

I am using OpenLayers modify interaction with events modifystart and modifyend. I am trying to remember state of feature before it is modified. I do it this way: var modificirane_cestice=new Object()...
2
votes
1answer
62 views

Selecting features from multiple layers for export QGIS 3.6

I have multiple features I want to select over multiple layers and then export these selected features to a new layer. The 'Multiple Layer Selection' plugin is not supported by the QGIS 3.6 so that ...
0
votes
1answer
33 views

Centering Feature before exporting map to PDF?

I am trying to export single point file maps to PDF. My maps are exporting fine, but I'm having trouble centering the point file in the middle of the map, it's always outside of the data frame. Any ...
1
vote
1answer
37 views

Creating 1 hectare rectangle polygon surrounding points and dividing it into equal sized sub-quadrats in ArcGIS Desktop?

I have a set of points like this: ] I have only these points' information. Now I want to draw a boundary of this points whose size should be 1 hectare (100m x 100m). After that, I want to subdivide ...
2
votes
1answer
17 views

Adding featureSet into a featureLayer (dynamic renderer)

I'm trying to use a renderer and a legend on data from a featureSet, it displayes symbols and popups but the renderer fails. The data comes from a featureLayer but I display it with view.graphics so ...
2
votes
0answers
37 views

Slow retrieval of features

I have a vector layer with lots of features and I'd like to create a new layer in Python, containing only a subset of those features. To be more specific, I downloaded OpenStreetMaps data of Austria (...
1
vote
1answer
15 views

Retrieve features from WFS using geotools

I am new to GI systems. I am trying to retrieve features from a WFS using geotools: this is my snippet : String url = "http://geodaten.metropoleruhr.de/poi/poi?request=GetFeature&service=wfs&...
0
votes
1answer
87 views

Create GeoJSON Feature from FeatureCollection

I have a single polygon feature (no holes, no overlaps) which is currently defined as a FeatureCollection in GeoJSON, with type Polygon (not MultiPolygon). I am trying to use it with an online mapping ...
1
vote
1answer
107 views

Openlayers 5: view and save coordinates from drawn feature

I've been following the various examples including this OpenLayers: Get Coordinates of drawn features and this https://openlayers.org/en/master/examples/snap.html and have produced the code below (...
0
votes
0answers
15 views

Create polygons for pixelboundary in Google Earth Engine

My goal is to get the Percentage of Class Values from a fine Raster into a Feature Collection, for Each Pixel of a Coarser Raster I am Stuck at Creating Polygons per Courser Pixel (in Red) to use ....
0
votes
1answer
51 views

How to get individual features from a GeoJson-Multipoint feature using map.on('click'…) in openlayers 4.6.5

I'm trying to get the features of each MultiPoint-point when i click on a point in my openlayers map (4.6.5). The points shows on the map. I want to add a pop-up on each feature when i click on the ...
1
vote
0answers
30 views

Supervised Classification within the bounds of a FeatureCollection

I am a bit new to classification within GEE and was hoping to get some help regarding classifying within a specific region. var bands = ['NDVI']; var landSat = ee.Image(ee.ImageCollection('LANDSAT/...
0
votes
0answers
33 views

ogr2ogr: How to export / explode GeoJSON features from collections into separate files

I would like to use an ogr2ogr command to export features as multiple separate geojson files from a single GeoJSON feature collection. I have tried using the -explodecollections command but I am ...
0
votes
0answers
22 views

Using feature templates for other layers than original to change target layer in ArcMap?

I was wondering if there is, in ArcMap 10.6, any way to use feature templates in a different layer than the one they where created for. I have around 10 layers with similiar atribute tables (same ...
1
vote
2answers
89 views

Adding new features to selection list using PyQGIS?

The code written by Joseph answering to the question Features to stay selected by default in QGIS? layer = qgis.utils.iface.activeLayer() # Use active layer def select(featureAdded): layer....
1
vote
0answers
20 views

QGIS 2.14 c++ standalone application crashes using QgsMapToolIdentify

lResultList.append(mpIdentifyTool->identify(lCoord.x(),lCoord.y(),QgsMapToolIdentify::TopDownStopAtFirst, QgsMapToolIdentify::VectorLayer)); leads to crash of app. It happens when layers provided ...
4
votes
1answer
194 views

Deleting features in PyQGIS?

I am comparing geometries of input layer and output layer features. I want to delete features in output layers which has equal geometry to input feature. I am using following code to do that. for ...
1
vote
1answer
40 views

Counting features within other features

I've several files composed of elements like the one below which I'm trying to make sense of (essentially a very simple microtopography study). I've vectorised the image with lots of separate lines ...
2
votes
0answers
45 views

Create filter expression by selected elements?

Is it possible to automatically create a filter expression for the Query Builder by selected elements?
0
votes
0answers
28 views

ArcGIS not properly tracing a shapefile's polyline feature

I am working with the Street Network Database shapefile from the City of Seattle, in ArcMap 10.6.1. I attempted to use ArcMap's trace function on the polyline representing Rainier Avenue South. ...
0
votes
0answers
16 views

Removing labels for deleted point features in ArcGIS Pro?

I am new to ArcGIS pro. I have a number of points on a map that have been inputted into ArcPro from a KML file. I have deleted some of the points as they aren't required but the labels for the deleted ...
0
votes
1answer
85 views

Find index of Linestring element at feature, when hovering - openlayers/GeoJson

I have a Geo-JSON Linestring, this is drawn by 800 elements in OpenLayers 4.6.5. I'am trying to use the map.forEachFeatureAtPixel, and print a pop-up when hovering for individual elements on the ...
4
votes
2answers
288 views

Is there a maximum number of features that QGIS can save into a shapefile?

I have a very large .gdb that I want to reduce to my study area. Unfortunately, the study area is still quite big. I could select features that intersected my study area but when I tried Export > ...
0
votes
1answer
98 views

NDVI time series based on UI selected features

I am trying to create drop downs that will select features from a feature collection, and have each newly selected feature drawn on the map. I want to have three selectable variables then calculate ...
0
votes
1answer
55 views

How can I add a featureCollection to another one to export into one sigle .csv file?

Sorry if this is an silly question, as I am starting to work with GEE. I am iterating (mapping) over a Sentinel-2 image collection, using different coordinates and dates in each step. My goal is to ...
1
vote
1answer
213 views

Highlighting selected geojson feature and return to previous state when another one is selected using Leaflet?

I've a map with a geojson layer containing markers, polygons and lines. I made a module so that when a feature is clicked, its properties are displayed in a frame and not in standard Leaflet popup. ...
2
votes
1answer
187 views

What does this symbol mean?

I have just used the shape tool to create an elliptical buffer around a point. However after doing this, within my layers table I have the symbol seen within the figure below (seen in red box). Note, ...
1
vote
2answers
455 views

Leaflet - How to show feature properties in a box that is not a popup?

Popup giving features properties are interesting but I would like to make a side bar where properties of a clicked feature would show. I've got the traditional code for displaying geojson features ...
0
votes
1answer
124 views

How to filter a feature collection to only features ENTIRELY inside another feature

I have 2 feature collections. One of the "departamentos" of Argentina, and another of the "provincias". These are internal political boundaries. The "departamentos" each belong to only one "...
-2
votes
1answer
38 views

Filter four features from a vector shapefile to create a new layer to perform buffer, intersection and union on it, in QGIS 2.18?

From a dataset that contains points of interest defined by type of object with four different features, I am trying to distinguish the features to perform different analysis. Thought I had to filter ...
2
votes
1answer
51 views

Running into endless loop when adding feature to layer with pyqgis

I am working on a script where I want the user to add feature to a layer in edit mode, and then decide whether to keep the newly added feature in the layer or not. I am doing it the following way: ...
0
votes
0answers
146 views

Selecting touching features using QGIS? [duplicate]

There are several ways to select features in QGIS (by rectangle, radius, polygon and expression) but is it also possible to select features, which touches one selected feature? For example: In a ...
1
vote
1answer
484 views

Create time series for multi-polygon Google Earth Engine

I have a imported a KML as fusion table to GEE. This fusion table is type of FeatureCollection and contains 6 elements. I would like to create a time series of a raster (in this example MODIS LST), ...
0
votes
1answer
51 views

Feature stroke is not updated

I'm changing the stroke color of my features when they are selected like follows: var select = new Select({ condition: click }); select.on('select', function (e) { e.selected.forEach(...
0
votes
1answer
41 views

Comparing each geometry of shapefile with all geometries of another shapefile using ArcPy?

I want to compare each polygon from one shapefile with all the polygons from another shapefile. When one polygon is geometrically identical to a polygon on the other shapefile, I want to copy the ...
0
votes
0answers
42 views

Split Polygon to match length of lines with QGIS

I have a large polygon shapefile with many features (green), representing waterbody outlines, and a line shapefile (brown) representing river sections. I now want to split the polygon features into ...
0
votes
1answer
144 views

Compute convex hull of points in a feature collection [closed]

I uploaded an asset (which was originally a shapefile of points) and imported it into my script as a feature collection. I would like to compute the convex hull of the points, but it seems this ...
2
votes
1answer
124 views

Why QgsFeature.geometry() returns an empty geometry in PyQGIS?

I am a new for QGIS, working in Python. I add a buildings(.shp) vector layer into QGIS, just like this: I'd like to get the geometrys of some features, then I can do analysis on the center point. ...
1
vote
1answer
45 views

Clipping a road layer by using region attributes

I've been trying to clip a road layer into several layers by using region polygons. So in detail: I've got a layer with all roads of Germany and a second layer with all states and regions of Germany. ...
1
vote
0answers
19 views

QGis Python featurerequest with lists

I want to select some features and do some actions to this selected features. Something like if attribute in field a is = abc than do something. But the selection will not fit. As written in https://...
0
votes
1answer
678 views

Add a polygon programmatically in OpenLayers 3?

I added a point like this and it works fine, but for polygon it's not working. var iconFeature = new ol.Feature({ geometry: new ol.geom.Point([8637791.36, 1456487.82]), name: '...
1
vote
3answers
941 views

Copy/Paste Layer with Attribute table to new Layer using ArcGIS Pro?

When I copy features from one layer in ArcGIS Pro to a blank layer, the polygons are transferred, but the attribute table behind those features is not transferred. To give a specific example, I ...
2
votes
0answers
62 views

Reverse geocoding geographic features

I have a growing database of routes. Each route is represented by a polyline with say 200 points on average. What I'm trying to achieve is automatic tagging of these routes with names of places and ...
0
votes
2answers
482 views

How to export a feature collection of feature collections in Google Earth Engine?

I have extracted NDVI values from Landsat 8 images to a shapefile of points 90 meters apart. I am trying to get these point files back into ArcGIS and R, but they are too big to print to the console. ...
1
vote
2answers
76 views

Select columns to keep from attribute table [closed]

I have lots of feature classes that I'm working with, but the attribute tables are really messy because I got the information from different sources. So I decided to clean them up. I made a table ...
-2
votes
2answers
42 views

Rename Features with IF/Else

I used arcpy.describe to get the shapetype of my features: desc = arcpy.Describe(Importpfad) geometryType = desc.shapeType Now i want to add this information at the end of the feature name. It also ...