Questions tagged [features]

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

91 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
1k views

Rotate feature by angle (QGIS)

Trying to offset a line by 10 degrees, rotating around an endpoint. I've read up on the older plugins and the new Rotate Feature tool, but am having trouble. I am using QGIS 2.8.9 Wien, reinstalled ...
4
votes
1answer
502 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 ...
3
votes
0answers
659 views

Modify features not updating on vector layer

I have point vector layer in my application.Now I am trying to modify its coordinates. I am able to do it but its not reflecting on layer. Here is code I am using : var selectInt = new ol.interaction....
3
votes
0answers
515 views

QGIS “Align Edge” equivalent?

I'm trying to move from Arc to QGIS, and spend a lot of time making maps out of polygon features. One tool that I can't find is an equivalent to ArcGIS' topology tool "Align Edge" - is there such a ...
3
votes
0answers
70 views

problem creating and editing features at extent edges

I'm in the process of creating a polyline feature layer of tectonic plates. I'm working with WGS-84 reference system, which means the extent is +-180 in lon, and +-90 in lat. In order to create the ...
2
votes
1answer
63 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 ...
2
votes
0answers
39 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 (...
2
votes
0answers
57 views

Create filter expression by selected elements?

Is it possible to automatically create a filter expression for the Query Builder by selected elements?
2
votes
0answers
64 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 ...
2
votes
0answers
345 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....
2
votes
0answers
86 views

How to generate a single kml file for each feature in a kml file?

I have a kml file containing features that I would like to parse out into separate kml files for each feature/header. I'm hoping there is an easy way to do this using geojson.io or QGIS. How can I ...
2
votes
0answers
94 views

Select features tool- QGIS 2.14

When i select polygon with select tool- the whole polygon colored: i seek a way to select the shape only with outline, as it possible in ArcGIS. I know i can change the opasitiy in "Map Tool" but ...
2
votes
0answers
58 views

Location of island “Trinidad”?

I was reading a travel diary of an ancestor of mine who describes a cruise from Hamburg to Natal (South Africa) in 1860. At one point a rock island named Trinidad (supposedly only inhabited by animals)...
2
votes
0answers
496 views

Problem merging polygons in QGIS

I've got a polygon shapefile with 11 features (11 Italian cities) and I want them to merge them into one, however I cannot activate the "Merge selected features" button. Any suggestion about the ...
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. ...
2
votes
0answers
646 views

Moving multiple features to snap to nearest edge

I have thousands of long rectangular polygons which I need to align to a specific/nearest edge. The screenshot below demonstrates what I need to achieve: Yellow and white dotted features need to ...
2
votes
0answers
307 views

Reconstituting features from E00 format, without ArcGIS

Recently I used OGR to convert an ESRI E00 format file to shapefiles. I am dealing with vector data, many polygon features per file. I was dismayed to find that none of the resulting shapefiles(you ...
2
votes
0answers
379 views

ArcGIS API for Silverlight : query that displays layer attributes in a dataGrid

I'm working with ArcGIS API for Silverlight to build a webmapping application and I'm trying to display my attributes in a datagrid. I made a try by using this code : void QueryTask_ExecuteCompleted(...
2
votes
0answers
272 views

Geoserver Feature Versioning Support

I am creating a map feature editor that supports versioning & rollback using Geoserver as the WFS. From what I've read online, it seems Geoserver supports feature versioning. My question is how ...
2
votes
0answers
1k views

3D features (Polyline, Polygon) intersection library

For my research I am looking for a (python) library to get the intersection of some 3D features. The features can be Polygons or Polylines. Mostly I need to intersect a plane with my features and get ...
2
votes
0answers
175 views

Cannot reselect polygon after modify

I've got various vector layers on a OL map. On one layer I have a few draw controls. If I draw a polygon I can select it (the whole pop-up thing works). This also works for all the other features. ...
2
votes
0answers
64 views

Is there a way to distinguish between digitized and pasted features?

Is there a way to tell if an added feature in QGIS is in fact a newly digitized one or a pasted feature? I think QGIS is treating both cases in the same way, emitting the same signal: ...
2
votes
0answers
147 views

Is it possible to lock a single feature from editing in ArcObjects?

We're developing an ArcMap addin. Now we need a way to lock a feature from editing/deleting. Is this possible with ArcObjects or do we have to create our own implementation of locking? Example: User ...
2
votes
0answers
1k views

Change the symbol for a single feature in ArcObjects?

Is it possible to change the symbol for a single feature in ArcObjects? If so how? I know it's possible to setup the map symbology for different field values of a feature class, but I'd like to ...
2
votes
0answers
225 views

Process to gather raster cells under features

I need to gather individual raster cells underneath a feature in a featureclass as quickly as possible. It seems that most ArcObjects functions have problem with island polygons, multi-part polygons, ...
1
vote
0answers
30 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 ...
1
vote
1answer
32 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, ...
1
vote
0answers
36 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/...
1
vote
0answers
21 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 ...
1
vote
0answers
29 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
vote
0answers
47 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
0answers
101 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
0answers
51 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 ...
1
vote
0answers
89 views

Obtain the number of features in a Shapefile using NodeJS

I'm using the shapefile NPM library which works well, but it doesn't provide a count of the number of features in a Shapefile. Is there some other library which can access this information (other than ...
1
vote
0answers
32 views

Change the color attribute of a mulitline layer

I'm very new in world of the shapefiles, i have a code that add point in a multiline layer, but when i open with ArcGis each layer have a different color, and i want that all the layer have the same ...
1
vote
0answers
247 views

Get feature's geometry from feature Form's argument

Under a pyqgis form, the feature from Form's argument doesn't has geometry . Here the code I used: def formOpen(dialog,layer,feature): geometry = feature.geometry() Geometry return is None. ...
1
vote
0answers
146 views

feature in the formOpen method of a custom form display two feature object

Qgis version : 2.18.1 I was having trouble when launching a custom edit form because of my use of feature in the formOpen method. I want to get an attribute from the current feature as this: feature....
1
vote
0answers
167 views

Feature class - HEC-GeoRAS

I am currently working with HEC-GeoRAS I am trying to import data from a shapefile into the feature class River. I would like to insert a type of data DOUBLE in the attribute ARCLENGTH of the table ...
1
vote
0answers
85 views

Why are features added to layers via Python script not being displayed?

I am using PyQGIS with QGIS version 2.18.11. Can layer.addFeature() be used on a layer which is a clone of a layer which was imported from a .xml file? This code throws no errors: def ...
1
vote
0answers
31 views

Displaying all features of datapoint QGIS

I've got a SHP file with 6000 features and I would like to click on each point on the map and know what the features are for that specific point. It is a lizard database and doing this would tell me ...
1
vote
0answers
535 views

Aggregating image information over two features in Google Earth Engine?

As per Iterating over years for features in feature collection using Google Earth Engine?, I am currently working with the Hansen data (Global Forest Change) in Earth Engine. I have imported two ...
1
vote
0answers
187 views

Selecting Feature in more layers and highlighting them using PyQGIS?

I'm developing my plugin and I want after selected some feature highlight them on mapCanvas. My code is below but it does not work correctly, I don't get an error but I cannot view the highlighted ...
1
vote
0answers
148 views

how to get (number of) clustered features before map completely rendered?

When you add features into ol.source.Cluster, you can access original ol.Feature object but clustered ol.Feature which is currently displayed on the map. check this codepen with console log. it doesn'...
1
vote
0answers
120 views

Allow WFS searches but no total data download

I am using GeoServer and I published some data. I want that users can extract features information by predefined queries but I do not want that they can also download the entire dataset with ...
1
vote
0answers
43 views

Trouble when append values from attribute table of shapefile

I need to record the values for all fields of a shapefile in a dictionary. When I run a loop that for the first index of list picked up values from attribute table correctly. The problem for the ...
1
vote
0answers
514 views

All coordinates with an specific distance to one point

I'm sorry for my english! I have to get the following informations: I have a specific point with long/lat. Then i draw a circle with a specific radius (e.g. 5km). The intersections of all roads on the ...
1
vote
0answers
542 views

Add feature no longer working

I'm using QGIS 2.16 but this was happening on 2.14 as well and I hoped updating would fix it but no. I create a new shapefile, doesn't matter whether it's a point, line or polygon, toggle edit ...
1
vote
0answers
31 views

Features becomes bigger on zooming in Openlayers 2.13

i'm new in developing Openlayers applications.I want to add Points and LinearRing objects to the same layer. My Problem is, when I add a LinearRing and I am zomming in, the geometry gets bigger and ...
1
vote
0answers
72 views

How to create a raster “grading” several different layers (polygons)

So I have a bunch of different shapefiles loaded into qgis: i.e.: - shape of poor soil quality - shape of cheap land areas - shape of poor weather areas now I would like to create a map which "...
1
vote
0answers
134 views

About performance of qgis with big layer or a lot of layer

does anyone has a feedback on the performance of a big layer by exemple : I have a layer with 100 features, each feature contains specifics attributes with dynamic data, the data change each second ...