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

learn more… | top users | synonyms

0
votes
0answers
8 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
23 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
28 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
75 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
12 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
15 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
21 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
53 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
43 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
29 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
55 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
38 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
57 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
42 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
48 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
44 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
124 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
27 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
68 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
28 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
20 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
93 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
48 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
39 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
102 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
34 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
37 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
61 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
44 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
20 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
26 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
40 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
73 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", ...
1
vote
1answer
43 views

Can I style a feature point based on its id?

I wonder if its possible to style a feature point which belongs to an Open Layers vector layer with points by using its id. For example I have in this layer 3 points with ids: a,b and c. Right now ...
0
votes
0answers
38 views

uk postcode outcode border data

I am aware of this: First character boundaries However, this only gives you the borders for, for example, 'L' rather than: L1, L10, L11, L12 etc. Can I obtain these fine grained border data from ...
1
vote
0answers
57 views

Get Feature Count

My situation is as below, Database 1 : SDE database.Topo Feature Class : 170 Database 2 : SDE database.AOI Feature Class : 1 I want to get feature count of 170 feature classes base on selected AOI ...
0
votes
1answer
25 views

WFS layer without features

I have a layer with many features and when I add it to a map as WMS layer it works. But if I add the layer as WFS it seems there are no features. The code I use to load WFS layer is: var ...
2
votes
1answer
101 views

How to delete a double feature in QGIS?

I am working with QGis, and I have a layer that has some double features. I want to delete one of them, but not both of them. How can I do that easily?
1
vote
1answer
73 views

Qgis 2.7 (Dev) feature rotation?

Curious if the following code has a blatant error that has been overlooked with respect to rotating a single polygon feature. The *.geometry().rotate(...) returns a '0', indicating it was successful ...
0
votes
1answer
33 views

OpenLayers3/GEOJSON - Feature 'source'?

I'm fresh with OpenLayers/GEOJSON... Anyway,vector layer with features (lines, polygons..dots..) and it pulls those data from GEOJSON ("type":"FeatureCollection") file. Is there a way to see ...
1
vote
1answer
66 views

Multiply whole column with the field calculator in QGIS

I have a layer with the field size. I did some mistake with the value and now I need the values multiplied by 16. But instead of going through 500 lines and recalculating them I would like QGIS to do ...
3
votes
2answers
216 views

Draw Paths Automatically

I have the following data: The pink represents digitized hiking trails done on a different software that is completely inaccurate compared to raster images. They do however have attributes with the ...
0
votes
1answer
68 views

Merge two points of two different polygons to get one polygon at the end

I would like to join points from two different features. I already searched for plugins but so far but didn't find one working plugin or solution for my task. So here is a picture of 2 ...
0
votes
0answers
13 views

Creating multiple plots on long line feature using QGIS? [duplicate]

I have a very long line feature, e.g. a river and would like to plot along the length at the feature at a small scale, so it would be multiple plots. I have done this in ArcGIS for Desktop before ...
1
vote
0answers
42 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 ...
1
vote
0answers
45 views

Generate layers based on feature values

First of all, I am very new to the GIS world, so bear with me if the question is stupid. I am using ArcGIS and here's what I try to accomplish: I have a feature class (let's call it Areas) storing ...
3
votes
3answers
170 views

Ways to deal with thousands of features of vector layer in OpenLayers

I am building a webgis portal too show a big number of polylines (road network) and points (villages, cities etc.). All my data are stored in a POSTGIS and throuh geoserver and Openlayers I display ...