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

learn more… | top users | synonyms

0
votes
0answers
153 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
116 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 ...
5
votes
1answer
4k 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
83 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 ...
2
votes
1answer
434 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
172 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
91 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
109 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
119 views

Access attributes on featureCollection

The geoJSON-String: { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": {"title": "Standort 1 "}, "geometry": { "type": "Point", ...
1
vote
2answers
58 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
35 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
542 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
499 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
64 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
417 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 ...
1
vote
1answer
565 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
258 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
137 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
1answer
52 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
165 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 ...
3
votes
1answer
206 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
453 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
157 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
141 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
54 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
487 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
576 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
72 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
49 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 ...
1
vote
1answer
115 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
295 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 ...
2
votes
2answers
76 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 = ...
2
votes
0answers
245 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
253 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..
5
votes
1answer
192 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
105 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
1k 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
230 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
283 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
967 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
305 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 ...
0
votes
2answers
180 views

Calculating distance to a feature from a reference line

I have multiple shapefiles, each containing a coastline for a specific year. I want to calculate the perpendicular distance to the shoreline from a fixed vertical reference line. Please recommend me ...
3
votes
2answers
936 views

ArcObjects snipped to Select all Features currently visible on the ArcMap screen (ActiveView)

I guess I have to get the extent of the ActiveView and then use it to perform a spatial search. Is that the proper way to do it? Please share the code snipped if you have any. Thanks.
2
votes
1answer
61 views

How does Mapnik Map Similar Features to Images

General Problem I want to be able to select all nodes inside of a bounding box that have similar properties. A good example would be: Map features that represent vegetaion. In other words: Basically ...
4
votes
2answers
1k views

How to copy selected (targeted) features to new shapefile using ArcPy?

I'm trying to copy specific attribute table rows from one shapefile to a new shapefile that will contain only the specified rows in its attribute table, that is, if a field GDP_TOP10 = 1. I'm using ...
1
vote
1answer
116 views

Why new feature disappears when editing polygon?

I try to create internal polygon within existing polygon. After I created a ring, I add a new feature inside the ring. Suddenly, this new feature disappears. I confirmed that this feature went to the ...
3
votes
1answer
151 views

Adding feature object to PostGIS feature type from GeoServer

I am trying to set up a system that will post feature objects periodically to a PostGIS db and display them via GeoServer and OpenLayers on a web site. Is it possible to add the new feature objects to ...
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
1answer
1k views

Display list of OpenLayers Features which are currently visible on screen

I have an OpenLayers map a few thousand Points of Interest. These POIs are Vector Features rendered in a Vector Layer. We are loading the POIs once in order to minimize load on the server. Next to ...