1
vote
1answer
39 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
0answers
17 views

Zoom to a vector feature in a vector layer

I am using OpenLayers+GeoServer and I have a vector layer in a map with some features I would like to make a zoom and show the map centered in one of these features that I can get by ID. How can I do ...
1
vote
1answer
39 views

How can I transform raster to vector in ArcGIS?

I want to convert from raster data to vector dataset using ArcGIS. Raster data consists of pixels and center of z values. Vector data sets consist of points, lines and polygons and x,y values. When I ...
1
vote
0answers
29 views

Create vector layer from feature collection in OpenLayers

I have used a WPS process gs:UnionFeatureCollection to compute the geographical union of two collections of WFS vector features. The process returns a collection of features which I intend to display ...
0
votes
0answers
15 views

QGIS merge selected features tool malfunctions due to geometrical errors [duplicate]

The issue occurs using the 'Merge Selected Features' tool when there are geometrical errors in the features (not all are picked up by the 'check geometrical validity' tool). In 2.2 Valmeria, the ...
0
votes
0answers
71 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 ...
1
vote
1answer
77 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 ...
1
vote
0answers
94 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 ...
2
votes
1answer
906 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 ...
4
votes
3answers
3k views

Openlayers remove previously drawn polygon on starting to draw next one

Objective: At any point of time there SHOULD only be zero/one polygon(s) on a vector layer with a polygon control. I need the previous polygon to be removed as soon as user starts drawing the first ...
1
vote
1answer
122 views

How to abort a layer event in Openlayers

I have a problem ( How to stop features to redraw unwillingly in OpenLayers ) that might be solved by aborting the beforefeatureremoved or beforefeaturesremoved event. What I would like to to is to ...
2
votes
1answer
117 views

How to stop features to redraw unwillingly in OpenLayers

I have a problem where when editing features from a wfs vector layer. After some changes are made to the geometry, the feature redraws itself and the changes are lost. Usually the problem occurs more ...
7
votes
2answers
273 views

How to remove long linear strips from polygons?

I have a polygon layer representing impervious land cover. This was taken from a land cover raster dataset. The impervious data represents all impervious surface that is not buildings or roads. I ...
5
votes
3answers
1k views

How to update feature positions with clustering in OpenLayers?

I have an OpenLayers 2.12 map with a vector layer with a cluster strategy. All the static behavior is how I want it. Now I'd like to add the possibility to update the features' position. I do this ...
1
vote
1answer
101 views

Are There Any OpenSource GIS Software Programs With an “Interactive” Rotate Feature Option?

![Rotate feature option][1]Sorry if the question is too simple, but are there any open source GIS software programs available with an interactive "Rotate vector feature" option? Eg : ArcGIS has it ...
1
vote
1answer
489 views

openlayers trigger hover event

I have a bunch of tracks on screen in a vector layer. I used some hover and select styles in the layer styleMap and these styles are properly triggered by: var highlightCtrl = new ...
2
votes
2answers
309 views

How OpenStreetMap data layer works?

OSM map has a data layer and an information panel. How is it implemented? What is a type of the layer and URL of vector data source? How information panel works? Thanks for all!
2
votes
2answers
2k views

How to query which features of all vector layers intersect with a given bounds?

I am writing a Openlayers map app, and wondering whether there's a better practice to query which features of which vector layers intersect with a given bounds.. It's certainly not a good idea to ...
2
votes
1answer
1k views

How to deactive Vector Selection In OpenLayers wms features

This is my sample code and work fine :), But I have a little problem, I'm using multiple layer (WMS), when I zooming the layer will be shown or hidden. In my example bellow when OpenLayers level zoom ...
3
votes
1answer
3k views

Relabel Vector Points in OpenLayers

I have created two labeled vector points on an open layers map. I'm trying to change the label text dynamically. I tried changing the values where the stylemap gets the values from and calling ...
4
votes
3answers
9k views

Hover/Popup feature problem

im really having an issue here. I am trying to realise a map where i can hover over the features and they get highlighted (works), then i want to be able to click them (works) , i also want a div to ...