Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [features]

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

1
vote
2answers
40 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
24 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
26 views

How do I filter 4 features from a vector shape file 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 4 different features, I am trying to distinguish the features to perform different analysis. Thought I had to filter the ...
2
votes
1answer
47 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
36 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
86 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
0answers
13 views

Moving attributes from polygon feature to point feature? [duplicate]

Using ArcMap 10.5.1 The polygon feature class has hundreds of thousands of features (parcels), and each feature has table data. I need to copy feature attributes from a polygon feature and paste ...
0
votes
1answer
29 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
32 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
34 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
61 views

Compute convex hull of points in a feature collection

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 ...
0
votes
0answers
34 views

getFeaturesAtCoordinate() returns empty array

For some features I get an emtpy array with getFeaturesAtCoordinate(). The WFS - GeoJSON is perfectly homogeneous. How can that be? search.on('select', function(e) { select.getFeatures().clear()...
2
votes
1answer
60 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
28 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
12 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://...
-1
votes
0answers
72 views

Add line programatically in OpenLayers 3?

I successfully added point like this: var iconFeature = new ol.Feature({ geometry: new ol.geom.Point([8637791.36, 1456487.82]), name: 'Police Station', population: 4000, rainfall: 500 }); ...
0
votes
1answer
69 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
222 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
53 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
111 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
66 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
39 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 ...
0
votes
0answers
55 views

How to create sector polygon for a given point feature at a given radius (1000 Km), and direction using ArcPy code?

I want to create polygons of sector shape for many point features. Each sector has central angle of 90 degrees and radius of 1000 Km. How can I create it using ArcPy code? Here is my approach that I ...
0
votes
1answer
239 views

OpenLayers 4 VectorLayer Feature setStyle makes features disappear

After I have already displayed my map I want to highlight certain features. For starters I am trying to highlight all features like this: public highlightMapFeatures() { this.map.getLayers()....
1
vote
0answers
36 views

Splitting feature into fixed measurements

For my thesis I'm trying to split featuring in QGis into multiple new features of a fixed size (5.5 by 2 meters). I think it would be the equivalent of ArcGIS' Parcel Division tool, but unfortunately ...
1
vote
1answer
115 views

Feature merging in QGIS? [closed]

I want to merge these two features into one (N.B: One polygon shapefile, lots of features). But an error occurred. Any possible solution please? QGIS version: 2.14.20
1
vote
3answers
234 views

Creating a source and a layer from vector tile features in Openlayers

So I retrieve all my features from a vectorTile layer (PBF from Geoserver), and now I want to recreate a layer by filtering on those features and getting only those that satisfy a request. I ...
1
vote
0answers
66 views

Customizing identify form in QGIS?

Is it possible to customize the identify form in QGIS (I am using version 3) to create Balloon like windows and add a picture in addition to the features extracted from the table?
1
vote
1answer
59 views

Exporting tiled raster assets within mask feature selection?

I'm familiar with a method of exporting everything within a selected feature within Global Mapper using - Export > Export Raster/Image Format. This takes everything within that feature and exports to ...
0
votes
0answers
47 views

OpenLayers receive all feature data from Vector (WFS)

I would like to display a Diagram for the data that is received via a WFS. As this data is already displayed on the map, a second request is not necessary. Normally I receive the underlying data on a ...
1
vote
1answer
68 views

SimpleFeatureType.getCoordinateReferenceSystem() == null after building type

I tried to build new type, but SimpleFeatureType.getCoordinateReferenceSystem() returns null //create polygon GeometryFactory geometryFactory = JTSFactoryFinder.getGeometryFactory( ); ...
0
votes
0answers
35 views

Feature not shown in map after update using WFST in ol3

I am trying to update feature to geoserver using WFST ol3. I could successfully able to update feature information to geoserver, but after the update, if i refresh the application, the updated feature ...
1
vote
2answers
72 views

How to check whether a feature has been split in GeoTools?

In my program I am looking for a best place for a golf course. Three of the conditions are: The course must be on a hill, it must be at least 100 meters away from roads and must not be larger than ...
0
votes
1answer
161 views

Select Feature button greyed out?

I am a new user of QGIS 3.0.2. Simply trying to select a specific land parcel using a GeoNB layer, also will need to select other features obviously in the future. My "Select Features" button is ...
0
votes
1answer
59 views

Point from FeatureSet as Input to Python script tool?

I'm looking to use a point on the map provided through a FeatureSet as an input to both a buffer and Select by Location. I have created the geoprocessing tool that works, but am having difficulty with ...
0
votes
1answer
19 views

Drawin a feature on my map

This is my code but it doesn't show anything... var vectorSource = new ol.source.Vector({}); var map = new ol.Map({ layers: [ new ol.layer.Tile({ source: new ol.source.OSM() ...
0
votes
1answer
42 views

Issue with speed of adding new features to a layer

I have a list of features that I would like to add to a layer. The features are built from a list of objects that contain a number of attributes as well as a set of coordinates. var lines = data; //...
2
votes
0answers
166 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....
1
vote
1answer
36 views

Saving Shapefile - Zero Features Error

I am using QGIS 3.02. I opened a GDB file in QGIS and saved it as a shapefile in EPSG: 4326. Now I want to save it in EPSG: 2264 but I am running into an issue. Every time I save it as EPSG: 2264 the ...
0
votes
0answers
31 views

Is there something like a “magnet lasso” while using the line feature in ArcMap?

I am just starting to learn ArcMap and just recently used the line feature for the first time. When I traced the border between a forest and a field, I was wondering whether there is something like a "...
13
votes
3answers
314 views

Distinguishing corridors from fragments in a habitat map

I was wondering if someone has delt with this kind of issue before: I want to delineate fragments based on neighboring pixels of the same class (forest) with a distance threshold of 3 pixels (which ...
0
votes
0answers
19 views

Importing acad into arcgis

We have a project using ArcGIS 10.1 and silverlight and this project allows for the upload of ACAD files onto existing layers via the project. This had been working for years now however early last ...
2
votes
1answer
241 views

Dynamically selecting t layer features implementing canvasMoveEvent of QgsMapToolIdentify class?

In my QGIS plugin I need to dynamically select features of a layer with the mouse move event. In Programatically check for mouse click in PyQGIS? the canvasMoveEvent of the QgsMapTool class is ...
1
vote
0answers
41 views

Keep legend item & feature count even when item does not appear in current Atlas feature

I would like to see all legend items irrespective of whether the item appears in the current Atlas feature. I have formatted the legend such that count of each item appears in brackets, next to the ...
4
votes
1answer
217 views

Missing features from featureCollection in Google Earth Engine but present in Fusion Table

I am using google earth engine code editor to extract some band values at specific point locations. To do so I have loaded my .csv file with point IDs and coordinates into Fusion Tables and the Map ...
0
votes
1answer
66 views

Why is my function hiding all of my features?

I'm making a map, using ArcGIS javascript API, that has a filter tool that filters some polygons by habitat type. When the user selects a habitat type, only features of that habitat type should be ...
4
votes
2answers
2k views

Show/hide features on layer in OpenLayers?

In previous versions of OpenLayers, features on a layer could be hidden by changing visibility to 'hidden' but that does not seem to work on OpenLayers 4. How can features be modified so that we can ...
0
votes
0answers
142 views

How to filter geometries from existing Topojson from command line

All of the tutorials on filtering geometry features I've seen assume you have a geojson/shp file to start. For example, mapshaper CLI says to run: mapshaper usa_counties.shp -filter '"ME,VT,NH,MA,CT,...
0
votes
1answer
48 views

Changing feature from one feature class to another using ArcGIS Pro?

I am trying to change a feature from one feature class to another (not copy) For example, I am working with a town's water system. We have mainline valves and hydrant valves. I have come across a ...
4
votes
1answer
2k views

Get feature from ol.interaction.Draw on drawend

My problem seems simple but I cannot find any questions that successfully solve it. I want to draw a circle using ol.interaction.Draw, and access the feature that is created immediately. My code as ...