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

learn more… | top users | synonyms

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 ...
1
vote
1answer
12 views

Can I style a feature point based on its id?

I wonder if its possible to style a feature point which belongs to an Open Layers vector layer with points by using its id. For example I have in this layer 3 points with ids: a,b and c. Right now ...
0
votes
0answers
19 views

uk postcode outcode border data

I am aware of this: First character boundaries However, this only gives you the borders for, for example, 'L' rather than: L1, L10, L11, L12 etc. Can I obtain these fine grained border data from ...
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 ...
1
vote
0answers
34 views

Get Feature Count

My situation is as below, Database 1 : SDE database.Topo Feature Class : 170 Database 2 : SDE database.AOI Feature Class : 1 I want to get feature count of 170 feature classes base on selected AOI ...
0
votes
1answer
20 views

WFS layer without features

I have a layer with many features and when I add it to a map as WMS layer it works. But if I add the layer as WFS it seems there are no features. The code I use to load WFS layer is: var ...
0
votes
1answer
21 views

OpenLayers3/GEOJSON - Feature 'source'?

I'm fresh with OpenLayers/GEOJSON... Anyway,vector layer with features (lines, polygons..dots..) and it pulls those data from GEOJSON ("type":"FeatureCollection") file. Is there a way to see ...
0
votes
1answer
10 views

Hide an OpenLayers Marker but Keep the Line String associated with it

I'm drawing circles as range rings around a point using line strings. I will be "attaching" the rings to a moving item Is it possible to delete or hide the default orange marker without deleting or ...
0
votes
2answers
379 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 ...
1
vote
1answer
48 views

Qgis 2.7 (Dev) feature rotation?

Curious if the following code has a blatant error that has been overlooked with respect to rotating a single polygon feature. The *.geometry().rotate(...) returns a '0', indicating it was successful ...
2
votes
1answer
80 views

How to delete a double feature in QGIS?

I am working with QGis, and I have a layer that has some double features. I want to delete one of them, but not both of them. How can I do that easily?
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 ...
1
vote
2answers
273 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 = ...
0
votes
1answer
181 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: ...
6
votes
2answers
5k 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 ...
0
votes
2answers
252 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 ...
3
votes
2answers
197 views

Draw Paths Automatically

I have the following data: The pink represents digitized hiking trails done on a different software that is completely inaccurate compared to raster images. They do however have attributes with the ...
1
vote
1answer
31 views

Multiply whole column with the field calculator in QGIS

I have a layer with the field size. I did some mistake with the value and now I need the values multiplied by 16. But instead of going through 500 lines and recalculating them I would like QGIS to do ...
0
votes
1answer
38 views

Merge two points of two different polygons to get one polygon at the end

I would like to join points from two different features. I already searched for plugins but so far but didn't find one working plugin or solution for my task. So here is a picture of 2 ...
0
votes
0answers
13 views

Creating multiple plots on long line feature using QGIS? [duplicate]

I have a very long line feature, e.g. a river and would like to plot along the length at the feature at a small scale, so it would be multiple plots. I have done this in ArcGIS for Desktop before ...
1
vote
0answers
28 views

Reconstituting features from E00 format, without ArcGIS

Recently I used OGR to convert an ESRI E00 format file to shapefiles. I am dealing with vector data, many polygon features per file. I was dismayed to find that none of the resulting shapefiles(you ...
1
vote
0answers
40 views

Generate layers based on feature values

First of all, I am very new to the GIS world, so bear with me if the question is stupid. I am using ArcGIS and here's what I try to accomplish: I have a feature class (let's call it Areas) storing ...
3
votes
3answers
65 views

Ways to deal with thousands of features of vector layer in OpenLayers

I am building a webgis portal too show a big number of polylines (road network) and points (villages, cities etc.). All my data are stored in a POSTGIS and throuh geoserver and Openlayers I display ...
1
vote
1answer
122 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
0answers
52 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
1answer
78 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? ...
4
votes
1answer
58 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 ...
0
votes
0answers
19 views

Can you re number representations in arcmap?

I created a representation and added loaded rule or import symbols but had to delete some. Now the numbers in front of the name of the rule is out of order ( [2],[3],[5],[7]). I know you can change ...
0
votes
0answers
60 views

Render order of vector features in OpenLayers 3

In a web map application I have a vector layer from a GeoJSON source of country borders. The layer loads perfectly and interactions such as ol.interaction.select works fine as well. I want to style ...
2
votes
2answers
110 views

IdentifyFeature() use via PyQGIS?

Intent is to have two variables (QgsVectorLayer and feature.id() within said layer) as input for the Identify feature map tool in Qgis (2.6). Wondering if a feature can be selected programmatically ...
2
votes
3answers
427 views

Server side clustering - cluster (feature) geometry

I am trying to implement server side clustering and show it using OpenLayers. I am using this good material as an example. As a clustering result, a get some list of features, some of them are ...
0
votes
0answers
42 views

how apply an SLD to vector layer in geoTools java

I have been using geoTools 11.2 in Java 1.8 to display a vector layer with a desired style of it in worldwind 2.0. I have read features and styles and created objects. I have my own defined vector ...
8
votes
4answers
6k views

Get all the points of a polyline

I have some polyline feature objects in python. Now I want to get all the points of polylines. For example, if a polyline has start point [0,0] end point [5,5]. Result: ...
0
votes
0answers
9 views

Regarding metadata and features

I have to work on geographical metadata and features for which I need to store them in a database.I tried to search for the metadata and features from various places like INSPIRE but am unable to find ...
2
votes
2answers
66 views

Shapes not matching number of records

I am trying to merge features (polygons) from 7 subregions in ArcGIS (v10.x). Merge goes fine but when I do any other process on it (e.g. Adding a field, calculations etc), the merged file is ...
0
votes
1answer
44 views

Make city labels inside of its country

I have City points and a Country polygons. Is it possible to make it so that labels of the cities are inside of their own country without converting to annotation? I'm using ArcGIS 10.1 for Desktop.
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 ...
1
vote
1answer
36 views

How to label a road with my symbol multiple times?

I am trying to label a road that I create with Select Features, with a symbol multiple times along the road. Is it possible to recreate my symbol multiple times along the road to label it?
4
votes
1answer
1k views

How to integrate OpenLayers and ArcGIS Server?

I am using the OpenLayers JavaScript API within a web application. I am displaying non-base layers hosted on an ArcGIS server. When I load the ArcGIS layers, I load them using ...
7
votes
1answer
2k views

How to Verify if a FeatureLayer already exists?

I am currently working on a project where when user loads up their map (mxd) into our system, we create several custom featuerlayers for them. My problem is though, I have no idea how to check if I ...
0
votes
1answer
91 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 ...
4
votes
3answers
493 views

How to find out what features /tags are included in an .osm or .pbf file?

I would like to load osm data into a postgis (postgresql) database. In How to load OSM data into PostGIS preserving all Tags? there has been a solution posted: Download the OSM files (in .osm ...
2
votes
1answer
982 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 ...
2
votes
2answers
80 views

“Phantom” features showing up in QGIS 2.4

I tried searching for this, but am unsure exactly what my problem is. I am using QGIS 2.4 on Windows 8.1. I have a project in which I have been digitizing from OpenMaps. Last night I was doing some ...
1
vote
3answers
47 views

How to narrow raster features to single cell width?

Are there any tools or existing workflow which convert raster features (such as roads, rivers, electric lines etc.) which are (or can be) multiple cells wide to a single cell widht (i.e, center line). ...
1
vote
2answers
238 views

In OpenLayers 3, how do I draw an extent as a LinearRect?

In OpenLayers 2, this was an easy feat. I was able to simply instantiate a LinearRect given the coordinates of my BoundingBox, and then add the LinearRect as a feature to a vector layer I had added to ...
1
vote
1answer
58 views

Feature extraction in remote sensing!

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 ...
0
votes
1answer
465 views

Get layer name by click on features OpenLayers3

I want to add selec interactions to my OL3 map. Adding two different select interactions like this is not working. Only the second one works. Like this: var select = new ...
3
votes
2answers
227 views

Why use feature extraction?

Why is feature extraction important? Why do we have to reduce the feature space? Is it only a computational problem when we use hyperspectral imagery or does this procedure improve the ...
6
votes
2answers
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 ...