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
0
votes
1answer
17 views

How to Identify/Select features from WMS?

I'm trying to extract some features from the following WMS: http://servicios.idee.es/wms-inspire/hidrografia Namely, one layer called "Red hidrografica", which contains the traces of rivers and ...
0
votes
1answer
18 views

Date of reference in an feature collection

I am pretty new on GEE and idk how easy is this task. I want to find daily precipitation for all Brazilian municipalities in 2006. I applied a map function with reduce regions and end up with a ...
6
votes
1answer
538 views

Display Feedback “Stutters” When Moving Features [closed]

I have a custom tool for moving features that implements IDisplayFeedback and geometry-specific CoClasses to show the user where they are moving the feature. IMovePolygonFeedback polygonFeedback; ...
0
votes
0answers
17 views

Drawing dashed line in Google Earth Engine [closed]

Can anyone tell me how to draw a dashed line in Google earth engine? I know how to draw colored line but I have no idea how to change its style.
2
votes
1answer
21 views

Choosing point from polygon (featurecollection) in Google Earth Engine

I want to get points from the polygon. If I just use function (randomPoints), each polygon does not have the same numbers (50) of points so I want to find the point from each polygon, but my code is ...
1
vote
1answer
32 views

Ordering FeatureGroups

I'm using Leaflet right now and I have issues on ordering a list of FeatureGroups. Each feature group is either an imageOverlay or a list of Features I tried using bringToFront / bringToBack and it's ...
8
votes
2answers
287 views

Quickly browsing of features for the active vector layer?

I often need to view on the canvas the (selected or not) features from the current active vector layer. In this situation, I only need to view something on the canvas, without doing anything on the ...
1
vote
1answer
22 views

Features disappear from layer

I have a problem with my newly created layers. I have drawn a lot of features and most of them disappeared during the weekend while the pc was turned off. They are not visible in the drawing, in the ...
1
vote
2answers
32 views

Leaflet filtering GeoJSON properties greater than and less than some value not working

I would like to raise the query, that I haven't seen before in spite of a lot of problems regarding to GeoJSON features filtering by properties. This is using the formulas such as Greater than, lower ...
0
votes
1answer
32 views

OpenLayers 5.3 selected point feature does not return properties, but polygon does

I am having some issues in OpenLayers 5.3.0. The context is that I'm using Sharepoint lists as a backend to save feature data and OpenLayers is running in a Vue.js container. Everything works as ...
1
vote
1answer
25 views

Advance text style of feature in openlayers

Is there any way to create table or any html element in text style for features? i tried other ways like putting overlay on feature then in overlay i used table and html elements but had some problems ...
1
vote
0answers
12 views

Copying Features from multiple sources

I'm new to Python and trying to automate copying specified features from a bunch of nested geodatabases into a new geodatabase- script seems to work ok, except for the copying features part (the 2 ...
6
votes
1answer
3k views

Applying catgorized symbol to each feature using PyQGIS

I want to apply unique symbol to each feature. i have used following code for doing that from qgis.core import * from PyQt4.QtGui import * # supply path to where is your qgis installed QgsApplication....
0
votes
1answer
42 views

Drawing 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() ...
3
votes
1answer
1k views

Change the colors of polygons on a choropleth map with leaflet

I have data from different countries (=polygons) from 1990 to 2012 and depending on the data value I want to map the changes with a timeline enabling the user to visualize the changes (with colors) ...
1
vote
1answer
57 views

Defining polygon's area from OpenStreetMap

In OpenStreetMap, I have a multipolygon OSM feature with its relation ID 6040040 (example). How do I calculate the area of a such features using QGIS?
0
votes
0answers
20 views

How to obtain *.osm file by OSM relation ID?

I know an OSM relation ID for some multipolygon feature. How can I obtain *.osm file for the feature?
0
votes
0answers
16 views

Number of features does not match for my classification of each pixel

I'm running a rating on a my clip from Sentinel-2 as a reference to the diagram shown on: https://github.com/ceholden/open-geo-tutorial/blob/master/Python/chapters/chapter_5_classification.ipynb ...
2
votes
1answer
36 views

Some features listed in attribute table not visible on map in QGIS

My vector layer is a track file with points every 2-3 seconds. When added they all appear in the attribute table but not on the map view. There doesn't seem to be a pattern or any attribute that ...
0
votes
1answer
215 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
4answers
7k views

Zooming to selected features with ArcObjects

I am trying to figure out how to set the active view extent to be able to view all the selected features on the ArcMap. The Map has only one layer. The features are filtered with attributes. Below ...
0
votes
1answer
56 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
759 views

VectorLayer Feature setStyle makes features disappear in OpenLayers 4

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()....
5
votes
3answers
3k 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 ...
2
votes
3answers
91 views

QGIS feature form : Force attribute to save as uppercase

For example I have feature form with colum name NAME (with names of contries). I want that all counties names are in capital letters. As users enter the names in lowercase, uppercase, mixed ... I ...
1
vote
1answer
29 views

Add GeoJSON features from an API call in OpenLayers 4, layer not displayed

I'm trying to create a little demo to show the data from our API into a map but I cannot see my layer Here my code, is just basic for the moment, we just need to display the data: const projection = ...
1
vote
0answers
31 views

Splitting large amount of features using arcpy

We are publishing a geoprocessing service that will split a large amount of features in a file geodatabase. The script uses the arcpy.defense.SplitFeatures() method, a ResourceSrf layer or a user ...
0
votes
0answers
39 views

Convex Hull not outputting expected number of features

I have a .csv file with observations of various species and I want a polygon to illustrate the area where those species occur. I ran the Convex Hull, grouped by the species' names field, which ...
0
votes
1answer
24 views

Calculate feature extent OpenLayers?

I have a feature created from Well Known Text as following: var feature = format.readFeature(wkt , { dataProjection: 'EPSG:25830', featureProjection: 'EPSG:25830' }); When I add it to a ...
1
vote
1answer
34 views

Setting OpenLayers line labels by angle?

I want to write labels near linestring features on my map. I calculated but it works wrong. My layer style function is like following: layerFeatures = new ol.layer.Vector({ source: ...
3
votes
4answers
10k views

Dragging a feature in OpenLayers 3?

I'm trying to replicate something that was fairly easy in OpenLayers 2 in OpenLayers 3, which is: dragging an existing feature to a new location on the map. In OpenLayers 2 I just added a DragFeature ...
2
votes
1answer
87 views

Using filters to filter a variable value with GeoTools

I have a Java Swing application which loads a line shapefile and draws a map. I'm using a filter and a rule to filter out the lines in the shapefile where the attribute "traffic" is greater than 500. ...
27
votes
2answers
17k views

Reading feature class in file geodatabase using R?

I have a feature contained in a geodatabase that is larger than 2GB as an exported shapefile. I need to run an extract function in R to attribute the polygons with data from a raster file. Exporting ...
0
votes
1answer
268 views

Select features from a raster based on their colour to create a new layer

I have a map of the UK imported as a raster. It was originally a JPEG and has areas that are coloured red and purple. I have a data set imported from a CSV file showing UK locations as dots. I want to ...
1
vote
1answer
45 views

Split polygons by area/percentage with QGIS 3.x

Is there a function in QGIS 3.6 Noosa that allows me to split polygons with given area or percentage? There is a plugin for QGIS 2. "split polygons" that seems to have exactly what I'm looking for, ...
2
votes
1answer
42 views

Creating one table out of multiple feature collections and two properties?

I am trying to export one table out of the 18 feature collections I have created, each feature collection has the same geometry (counties of the state of California) and has the County ID (property '...
2
votes
1answer
21 views

QGIS3 - Fast jump to another feature

I am looking for a method (plugin) to choose next feature of my vector layer really fast. I need to edit a lot of polygons and fast choosing next record is really necessary (using arrow or something ...
1
vote
1answer
33 views

How do I change style/colour of a few selected features?

We have features which represent the locations of pupils within the local area and would like to change the colour of these features to represent whether they reside within the catchment area of a ...
2
votes
1answer
83 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 ...
5
votes
2answers
6k views

Copying selected (targeted) features to new shapefile using ArcPy?

I am trying to copy specific attribute table rows from one shapefile to a new shapefile that will contain only the specified rows in its attribute table, that is, if a field GDP_TOP10 = 1. I am ...
1
vote
1answer
46 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
71 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())....
6
votes
1answer
126 views

Combine multiple adjoining parts of a single feature

In QGIS, one polygon feature resulted from merger of several adjacent polygons. This one new polygon feature has a single line through it that I would like to eliminate. When hovering over individual ...
0
votes
1answer
97 views

Features placed 7.5 thousand kms off correct location using QGIS?

I have been counting muskrat dens on lakes with aerial photos by creating a feature in a separate shapefile. I checked my progress after doing about 80 small lakes and suddenly, half of the lakes ...
2
votes
1answer
31 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 ...
1
vote
1answer
107 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. ...
2
votes
1answer
962 views

Adding point then saving it to ArcGIS Server?

I use ArcGIS for Server. I have all of my data for my feature layer on that database. The point is being added by coordinates, but it is not saving to the database. I am getting the error "An error ...
1
vote
1answer
62 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()...
1
vote
1answer
38 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&...
3
votes
1answer
336 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 ...