A representation of a real-world objects on a map.

learn more… | top users | synonyms

1
vote
1answer
33 views

Max Number of Feature Selection in ArcGIS and QGIS [on hold]

What are the limitations on the maximum number of features that you can select in ArcMap and QGIS?
1
vote
1answer
43 views

Is it possible to change the geometry without startEditing the layer

I am working in c++/QT 4.5 with the QGis 2.8.2 API. I had to change the geometry of features in a layer each second. Each second new data comes from the Ethernet connection, the application gets the ...
1
vote
0answers
18 views

How to change programmatically the value of attribute in one of several feature in a vectorLayer

I have a vectorlayer that contains a lot of feature, I know that each feature has an unique Id Each of them has some propertie like coordinateX, coordinateY, color, name With a QTimer, each 2 sec I ...
1
vote
1answer
11 views

Building error on changegeometryvalues

I am working with c++/QT and c++api gqis 2.8.2 I want to change the geometry of a feature, I have this code : QgsVectorLayer * lLayer = mMapLayer.value(TRACKS); QgsVectorDataProvider * ...
1
vote
1answer
29 views

Selecting features within bounding box using QGIS?

What is the best way within QGIS to select all of the features within a rectangular bounding box? Is it necessary to create a separate layer with the box, then to use the intersection tool within ...
0
votes
0answers
17 views

Modifying attributes of a shapefile using java

I have a polygon vector shape-file in which each feature has an integer attribute. I want to update this integer attribute(for all features) programatically using java on regular intervals of time. ...
1
vote
1answer
13 views

How to add a point in a empty vetorLayer creadted in memory

I am working in c++/qt 4.5 and qgis api c++ 2.8.2 I had to create and empty vectorLayer and add Point I saw in the qgis cookbook that it is possible to create a vector layer in memory ,I did that, and ...
0
votes
1answer
22 views

QGIS print composer atlas shortcut next feature

I have 25 features in the atlas of the print composer and I need to check every feature before exporting. It's quite annoying to click always the field in the status bar, so I wanted to use the ...
2
votes
1answer
36 views

OpenLayers3 change Layer source URL (or replace features loaded from another URL)

I have a map with a Vector layer, containing features from a GeoJSON source: var map = new ol.Map({ layers: [new ol.layer.Tile({ source: new ol.source.OSM() }), ...
3
votes
1answer
25 views

Add Features from KML to a GeoPackage using GeoTools

Using GeoTools v13.2 I need to add features to a GeoPackage from KML. So far I can get the features in a SimpleFeatureCollection which can be added to the GeoPackage: public void ...
1
vote
1answer
65 views

Label only selected feature using QGIS?

Is it possible to make an expression that labels only the selected feature in QGIS? I tried it with this expression in the label tab: attribute( $currentfeature, 'LAENGE' ) But it labels all and not ...
1
vote
1answer
15 views

GeoTools Geometries lost when storing features to shapefile [duplicate]

As you know, the geometry column name of schema for saving into a shapefile must be "the_geom". I have a SimpleFeatureCollection with a schema, geometry name of which is not "the_geom"; It is ...
0
votes
3answers
50 views

Spatially Joining census tracts to neighborhood shapefile?

I have a bunch of census tracts that I want to spatially join with larger neighborhood geographies so that the numeric fields of the census tracts are summed on the join. A spatial join based on ...
1
vote
0answers
17 views

VectoreLayer Still Empty even if attribute has been set with value

I am working with the qgis api c++ 2.8.2, my application is written in QT 4.5.3 / C++ I had to create a vectorlayer in memory with attributes and features and export it to a shp file to import it in ...
0
votes
0answers
16 views

Iteratively Change Object's Instance Attributes PyQGIS

I am trying to create new instance attributes (NOT feature attributes) for a collection of features in a vector layer in PyQGIS. I'm getting some weird results and am wondering if this is even ...
2
votes
2answers
46 views

Adding a Polygon to an OpenLayers3 Map with coordinates read from a string

I do have a bunch of coords as a string read from a wps request result. I want to display these coordinates as a new layer added to the exisiting map. What I do is to split the string by containing ...
0
votes
0answers
36 views

Snapping feature nodes doesn't work after feature creation (filter involved)

I've experienced a strange behaviour during editing mode: I have set a filter to 2 features (polygons), part of on of my PostGIS layers: "name"='A' OR "name"='B' After that I have created a new ...
1
vote
2answers
85 views

How to select features containing specific text string using an expression in QGIS

I need to style a survey parcel polygon shapefile, based on whether the polygon is a mineral claim or not. Unfortunately, the only information on whether a polygon is a mineral claim or not is ...
1
vote
1answer
22 views

How to change the colour of a Feature on a FeatureLayer using ArcGIS Android 10.2.6 API

I have a featurelayer generated from offline shapefile read from SD Card, with shapes representing houses. Android version is 4.2, API is ArcGIS Android 10.2.6. The user would select a shape/feature ...
0
votes
0answers
33 views

How to display labels on a FeatureLayer using ArcGIS Android 10.2.6 API

I am trying to display labels for a featurelayer generated from offline shapefile read from SD Card. Android version is 4.2, API is ArcGIS Android 10.2.6. Here is the code for the FeatureLayer: ...
0
votes
0answers
28 views

OpenLayers, onSelect event does not work with markers

I'm creating different Layer to draw marker : function Init(){ markers = new OpenLayers.Layer.Vector("Marker Layer"); selectControl = new OpenLayers.Control.SelectFeature(markers); ...
1
vote
1answer
95 views

How to read 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 ...
3
votes
1answer
45 views

How do I edit multiple features at one time?

In my case, there are about 30 overlaid features. How do I select all and edit them at one time? I want to reshape the features, mainly using the node tool to reshape a straight line into a (fake) ...
1
vote
1answer
43 views

Vector Click Event is not working

Actually I figured out some problems and corrected it. I declared the overlay just outside the init function. So now I got the 'featureselected' event working properly. But 'featureunselected' event ...
1
vote
0answers
63 views

How can I display annotations for certain features?

I am trying to display annotations for single features. I know it is possible to display annotations for layers, and for that entire map, but I would like to display them based on a SINGLE selected ...
0
votes
0answers
14 views

How can I get back to the Feature that my Geometry is the geometry of?

Let's say I have some Feature and just got its Geometry out of it. Geometry geometry = feature.getGeometry(); Is there a way to get back to the "originating" feature if I did not have the variable ...
1
vote
0answers
42 views

ArcGIS Android negative feature OID

I am attempting to add a feature to an existing feature layer hosted on the ArcGIS for developers website. However, when I attempt to apply edits to the map, it does not ever actually add it, and when ...
0
votes
2answers
67 views

Split multipart shapefile into separate shapefiles [closed]

I have a multipart shapefile, which I would like to split into many individual shapefiles (by FID for example). Is there some way to do this in ArcGIS 10.x without using python?
-2
votes
1answer
49 views

How to get all feature and attribute list from OpenStreetMap? [closed]

I want to get the list of all features their attribute list for my application from OpenStreetMap. Where can I get that?
0
votes
1answer
71 views

extend extent of geoJSON layer - Leaflet

I am zooming to the extent of a set of geoJSONs collected in a FeatureGroup with this call: map.fitBounds(myFeatureGroup.getBounds()); ...I would like to extend the extent a bit; as it is the ...
0
votes
1answer
53 views

OpenLayers feature of featurecollection removal issue - how to force map refresh?

I have a Features collection loaded as JSON from PostGIS, it is represent a set of vector areas over map (units responsibility alignment). I need to create new, modify and delete existing zones ...
2
votes
1answer
135 views

How to create and remove multiple QgsRubberBands in PyQGIS?

Currently the following code-snip works great to highlight a shape based on the 'feature' and 'layer' variables: self.rubberHighlight = QgsRubberBand(self.iface.mapCanvas(),QGis.Polygon) ...
0
votes
1answer
30 views

Openlayers cluster stragegy total count

How can I get total feature count of vector layer: var mylayer = new OpenLayers.Layer.Vector(null, { "protocol": myWFSProtocol, "styleMap": style, "strategies": [ ...
0
votes
0answers
18 views

Is it possible to catch mouse events from a hidden feature layer?

I want to avoid drawing a feature layer. I want it to be hidden and load as fast as possible. I have tried with opacity zero but i think it still draws. Is there any way to minimize the time of being ...
0
votes
0answers
88 views

How to make Openlayers feature icon dynamic color

I would like to make the icons of my features in the map have dynamic colors. I think I have to use SVG so I can use CSS to dynamically change the icon's color but I don't know if I can use it as an ...
0
votes
1answer
35 views

assigning individual sytles to features crated by arrays - Openlayers 3

My ajax request generates multiple arrays that then create polygon features. These features then populate a vector layer and display on my map. How can I assign a different style to each new polygon ...
0
votes
0answers
22 views

UniqueValueRenderer on GUID fields doesn't work

Have anyone been using ArcGIS UniqueValueRenderer on attribute fields of type GUID? I've created a UniqueValueRenderer that has a default symbol. If I do: renderer.Fields.Add("OBJECTID"); or ...
0
votes
0answers
18 views

Feature Rotation Exception

I am getting an error when I try to change the value of a feature's Rotation Value. I have a schematic feature that I would like to rotate by changing the field's ROTATION value, but everytime I try ...
2
votes
1answer
105 views

Cutting rectangle set (not squares) into triangles using ArcGIS for Desktop?

I have some large features that I need to split into smaller pieces for terrain alignment through vertices in another program. I figured triangles would be the best solution. So basically I want to ...
1
vote
1answer
50 views

Create Multiple Circle

I am trying to make many points in a map as a grid. The code makes what I expect but the time to load is quite long so I suppose that there should be other ways to be more efficient drawing many ...
0
votes
0answers
47 views

How to get a field value from wfs Layer GWT OpenLayers!

i want to zoom on a polygone wich contain the value "3" in the table attribute with GWT OpenLayers i found that i can have all the field value with String value= ...
2
votes
0answers
118 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 ...
1
vote
1answer
35 views

Create Multiple Feature Layer and Add to MXD

I am really stuck with this one and cannot seems to get the code to execute. Every time I do so, I get the error: Input Features: Dataset [u'Test1'.....] does not exist or is not supported. My guess ...
1
vote
0answers
43 views

Not able to close custom edit form in ArcPad 10.2.2 using ok button

Summary of problem: I have problem with ArcPad in that the "ok" button on my custom edit forms is unresponsive when I am trying to add a new feature. Project set-up: I am using ArcMap 9.3.1 and ...
0
votes
0answers
68 views

Features disappear when moved in edit session, but only sometimes

About 75% of the time, when I move a feature in an edit session the feature disappears. The feature remains in the attribute table, but when I zoom to it it doesn't exist anywhere. The rest of the ...
0
votes
0answers
53 views

OpenLayers get feature from layer at viewport position

How can I get a feature from layer at a viewport position, in openLayers 2.12. For example something like... Layer1.getFeatureAtPosition(x,y)
0
votes
0answers
24 views

getFeatureFromEvent from multiple layers simultaneously in OpenLayers

I'm trying to return multiple features from two layers from a user click (one feature from each layer)? I'm using openLayers 2.12. I have 2 vector layers containing polygons, and a container layer ...
0
votes
1answer
31 views

How to set a maximum amount of features to be drawn in every zoom level

I want to apply a form of generalization/specialization to my Open Layers map. Is there a way to set the amount of WFS features to be rendered based on the zoom level? In geoserver you can set the ...
0
votes
0answers
45 views

Select feature within radius

I am developing a plugin (C++) and somehow I am stuck (I am very new to this). I start the plugin which has an own gui. There is a button to select features from the vector layer. Clicked on it, the ...
0
votes
1answer
88 views

Delete features from FeatureCollection in GeoJSON?

I have a FeatureCollection in GeoJSON. I want to delete all features that have an ID that doesn't start with "B". { "type": "FeatureCollection", "features": [ { "type": "Feature", ...