OpenLayers is a JavaScript library for creating dynamic map widgets for web sites.
1
vote
0answers
40 views
CQL Filter on WMS [duplicate]
I have CQL_Filter which filters WMS layer and displays only the points I asked for,
The problem is that all features even the hidden, keep showing its popup when I click on their spot.
So, as I ...
0
votes
1answer
61 views
How can I set the base layer of map before initialization?
I have been using map.setBaseLayer(layer); to switch to my preferred map layer, using the localStorage variable layer that is stored in my web browser, upon initialization of the map. But I realize ...
0
votes
1answer
44 views
render kml 10mb KML file cordinates data on OSM map throws stop running script error in OpenLayer.js file
I am trying to render the kml file having 18000 line string data on OSM map using openlayer HTTP strategy.
To render OSM map i am using GeoExt.MapPanel and ExtJS 3.4 viewport.
The problem is I am ...
0
votes
0answers
108 views
Open Layers, Geoserver WMS and OSM Cloudmade?
While I have some familiarity with GIS, this is my first attempt using OpenLayers.
I am trying to display the following layers in Openlayers:
1) Cloudmade Base Map
2)WMS Data overlay from my ...
0
votes
1answer
70 views
Load a feature from geoserver using WFS protocol on localhost
I am a student enginner in GIS , I want to load my features from geoserver using WFS protocol. I'm using this code but it's not appearing in my browser
OpenLayers.ProxyHost = ...
0
votes
1answer
69 views
OpenLayers - possible to display detailed GIS data?
I have an OpenLayers app to plot point features, but need to read in a very detailed multipolygon vector layer to plot an accurate location.
I'm currently loading the polygon layer via TinyOWS. I've ...
0
votes
2answers
41 views
In what format WMSgetFeatureinfo return data?
In what format WMSgetFeatureInfo return data ?
and how get particular data from html table using openlayers ........
thanks for any help...
0
votes
0answers
51 views
Move OpenLayers.Popup up to 10 pixel and left 15 pixel?
good afternoon, I have a popup that is in the map and I want only move 10 pixels high and 15 pixels to the left, the problem is that when you change its position in latitude and longitude, is in ...
1
vote
1answer
64 views
OpenLayers.Control.DrawFeature insertXY problem
I've set up a simple web application where users can draw vectors (points, lines and polygons) using OpenLayers.
Actually digitizing is handled controls (OpenLayers.Control.DrawFeature) and I'm using ...
2
votes
1answer
61 views
Changin features' pointRadius based on the current zoom level
I need to have my features change their pointRadius based on the current Zoom level. My questions are:
Would it be possible to use Rule Based Styling techniques to overcome the problem?
If yes, it ...
5
votes
1answer
117 views
Possible ways to display maps offline, inside mobile hybrid app
I want to develop a mobile hybrid application to run on both Android & iPhone devices in which i want to display my own map data. I have the SHP files with the data i need. I have Geoserver and ...
0
votes
2answers
65 views
WFS reprojection problems
In geoserver i have a layer in EPSG:4326.
In OpenLayers i add it on map as WFS:
markerLayer = new OpenLayers.Layer.Vector('Markers',{
strategies: [new OpenLayers.Strategy.BBOX()],
...
1
vote
0answers
34 views
Grouping of layer with geoserver and openlayer
I need help to display layers group/non group
1. with checkbox to select layer or group
2. icon/symbol for each layer.
I saw example codes from OpenLayers where it's adding the layers statically. ...
1
vote
1answer
37 views
openlayers point intersection
For example, I have 2 points and I want to know if they intersect. If yes, I need to delete first points. Should I use OpenLayers .intersects method? Because it greatly depends on zoom level.
Or ...
0
votes
1answer
72 views
Why is mapserver layer not showing up in openlayers?
I'm currently setting up a Mapserver/OpenLayers application. My mapscript works fine when i run on mapserver, but my mapserver layer not showing up in openlayers.
this is my mapscript "tangsel.map"
...
1
vote
1answer
83 views
Customized popup in Openlayers
I have done point layer overlay with openlayer. Whenever i click any point, its showing me all the data of the table(postgresql) in popup. How to control amount of data in the popup?
All the columns ...
2
votes
1answer
47 views
Is it necessary to use cachewrite control to use cacheread in openlayers?
the question is very simple. i want to use the OpenLayers.Control.CacheRead control to load and store tiles when the connection is fast e.g. with wifi network. then use the same device in other places ...
0
votes
0answers
17 views
Changing the background colour in openlayers map [duplicate]
I have the following question - is it possible to replace that white background colour with blue? Tried for a very long time but no good... Also the code was generated, and i am new to this - so it ...
0
votes
1answer
32 views
Draw line as a text in wfs
I have a WFS for addresses where geometry is a line with 2 points.
Is it possible to have an SLD that draws a text (i.e. house number) along the line using the line as vector defining the text ...
1
vote
0answers
30 views
Shows Netherlands region on map on every zoom level not other region in Open Street Maps
I want to show/display only Netherland region on Openstreet map, dont want to show other region on maps. Same thing apply for zoom in or zoom out also.
I have tried with applying bounds but does not ...
0
votes
0answers
67 views
OpenLayers map not showing on my JQuery Mobile site
I have an OpenLayers map which is suppose to be made using variables from a PHP array once a button is clicked on my JQuery Mobile site. For some reason however, it is not showing on my page when I ...
0
votes
0answers
52 views
GMT raster (*.tiff + *.pgw) in epsg4326 shifts few kms (4326-900913-3857 problem?)
This seems to be an old problem with an already known solution (ie. "...stop using 900913 and start using 3857..."), but not sure whether this problem is about software versions, the raster itself or ...
0
votes
0answers
87 views
How to show a legend using Wax in OpenLayers?
I am trying to add a legend and tooltips to a map using wax. The map is really simple and it is working, but I do not get to show the legend nor the tooltips.
I am using this like reference
...
1
vote
0answers
23 views
openlayers Arcgis WFS mousehover
i have a problem using ArcGIS wfs layer in openlayers. I would like to add the layer to the map as vector layer and then using a mousehover to highlight the features. However i cannot bring it to ...
0
votes
1answer
99 views
Geoserver, openlayers and WMS
I have millions of seismic lines to publish on a map (3,000,000+) so WFS is not really an option at a large scale. For this reason I will have to use WMS. My question is, is it possible using ...
0
votes
0answers
40 views
Openlayers how to get tile x y z
I am trying to fetch extra data for each individual tile in Openlayers, from my own data server. I mainly have two questions:
How to get the x, y, z dynamically for each tile as in the tile URL, ...
1
vote
0answers
85 views
Multipolygon WFS Layer do not show
I am new in GIS and I am exploring OpenGeo for a weeks.
->What I am trying to do?
Show in a map (using Goolgle Layer), 1 Layer representing administrative areas of my country (witch is Portugal). ...
0
votes
0answers
66 views
Problem in GeoServer with applying automaticly created SLD to a layer
I'm trying to create an automatic procedure for uploading shapefiles on a drupal portal website (see Create CMS system using Cartaro for my previous post that is related to this).
Today I've started ...
0
votes
1answer
144 views
How to store an image in PostgreSQL and display it in an openlayers popup?
This is question regarding storing of image in PostgreSQL and display in openlayers popup through geoserver(using wms service).
PostgreSQL is installed in my virtual machine.
I tried to store image ...
0
votes
1answer
95 views
How to create WMS service with GeoServer?
I am trying to build first WMS service with GeoServer. I have made layer from shape and layer preview works fine. How can I open this layer with QGIS? How to do map with OpenLayers?
I have tried to ...
1
vote
1answer
77 views
Query WMS for available layers using Openlayers
Is it possible to use Openlayers to return an array of available Layers on a WMS?
I am attempting to allow users to add a layer.wms to a map. I would like to allow the user to view available ...
1
vote
0answers
49 views
How can I parse the SLD file that sits in Geoserver so that I can apply the styling to WFS layer?
I have a layer that can be configured to render as WFS or WMS. I want to apply the same sld styling that I have defined in Geoserver to make it consistent. But when I try to get the SLD text from ...
2
votes
1answer
71 views
How to display several points of a KML with the same coordinates in OpenLayers?
I've got a KML, where several points have the same coordinate, similar to following code:
<?xml version="1.0" encoding="utf-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
...
0
votes
0answers
17 views
calculating st_simplify tolerance for openlayers
I want to display a vector layer in openlayers. Users can scale the map before they load the vector layer and I'd like to simplify the geometry with st_simplify before sending it to the client.
Does ...
0
votes
0answers
35 views
How do I create an openlayers image layer using a layer already loaded?
so I am trying to add an image layer after using javascript's img.load. I use this because I want to check some things with the image first. Then I want to add it to my map. My issue is that I do not ...
0
votes
1answer
73 views
Openlayers Linestring over edge of map
im trying to create a route displayer for ships. But im struggling with the edges of the map. When going from ie. 179* to 2* it displays a line across the entire map, instead of displaying it on the ...
0
votes
0answers
54 views
unable to create the polygon using openlayer.geometry.polygon
I tried to generate Point using OpenLayers.Geometry.Point(), which worked beautifully so I tried to produce a ploygon similarly with the same concept, but I m unable to see it. Please go through my ...
1
vote
0answers
40 views
proportion of image layer in OL
I tried create map with single image used OL.
But I have a trouble: image in map has a wrong proportions.
Img: 1540 x 1481
Img in map: 2858 x1481
My js code:
$(function (){
var map = new ...
1
vote
1answer
54 views
How do I create a basic image layer as a base layer in OpenLayers?
I'm trying to create a map using OpenLayers which uses a png image as a base layer but I'm having a bit of trouble. I'm not too familiar with OpenLayers as I have only come across it today and thought ...
0
votes
1answer
93 views
how to configure WFS layer with openlayer in PHP wampserver with windows?
I have a problem to display WFS layer outside the Geoserver. My code working fine in geoserver, but when I tried my code in wampserver(PHP), only WMS layer is being to displayed.
I gone through many ...
1
vote
1answer
94 views
Using Openlayers for GeoRSS from remote website
I am trying to get features from remote GeoRSS file with Openlayers... But I am stuck. Openlayers can not read remote file. I have searched on the net but I could not find any solution... Here is the ...
0
votes
0answers
40 views
include the robinson projection into open layers
I need to include a robinson projection into openlayers, but i found no epsg code for it.
i have this spherical mercator projection at the moment and need to change it, but i dont know if it is ...
1
vote
1answer
34 views
Features on a vector layer to have a scalable stroke?
I am trying to make some kind of line-drawing editor over OpenStreet map using OpenLayers. I am able to draw points, connect them into lines, and it all looks good, but if I unzoom, stroke width is ...
0
votes
1answer
98 views
WFS in Openlayers
I am new in Openlayers and web services in general, but until now I have managed to create a WMS (published by ArcGis to a server provided by uni) and connect it with Openlayers. Projection etc works ...
1
vote
0answers
46 views
scale dependent rendering of base layers(gmap,ghyb) causes warping/flickering
Hey guys I am using geoserver to host my WMS layers and I am using gmaps base layers in Openlayers. Below I have attempted to use scale dependent rendering of the base layer without any luck.
What I ...
2
votes
1answer
65 views
Problems with inspect element in browsers
I use google chromes inspect element for debugging.
I have a map displayed on my page with 1 base layer (osm) and 2 overlays (wards, points) and a highlighter control. The map displays and works ...
1
vote
1answer
50 views
How to Blink a line on a map similarly like a point blinking on map through lat lon points
how to blink a line on a map which is formed by lat lon points through linestring from database the points(lat,lon) comes which is stored in form of MultiLineString.
similarly like how a point ...
5
votes
1answer
166 views
How to enable smooth zoom in Openlayers in default library set?
I've compared two Openlayers samples:
Online dev example - clientzoom
release dev example - clientzoom
First one zooms in smoothly, second one just flashes and shows tiles from next zoom level.
...
1
vote
0answers
62 views
WMS bounded overlay with OpenLayers and GeoServer
I'm trying to design a heatmap overlay bounded within four given coordinates with OpenLayers using WMS protocol to communicate with my GeoServer instance, where my data and SLD heatmap description ...
0
votes
1answer
42 views
How to set the length of a line using openlayers
I'm trying edit a polygon by changing the length of some lines by code. Found this method to calculate based on the bearing.
But I didn't find anything on how to calculate the bearing, before I start ...






