The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
15 views

how to add map into browser using openlayer3 and geoserver?

i am new in openlayer 3 , please check my code , no error showing in console , but map is not showing in browser , please help mymap <style> body ...
0
votes
0answers
13 views

Like query with “singleChar” does not work correctly in OpenLayers.StyleMap

I am working on a GIS API, based on OpenLayers 2.13. I want to represent my data using WMS and Vector layers. Recently, I have started developing the support for LIKE queries in filters and in style ...
-2
votes
0answers
20 views

Free Map Hosting Option, for MapServer, OpenLayer Web GIS [on hold]

I need free web hosting for my WEB GIS project. I create it with MapServer, Open Layer and PostgreSgl for database. Can You tell me some option ?
1
vote
0answers
19 views

Transform GeoTiff to WMT

I'm not a gis specialist at all so this question may seem dummy to you. I have a GeoTiff base of images (hundreds) I'd like to transform to a WMTS repository to put behind a web server. Web pages are ...
0
votes
0answers
12 views

How to make Openlayers feature icon dynamic color

I would like to make the icons of my features in the map have dynamic colors. I think I have to use SVG so I can use CSS to dynamically change the icon's color but I don't know if I can use it as an ...
1
vote
2answers
59 views

Is there any library can perform polygons buffering/ inflating/ merge/ overlap at server side?

I have a set of polygon data express in lat long. I would like to perform some tasks (polygon buffering, inflating etc etc ..) in server side and output the result to client side (client is a web ...
0
votes
0answers
21 views

How to Transform from Pixel Coordinates (LCC Projection) to Lat/Long?

I want to transform pixel coordinates from a vector graphic (as .svg) to long/lat values. My vector graphic represents germany and consists of multiple polygons. I've already successfully written a ...
0
votes
1answer
21 views

Do Vector-tile file-names need zoom levels and if so, why?

I'm new to mapping and m looking to self-host some PBF-based vector tile files, mainly for a hybrid mobile app (Phonegap, HTML5, Openlayers or Mapbox-GL-JS). My question is, if I need to generate or ...
-4
votes
1answer
31 views

Openlayers PanZoomBar won't work [on hold]

In which cases PanZoomBar in Openlayers won't work, and what could be the solution? I'm using Openlayers 2.13, and sometimes, i cannot scroll to zoom in/out, only by clicking can be zoomed.
0
votes
3answers
22 views

why use geoserver layername workspace prefix?

I am using openlayers to consume geoserver. I have created a geoserver WMS layer and preview it. var tiled = new OpenLayers.Layer.WMS( "GIS:pipelines - Tiled", ...
1
vote
3answers
115 views

How to get extent of multiple geometries?

I can query a geometry extent like this: select ST_Extent(geom) from tableName; But sometimes I am querying geometries more than one. I am getting 5 points that different locations. So I wanto to ...
0
votes
2answers
29 views

Is there a way to use IN filters in OpenLayers?

Is there a way to use IN filters (like the IN operator from SQL) in OpenLayers 2? For example, let's say, I want a filter like this: city = 'Paris' OR city = 'London' OR city = 'Lisbon' In ...
0
votes
0answers
32 views
1
vote
1answer
39 views

draw square openlayers 3

I am starting to convert old code of openlayers 2 to openlayer 3. In the old version you could make polygon shape based of the amount of sides like in the example below: ...
1
vote
0answers
27 views

How to get geoJSON from spring REST Controller?

I am developing a GIS application with java(Spring-4.1.5 + Hibernate-4.3.8) and OpenLayers. For this project I use GeoTools-13RC, HibernateSptial-4.3, jts-1.13 and jackson-2.5. In this project, I have ...
1
vote
0answers
16 views

How get geoJson layer whit geoTools? [duplicate]

I have a class in java: "MyPoint" Class: @Entity @Table(name="MyPoint") public class MyPoint{ @id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long Id; @Column ...
2
votes
2answers
77 views
+50

Multi label with mulit placement in OpenLayers

I have a vector layer in OpenLayers. It has some attributes like left, right, top, bottom, etc. I want every feature to be multi-label (to have more than one label). The javascript code is as follows: ...
1
vote
1answer
196 views

Open Layers Plugin not working in QGIS 2.8.1 [duplicate]

I am using QGIS 2.8.1. I have installed the Open Layers Plug, however it is not showing up in my list of plugins. I confirmed it's installed in the plugin manager. Is anyone else having this issue?
0
votes
1answer
17 views

A method for limiting the number of results the Get Feature Interaction brings through in OpenLayers 3

I have so far managed to return a list of all the customer names at a single point when the vector layer is clicked on. I am looking to limit this to only show the first (or just one) record.Could ...
0
votes
1answer
15 views

Limiting returned records for an interaction in OpenLayers 3

I have the following script that returns a list of all the customer names at that point when it is clicked on. I am looking to limit this to only show the first (or just one) record.Could this be ...
0
votes
0answers
21 views

OpenLayers - Adding the title parameter to a feature

I have the following layer: marker = new OpenLayers.Layer.Vector('marker', { styleMap: new OpenLayers.StyleMap({ externalGraphic: '../images/marker.png', ...
3
votes
1answer
22 views

Logging in Openalyers3

How to use the console.log() on openlayers3 objects? For example if I log the map object in openlayers2 this is a result. Here i can observe the map, layers, baselayers etc. and its very helpful in ...
1
vote
0answers
26 views

Understanding Openlayers MapServer configuration?

I need to implement functionality like this http://www.mpbhuabhilekh.nic.in/bhunakshaweb/. I searched on net and found it can be done using Openlayers. I need simple and clear steps on how to to ...
0
votes
0answers
17 views

How to add vector layer in Open Geo Suite?

Plugin for the add vector layer:- OpenLayers.Layer.Vector = OpenLayers.Class(OpenLayers.Layer, { isBaseLayer: !1, isFixed: !1, features: null, filter: null, selectedFeatures: null, ...
0
votes
0answers
32 views

Making CQL filter to work for all the overlays layer

In my application I am using multiple layer as overlays and want to use CQL filter to work for all of them. Can CQL filter be applied to base layer as well as more than one overlays layer? If yes, ...
1
vote
2answers
35 views

What are GeoExt alternatives?

What tools do I need to accompany OpenLayers to achieve what GeoExt is capable of? GeoExt can show frames of TOC, legends, etc. And how about jQuery and Bootstrap combination? Can that became a ...
0
votes
0answers
22 views

Heron mc/ Openlayers wms load

I have configured a webviewer using Geoserver/Openlayers/Geoext and Heron-mc. In the examples the overlays and baselayers automaticaly load when first starting the application. I have changed the ...
0
votes
1answer
36 views

Calculate distance between two points in projection EPSG:900913

I have two points in 900913 projection and I want to calculate the distance between the points. I don't want to transform points to 4326 and then calculate. How do I do this?
0
votes
0answers
13 views

Openlayers bounding box dateline crossing

I got a map layer on which a bounding box is drawn. This is working quite well except when east < west which means the date line is crossed by the bounding box. In this case the box is drawn like ...
1
vote
0answers
19 views

Printing a map using GeoExt, Openlayers and GeoServer

I am trying to print an Openlayers map using GeoExt and Geoserver. Here is the code printProvider = new GeoExt.data.PrintProvider({ url: printServiceURL, method: "POST", // "POST" ...
1
vote
1answer
24 views

Create Multiple Circle

I am trying to make many points in a map as a grid. The code makes what I expect but the time to load is quite long so I suppose that there should be other ways to be more efficient drawing many ...
0
votes
1answer
22 views

Parsing XML file with hundred polygons using OpenLayers

I'm using this script but It's not working. <script type="text/javascript"> var raster = new ol.layer.Tile({ source: new ol.source.OSM() }); var xml = new OpenLayers.Format.XML(), wkt = new ...
0
votes
0answers
17 views

SaveStrategy - save two features at once - date of first gets overwritten

Openlayers: 2.13.1, Geoserver: 2.4.4, WFS: 1.1.0 Having a feature Update in OpenLayers with saveStrategy.save() leads directly to a POST request with an XML Body that looks like this: ...
0
votes
0answers
9 views

WFS: SaveStragy.save(features) on more than one feaature smashes coordinates

Openlayers: 2.13.1, Geoserver: 2.4.4, WFS: 1.1.0 var features = layer_selectable.getFeaturesByAttribute("Geo_ID", index); for(var i=0;i<features.length;i++) { ...
0
votes
0answers
11 views

Changing index fails to show raster layer above vector layer in OpenLayers?

I have 6 different layers. Some are layers with markers and some other with raster data. In some point, when I zoom in the map, I create a vector layer. Upon adding the layer on the map I want a ...
0
votes
0answers
21 views

Can <PropertyIsBetween> be replaced by a “AND” and two conditions in an SLD Body?

I am working on a GIS API that uses OpenLayers. I have a method that autimatically generates an SLD Body given the right properties. For this filter "azimuth > 50 AND azimuth < 100", I obtain ...
0
votes
0answers
26 views

OpenLayers doesn't display WFS Geoserver layer

I've been trying to set up simple example with OpenLayers and Geoserver. The layer "test" consists from one point (19.91273, 50.06781). Layer projection is EPSG:4326. However, I can't see point on ...
0
votes
1answer
31 views

How to draw a circle in OpenLayers 2 and measure its radius dynamically?

With OpenLayers 2.13, I want to draw a circle and obtain its radius at each mousemove. The radius would then be returned as arguments of a callback function, for example. But of course, this is not ...
1
vote
2answers
26 views

Getting WFS when click on parcel

When i open some page, i want to show only WMS layers. When clicking on some parcel, as response, it should call WFS, and show information of that parcel, and only that one. How can i manage that with ...
0
votes
0answers
35 views

Change mbtiles projection with openlayers and proj4js

I've got mbtiles file whithin tileserver.php (klokantech) This file has got specific projection with in local coordinate system. +proj=tmerc +lat_0=0 +lon_0=49.05 +k=1 +x_0=2300001.7 ...
0
votes
0answers
10 views

How to display MrSid file on Openlayers map?

Currently i am implementing Graphical Information System using java tapestry. The problem is somehow i cant display SID file on a map. I'm using Openlayers to show the shp files i need without ...
0
votes
0answers
50 views

Installing mysql_fdw on Windows

I want to create a join between a spatial database (PostGIS) and a non spatial database from MySQL. Both databases have a unique ID who can be joined. I found a way to do this with PostgreSQL and a ...
0
votes
1answer
23 views

Using attribute-based line to style lines with different Color for WMS in GeoServer?

I am trying to use the styling of WMS using the so called SLD. I never used it before and I was wondering if I can do styling of a layer which has lines based on property. I found here that something ...
0
votes
0answers
13 views

How to get a field value from wfs Layer GWT OpenLayers!

i want to zoom on a polygone wich contain the value "3" in the table attribute with GWT OpenLayers i found that i can have all the field value with String value= ...
0
votes
0answers
41 views

Trouble calculating bounds for TMS raster image tile layer

I am using TMS tiles created from a flat image. Originally the export tool created a sample openlayers file that works correctly. The top level tile folders are labelled 0-5. I've renamed these to 2-7 ...
0
votes
0answers
24 views

Live Updating Map With Large Dataset

I need to be able to display a map on a webpage with multiple layers of squares and points, possibly up to 10,000 objects per layer. There could be up to maybe 20 layers, but having move than a ...
0
votes
0answers
8 views

Show on the map the path between 2 places on open layers

I am new to Open Layers, and so far I've been able to show a map and put some makers on it. Unfortunately I can't find how to show on a map the path between 2 "places" (where for each place I have its ...
1
vote
1answer
57 views

Webmapping js library with best support to WFS-T

I've tried to use WFS-T in ol3 but it was really a hard task, it seems that WFS-T is badly undocumented feature and it's much complicated to implement, and i'm looking for recommandations concerning ...
0
votes
1answer
26 views

Remove CQL_Filter from Open Layer Map

I'm using Open Layer to show my map with some layers. I've a field where I can add some filters with CQL code. I can successfully add a new filter to my map, and only the right points appear in my map ...
0
votes
1answer
20 views

Is there a way to limit google street view to extent on openlayers 2?

I want to limit the google street view area in my map to to 500m radius from where the street view panoram start (where the user clicked the mouse on the map) Is it possible ?