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

learn more… | top users | synonyms

2
votes
1answer
210 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
185 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
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 ...
2
votes
1answer
268 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
221 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
134 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 ...
7
votes
2answers
9k 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
98 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
2k 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
964 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
246 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
118 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
158 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
165 views

Access attributes on featureCollection

The geoJSON-String: { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": {"title": "Standort 1 "}, "geometry": { "type": "Point", ...
1
vote
2answers
70 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
47 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
954 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
999 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
71 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
520 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
924 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
342 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
237 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
56 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
211 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
293 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
595 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
185 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
151 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 ...
4
votes
1answer
61 views

Dividing map into features with invisible divisor lines using QGIS?

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 ...
11
votes
3answers
842 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
873 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
90 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
56 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
138 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
532 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
85 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
330 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
417 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
280 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
132 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
2k 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
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 ...
0
votes
2answers
613 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
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 ...
3
votes
2answers
485 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
274 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
1k 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
81 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
2k 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 ...