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 ...
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 ...
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 ...
0
votes
1answer
395 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: ...
7
votes
3answers
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
193 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
613 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. ...
0
votes
1answer
1k 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 ...
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); ...
0
votes
3answers
339 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
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
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
50 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
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 ...
2
votes
2answers
100 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
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
41 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
11k 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
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
45 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 ...
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": [ ...
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?
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
66 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 ...
2
votes
1answer
90 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 ...
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 ...
1
vote
2answers
2k views

Delete SDE feature class features with ArcPy

I'm working on a script that will empty my SDE database of all data. How would I go about deleting features from feature classes using ArcPy? I have an SDE connection created with a user that should ...
1
vote
1answer
318 views

I'm trying to zoom to a graphic, but nothing happens?

I'm trying to zoom to a graphic retuned from the query; query.OutSpatialReference = MyMap.SpatialReference; query.ReturnGeometry = true; After this query I used ...
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
2answers
606 views

Cannot register a Feature dataset

I am having an issue trying to register a dataset, and being able to edit a featureclass within it. I am new to SDE so please bear with my explanation. I read online you cannot register a feature ...
7
votes
3answers
7k views

How to export multiple featureclasses to shapefiles?

I have plenty features in a geodatabase. I need to save/export them into shapefiles, because my mate works with Manifold, which is not able to read geodatabases. Any Ideas? Click on every single 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 ...