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

learn more… | top users | synonyms

2
votes
1answer
65 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
94 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
41 views

What is the action name in qgsinterface for the deselect feature from all the layer tool?

I want to add the deselect feature from all the layer tool in the toolbar when the qgis user start editing a vector layer. anyone know what is the name of this action in qgis api 1.8?
0
votes
0answers
94 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 ...
2
votes
1answer
2k 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
73 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 ...
0
votes
2answers
705 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 ...
2
votes
1answer
210 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
134 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
81 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
76 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
95 views

Access attributes on featureCollection

The geoJSON-String: { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": {"title": "Standort 1 "}, "geometry": { "type": "Point", ...
1
vote
2answers
53 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
29 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
277 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
2answers
266 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 ...
1
vote
1answer
54 views

Label layer name

How can I find out the names of the layers that I can put in this example? I want to show labels with names of cities in my map. I'm using geoserver. Thanks var wms_layer_labels = new ...
1
vote
0answers
327 views

Add layers from WMSCapabilitiesStore to MapPanel and select polygons

I created a store and added layers to a grid Panel, when you click add layer to map it works fine, the problem is that when I call the function controle(layer) I can't select polygons in the layer ...
0
votes
0answers
32 views

How to split a feature using GDAL

I want a feature to be cut into 2 or more based on deviation of a segment i.e., the angle between 2 successive segments. At places, I may also require to merge 2 or more features.
1
vote
1answer
347 views

Copy features from feature class to an existing feature class with arcpy

I see CopyFeatures_management, but this creates a new feature class. http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//001700000035000000 Is there a way to copy features from a feature ...
1
vote
1answer
179 views

MapInfo / MapXtreme is it possible to get the Features from a Table

I'm trying to get the Features from a table with MapXtreme 7.0.0. I use winforms with the MapControl from MapInfo. Is it possible to get all the Features from a table? Something like: ...
0
votes
1answer
98 views

Problem in the operation “Add xy Coordinate” in ArcGIS10

I have a problem in the operation "Add xy Coordinate" in ArcGIS10. For a point shp theme with many point objects I did “ArcToolboox - Data management- Features- Add xy Coordinate”, after that the ...
0
votes
0answers
76 views

vector layer does not render points after modifyFeature

I'm implementing an appication with openlayers 2.12. Gets features from Geoserver after CQL search. Now, when the users clicks on one point/line/polygon, gets textual info via websockets (nodejs) for ...
0
votes
0answers
23 views

Searching with “run feature action” tool

I have folder location in QGIS: C:\Users \ Geodata \ [%"folder1"%] \ [%"subfolder"%] I can view folder with "run feature action tool". Is possible to insert something like [% * %] to search all folder ...
0
votes
1answer
49 views

represent multiple geometry as single feature

There is a school. it is on two disjoint areas, one is primary wing and other is secondary. I need to make single feature from the two areas such that, there is only one column in gis table, i.e. only ...
3
votes
1answer
121 views

Get features in order they are selected using QGIS

Is there a way of establishing the order that a user selected features using QGIS and Python? By example: we have a network of line features representing a road network, and the user defines a route ...
2
votes
1answer
139 views

Can QGIS open folder with “run feature action” tool?

Is possible to open folder with "run feature action" tool? I can open specific file like .dwg, but don`t know how open folder in specific location. This folder contain multiple .dwg files and when ...
2
votes
2answers
327 views

Iterating polygons on a SpatialPolygonsDataFrame in R with readWKT

I have fetched some data (39 objects) from my PostGIS database and converted this data into a matrix: rs <- dbSendQuery(con, "SELECT ST_AsText(polygon_accumulation) AS ShapeWKT from ...
2
votes
1answer
141 views

Is there any way to find the shortest distance from a point to a line?

I´m working with QGIS 1.8.0. I have a map divided into many features (thousands of small rectangles) and I have a point at the center of each of those features. I also have a map of the transmission ...
1
vote
3answers
126 views

One SelectFeature control for every Layer?

I would like to have one SelectFeature control for every layer so that I can have different representational behaviour for every layer. Means in one layer I want to highlight the features when the ...
2
votes
1answer
50 views

Divide map into features with invisible divisor lines

I'm working with QGIS 1.8.0. Is there a way to divide a map with a grid but make the divisor lines invisible? I have a shapefile as the one in the left and I want it to see as the one in the right but ...
10
votes
3answers
347 views

What is a non-geographical feature?

When using the term "feature" in GIS, what is often (if not always) meant is a geographical feature which "is a representation of real world phenomenon associated with a location relative to the ...
1
vote
1answer
353 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
62 views

How to know the real size of grid? [duplicate]

Im working with QGIS. When dividing a map with a grid I set in the paramters X=0.1 and Y=0.1. Could someone please explain what does that mean? I mean would the map be divided into 100mx100m squares? ...
0
votes
0answers
46 views

Borderlines of states subdividing my GRID

![enter image description here][2]I just merged a map of a country with its states, so I went from having 1 feature (the whole country) to 32 features. Is there any way to have the borders of the ...
0
votes
0answers
66 views

Can't use the advanced digitizing tools?

I'm trying to merge some selected features on QGIS with the Merge Selected Features tool of the Advanced Digitizing tools Menu, but I can't. They're gray, not colored and I cannot click on them. How ...
1
vote
1answer
99 views

Dividing map into features (whole squares)

I'm using QGIS 1.8.0. I divided a map of a state with its municipalities into many features using a GRID (small squares), but instead of creating one ID per feature (one ID per square), it creates one ...
0
votes
2answers
209 views

How to create a MultiLineString feature with a postgis layer in QGIS

I have troubles handling with MultiLineStrings in QGIS. I added the table where I defined a column as geometry(MultiLineString, 31468) as a postgis layer in QGIS. Now I want to create features with ...
0
votes
0answers
50 views

batch clipping code produces some shapefiles containing no features

#MASS CLIPPING (ogr2ogr) #Stefan Safranek #Shape Files by US-States import os, glob import subprocess from osgeo import ogr # Input folders saveFolder = "C:\\Users\\Stefan\\Desktop\\experiment ...
2
votes
2answers
69 views

Why is OpenLayers only displaying the first features in my KML?

I have an OpenLayers map (that you can find here, use the blue search area) that reads in a KML string that is written from Perl using data from oracle. It reads the KML like this: var vector_Layer = ...
0
votes
0answers
31 views

Order of ID numbers of map features

Im working with QGIS 1.8.0. I divided a map into several features and wanted to know if there is a way to have the individual ID numbers for each feature in an increasing order? (equally spaced ...
2
votes
0answers
203 views

3D features (Polyline, Polygon) intersection library

For my research I am looking for a (python) library to get the intersection of some 3D features. The features can be Polygons or Polylines. Mostly I need to intersect a plane with my features and get ...
0
votes
1answer
165 views

Minimum records in an excel for converting shape file

I'm Converting an excel with 3000 rows and 10 columns. My Problem is while exporting excel to a shapefile resulting that "The Maximum Record length has been exceeded". Plz Suggest..
4
votes
1answer
144 views

How to convert a column of numeric IDs to letters?

I'm working with qgis 1.8.0. I divided a map into 500 features (small rectangles), and now I have the doubt if there is any way to change the ID of the attributes from numbers to letters? When I did ...
0
votes
1answer
87 views

How to add information to an attribute table?

I'm working with qgis 1.8.0 and did the following: 1.-Divided my shapefile into 830 features (small rectangles). 2.- Added to my shapefile several points containing weather information using the "add ...
1
vote
1answer
917 views

How can I do feature selection on WMS layer (added JSFiddle example)

I have WMS layer with roads serverd from Geoserver (MS SQL View Layer) http://jsfiddle.net/Alophind/5pSrJ/ I want the user to be able to click on a line and "highlight" it , set it selected so he ...
0
votes
2answers
186 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 ...
0
votes
2answers
152 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 ...
0
votes
1answer
699 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 ...
3
votes
2answers
217 views

How can I turn islands into individual features in QGIS?

I have what seems like a pretty straightforward task in QGIS: I have a shapefile that, in some cases, groups multiple separate landmasses into a single feature. For example, the Hawaiian islands are ...