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

learn more… | top users | synonyms

1
vote
2answers
339 views

How to change the value of an attribute using QgsFeature in PyQGIS?

I would like to update one attribute of a feature. However, I don't know to update it using the feature object. I have to use data provider to update it. layers = ...
1
vote
2answers
132 views

Contours from DEM with human features

I am rather new at GIS and I would like to have some guidance on what follows. I have some DEMs derived from LiDAR data. These DEMs contain building and other human features (e.g., roads). I was ...
2
votes
0answers
285 views

Z-Index in GeoJSON features using leaflet

I have a watershed polygon with sub-watersheds contained within the larger watershed. I would like the sub-watersheds drawn on top. Can i control the drawing order of features within a geojson object ...
0
votes
1answer
4k views

OpenLayers 3: Create a map based on ImageStatic and add features (polygons, linestring etc.)

I have an image that I need to create an OL3 map for, so I've done: var map; $(function() { var imgProjection = new ol.proj.Projection({ code: 'pixel', units: 'pixels', ...
0
votes
1answer
63 views

Selecting Features in ArcGIS based on their relation other layers

I am extremely new to GIS mapping and I'm trying to do what I believe would be relatively simple. I have two layers: one contains data on school locations in Chicago and the other contains data on ...
0
votes
0answers
64 views

Why is QChainage not assigning linear referencing sequentially from start to finish?

I have a simple linear feature representing a pipeline that needs linear referencing every kilometer. When I add the specifics to the tool it runs fine but my result does not count sequentially from ...
2
votes
1answer
1k views

How to drag a feature in Open Layers 3

I'm trying to replicate something that was fairly easy in Open Layers 2 in Open Layers 3, which is: dragging an existing feature to a new location on the map. In Open Layers 2 I just added a ...
0
votes
1answer
46 views

QgsFeatureList features as QStrings

I am catching the selectionChanged signal and passing the selected layer to the registered method. Once here, I want to know the features that were selected. I do this with a call to ...
0
votes
1answer
81 views

In QGIS are there similare construction tools to ArcGIS?

For a project we are using ArcGIS to reshape autogenerated features. For that we often use the construction tools polygon, rectangel, circle, etc in ArcGIS. The right angle is also an often used tool. ...
0
votes
1answer
65 views

Vector Layer editing in OpenLayers

I can draw a polygon in OpenLayers by this code. var points = []; var point = new OpenLayers.Geometry.Point(0, 0); point.transform('EPSG:4326', 'EPSG:900913'); ...
0
votes
1answer
123 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 ...
1
vote
0answers
21 views

Query from plugin that shows result on Map and in Attribute Table

I'd like to create a plugin that performs a static (no user input required) query that, based on a condition, selects all the features on the map and displays these in the attribute table. I have the ...
0
votes
0answers
21 views

Link/unlink buttions in the Attribute Table's Form View

Toggling the edit button, in the Form View/Table View, buttons for adding/deleting a record is available. Two additional buttons are also available (Fig. 1). From the look of the icons they perform ...
2
votes
2answers
159 views

Update raster value to reflect total number of points within cell- python

I have what should be a fairly simple task, but I can't seem to figure out how to do it. I have to do it in python/arcpy/gdal/whatever because I'm trying to automate this process for a hundred or so ...
5
votes
2answers
309 views

Need to merge overlapping line segments

I'm working with fish distribution data, and have combined several 24k habitat maps into a single layer that I'll call "critical habitat" In merging multiple distributions into one dataset, there are ...
0
votes
1answer
132 views

Copy selected features to another feature class

I had two polyline feture classes representing the same objects that I spatially joined together to reconsile/consolidate data about. At the time I was directed to remove some features from the ...
0
votes
0answers
106 views

How to achieve labeling in openlayers as Google did?

I am tried to find a solution for my question. Please look the images below. Google Google are awesome!!.. They are doing fantastic technique in labeling part. Please look the marked labels, the ...
0
votes
1answer
626 views

How to find nearest city using Geonames features codes

I've got about 300,000 lat/lng coordinates of events that I'm combining into a large map. The coordinates come from all over the world. For each point, I want to find the nearest city of at least XYZ ...
0
votes
1answer
128 views

v.edit break: how to loop through XY coordinates on using GRASS on Windows 7

Trying to follow the suggestions on this thread: splitting a lines layer using points However, how to do so in a windows environment using the GRASS command console is beyond me, so I'm attempting ...
3
votes
1answer
67 views

Qgis creating point within complex shapes (with holes) [duplicate]

I'm looking for a tool to create a point in every polygon, that will be placed in the polygon. these are complex shapes with holes. the point must not put in those holes! the "plugin RealCentroid" ...
2
votes
1answer
390 views

Adding a point and then saving it to the server

This seems like a fairly simple thing to do, but I am not exactly sure how to complete it. I use ArcGIS for Server. I have all of my data for my feature layer on that database. The point is being ...
1
vote
1answer
65 views

Using QGIS, features are suddenly placed 7.5 thousand kms off correct location

I've been counting an muskrat dens on lakes with aerial photos by creating a feature in a separate shapefile. I checked my progress after doing about 80 small lakes and suddenly, half of the lakes ...
3
votes
3answers
169 views

keeping track of edited features QGIS

Does anyone know of a way to keep track of last added or edited features in QGIS? A kind of Editor Tracking tool.
1
vote
2answers
81 views

Arcgis javscript calculating lines in a place

I have two mapservice. Fist service includes parcels and second includes water pipe lines. I want to calculate total pipelines length in a parcel. How can I calculate this via arcgis javascript API. ...
1
vote
1answer
157 views

Accessing Attributes of Individual FeatureLayer Points with ArcGIS

I have been struggling for some time with selecting points from a featureLayer which is stored on an ArcGIS webserver. Each of these point graphics contains information such as an ObjectID, SiteName, ...
1
vote
1answer
149 views

popup when new feature is created

I am trying to create a code where a feature is created, and then automatically a popup window will open. Is there anyone who can assist me please? Here is a part of the code and I want the popup to ...
2
votes
1answer
422 views

OpenLayers featureclick event does not work with named graphic (graphicName)?

OpenLayers 2.13. (and 2.13.1) I have been trying to make featureclick event working with vector layers and named graphic features. It works with externalGraphic, but not named graphic (graphicName: ...
0
votes
1answer
55 views

How can i create single feature fwith Combining Selected feature qgis?

I am trying to create a single Qgsfeature from the Combination of selected features in Pyqgis. Currently i create the feature using a loop over selected features and combine them 1 by 1. but this ...
0
votes
1answer
77 views

openlayers gets all features

I need to get all features' names, and for that I did a listview to put all features' names on it. So when i click one feature, not on the map but on the listview, the feature must be selected. Here ...
1
vote
2answers
546 views

Display photo in GeoExt popup

I have point feature with name PointPhoto. This feature have attribute: id area PhotoPath Now I am using GeoExt popup to display this attributes, but I cant find a way to display image from ...
0
votes
0answers
96 views

Point features disappear when moved using QGIS 2.0

When I move, either by the node or the move function, a feature symbol on the map canvas, it simply disappears, not just the label, the whole thing. CTRL-Z brings it back. I'm using a MAC OS-X. I've ...
5
votes
1answer
637 views

Sharing a Folium Interactive Map w/ Embedded Markers

I have been experimenting with a few Python packages that have great potential for my dissertation research. Since I use pandas for pretty much everything, geopandas was a natural choice for working ...
2
votes
1answer
186 views

How to show in a custom QGIS form the feature and/or geometry info?

I need to show point coordinates on the from dialog used to edit the attributes of a point.. I see that in the formOpen the dialog receives a layerId and a featureId, but no iface object, so how can ...
1
vote
0answers
157 views

How to select and highlight feature by attribute

I have the below code which does a select by shape on my arc map how do I achieve this with attributes 1.The map has only one layer 2.There is a filter for the attributes on features Below is the ...
1
vote
3answers
2k 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 ...
2
votes
1answer
180 views

Wrong values in Feature/Point to Raster

I've got an XY dataset that I'd like to convert to a raster, based on the ETrel_whol field. The ETrel_whole field includes NaNs and ranges from 0-1. I would like to convert this to a raster, with a ...
0
votes
0answers
182 views

how can i read an attribute value from qgsfeature?

How can i read an attribute value from qgsfeature ? i am trying to update some attribute using other and i have to read value from attribute in the qgsfeature . my source code: provider = ...
0
votes
0answers
128 views

OpenLayers - feaures from WMSGetFeatureInfo are not shown on layer (but they exists)

I have a project with google as base layer and geoserver serving WMS layers (structures - multipolygons) that are in EPSG:2039 The layers are showing fine on google base layer (I guess OL re-project ...
6
votes
2answers
6k views

setStyle() function for GeoJSON features - Leaflet

Ok, since I already asked a very long question about this, but since it didn't get any new replies for a while, and not to get confused in details, I will keep this one simple the best way I can. If ...
1
vote
1answer
92 views

map can only have one feature, after user click

I'm using openLayers 2.13.1. I have a map wih a vector layer and Editing tools. I want the map to have only one feature even if the user keeps adding. So I want the new feature to automatically ...
2
votes
2answers
1k views

How do I modify features during runtime, in a GeoJSON feature group on Leaflet?

I have added some GeoJSON to my Leaflet powered map as below. (Altered version) var array_of_layers = L.layerGroup([]); var styleholder = []; var belgium_style = {color: "#d3e46f"}; var bosnia_style ...
3
votes
1answer
718 views

QGIS select feature, “add to current selection” feature

I am trying to perform a feature selection on qgis similar to "add to current selection" interactive selection method in Arcgis Desktop, is that possible? An example: I perform a spatial query and ...
1
vote
0answers
207 views

GeoTools: SimpleFeatureCollection to KML error CoordinateReferenceSystem

I want to export a SimpleFeatureCollection (Read from a MySQL DB) to a KML file, here is my code used to read the infos into the console: private void featureCollectionToKML(SimpleFeatureCollection ...
3
votes
0answers
102 views

Filtered SimpleFeatureCollection really slow on Map and other operations

I'm working with a shapefile having about 85.000 features. I need to select some of these using a filter and then showing these on a map. Now... If I draw the entire shapefile's features the creation ...
1
vote
0answers
132 views

OpenLayers - Features in cloned layer changes style with original feature

Please help! My situation is that, I clone() a "newLayer" from an "oldLayer" with its features. Both of them seems correct at first. But then when I tried to change the style of "featureA" in the ...
0
votes
1answer
140 views

Access attributes on featureCollection

The geoJSON-String: { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": {"title": "Standort 1 "}, "geometry": { "type": "Point", ...
1
vote
2answers
66 views

How to remove features from geojson by mouse selection?

There are these unnecessary lines in my geojson: You see, not all the borderline was deleted when I merged two countries. Is there any way to quickly select and remove the features in a practical ...
2
votes
0answers
41 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 ...
1
vote
1answer
742 views

Get Features from OpenLayers Layer.Vector not working

polygon_layer = new OpenLayers.Layer.Vector("Polygone", { projection : projLonLat, strategies : [ new OpenLayers.Strategy.Fixed() ], protocol : new ...
1
vote
3answers
729 views

How to select features of visible layers in QGIS

In QGIS 1.8 I used plugin "Select features of visible layers by rectangle" to know the layer that owns a visible feature. In QGIS 2.0.1 this plugin is no more available. I wonder if it is possible to ...