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

learn more… | top users | synonyms

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

How to use ArcGIS 10.2 Features to JSON output in web maps?

Using the Features to JSON tool that is now available with 10.2, is there additional formatting that needs to be done to the files before they can be displayed as web maps?
0
votes
1answer
31 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?
0
votes
1answer
423 views

JSON coordinates not showing on Open Layers 3

i hope you guys could help me. its been several days since it tried and failed on populating my markers using a json Method. Please point out where im making a mistake. Thanks. Below is my code: ...
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 ...
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 * ...
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
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 ...
2
votes
1answer
1k views

How to deactivate Vector Selection In OpenLayers wms features

This is my sample code and work fine :), But I have a little problem, I'm using multiple layers (WMS), when I zoom the layer will be shown or hidden. In my example bellow when OpenLayers level zoom ...
7
votes
4answers
2k views

OpenLayers Selectfeature get mouse position

I'm have been searching for several hours and do not find a way to get mouse coordinates after a SelectFeature, which returns the feature by itself. I saw that this has been asked several times ...
0
votes
1answer
1k views

OpenLayers create marker (feature with icon) from WKT

I have a point object WKT. Like this: POINT (25.04568 48.221548). Also I have an icon in my project folder. My goal is to show on a map an icon that represents a feature. Can it be just a normal ...
0
votes
1answer
148 views

Openlayers selected feature unselecting on map zoom

I have createc a select control and a StyleMap that includes default marker and select marker. var mystyle = new OpenLayers.StyleMap({ "default": new OpenLayers.Style("null", { ...
2
votes
1answer
35 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() }), ...
0
votes
1answer
2k views

Having trouble selecting polygon from existing layer (using OpenLayers.Control.SelectFeature)

I am hoping someone can point me in the right direction. I am not a programmer, so that is my first roadblock. ha The problem: I have an existing polygon layer and I am trying to select one of the ...
0
votes
1answer
20 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 ...
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 ...
2
votes
2answers
656 views

editing existing lines

I have a quick editing question. I have a main line (street) from which I want to extend other small lines to reach some points (manholes), but I want to keep just one feature (the main line). I ...
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 ...
1
vote
3answers
350 views

javascript function to search all OpenLayers vector features covering a pixel

I have an OpenLayers map that draws features in a vector layer. The features are selectable and have a popup on select. Unfortunately in a lot of cases the features overlap so it can be impossible to ...
1
vote
1answer
214 views

How to set the holeModifier on OpenLayers.Control.DrawFeature to always be active?

I would like to create a button "draw a hole" taht uses by default the holeModifier functionality but the user dont need to press the cttrlBtn. The "standard" way I guess, would be to create a way of ...
5
votes
1answer
156 views

Creating feature from part of state boundary in shapefile of U.S. states?

I have a shapefile of U.S. states. I want to create a feature layer from it so that I can do a Near analysis with it. Suppose that I am interested in the Georgia boundary, but only the part of ...
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 ...
0
votes
1answer
220 views

How to submit data to modify feature using applyEdits of ArcGIS API for JavaScript?

I'm new to ArcGIS API. In a form, how can you submit data to modify a feature using applyEdits? No map is involved with this. I have a form that populates the editable data with javascript. When the ...
0
votes
0answers
616 views

Why am I getting an “Error while inserting populated row into Insert cursor” on saveEdits?

I've created a new feature layer where I am allowing users to add polygons. It has a few attributes, but I am not setting them on the graphic when I add it to the feature layer's graphics collection. ...
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 ...
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
4answers
3k views

Zoom to selected features with ArcObjects

I am trying to figure out what is the best way to set the active view extent to be able to view all the selected features on the Arc Map. 1.The Map has only one layer. 2.The features are filtered ...
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
89 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 ...
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 ...
2
votes
2answers
102 views

Feature extraction in remote sensing! [closed]

Which are the most common features in order to perform a supervised classification in remote sensing? Furthermore anyone worked with SAR features? Which are the most commonly used? Can anybody suggest ...
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
63 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
48 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?
6
votes
4answers
12k views

Cutting features to do opposite of clipping in ArcGIS Desktop? [duplicate]

What´s the easiest/smartest way of getting the opposite output of the clipping tool? I just need the area of feature A1 which is not covered by feature A2 in a new Layer/File. Now, I get the result ...
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
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 ...
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": [ ...
4
votes
4answers
3k views

Where did my Create Features window go?

I closed the window and now I can't find it again. I've tried the Editor toolbar dropdown and Create Features is not even on there (at all, not even greyed out). Suggestions?