0
votes
0answers
25 views

OpenLayers 2.13.1, how could I make a click, get coordinates, send it to geoserver function?

I am trying to make this very simple function, at the moment I am quite stuck when I have to place the markers as start/end points. I would like to add a marker as start and another as end and then do ...
1
vote
1answer
40 views

Openlayer3 basemap appears white block in Chrome

i faced interesting an issue on Chrome. im using google's 4 number base layer (street, hybrit, etc.) When my tiles are loading over baselayer, baseLayer becomes white block. Why? No any issues on ...
1
vote
1answer
118 views

Function to add layer with button click

I'm working with openlayers and geoserver to create a map and overlay layers. I need to add a layer when a button is clicked, but what I get is that the layer is added ( i can see it through the layer ...
0
votes
1answer
48 views

problem login geoexplorer - redirect IP

I have problems when I want to log the administrative user through GeoExplorer when geoserver is running on a server with public ip but redirection to a private ip. GeoExplorer takes too long to load ...
0
votes
0answers
30 views

Openlayers WFS change featureType

I am trying to change wfs featuretype "on the fly" in openlayers. (This method http://dev.openlayers.org/docs/files/OpenLayers/Protocol/WFS/v1-js.html#OpenLayers.Protocol.WFS.v1.setFeatureType) This ...
0
votes
0answers
600 views

Acess control allow origin header is present on the request resource. Origin null is therefore not allowed acess

I'm trying to use the openlayers vector class. And the error occurred: Acess control allow origin header is present on the request resource. Origin null is therefore not allowed acess I've put ...
1
vote
0answers
59 views

Geoserver WFS Fails to Load in OpenLayers

I'm working with Postgis->Geoserver->openlayers on localhost. I followed a Geoserver tutorial to import some nyc sample data into my postgres/postgis database and link it to Geoserver. The layer ...
0
votes
1answer
49 views

How to Update Multiple Fields of one Layer Using WFS Service

Trying to update two fields of a shapefile using a WFS update service published from GeoServer 2.4.3 with OpenLayers 2.13.1. I have a JavaScript with all the OpenLayers fun and a HTML document with ...
1
vote
1answer
28 views

multiple users on one wms layer - style and filter

I am using geoserver to show Points data from MySql in OL. The data saved in one table for all the users - 'Points' with a geometry field and Id of the user. I want to be able to let the users to see ...
1
vote
1answer
78 views

Jsonp call to geoserver

If I try, like this way: $.ajax({ jsonp: false, jsonpCallback: 'getJson', type: 'GET', url: ...
2
votes
2answers
141 views

Authentication in Geoserver 2.4.x from a web application

I am trying to build a web application using html and javascript from which I want to login to geoserver hosted at: https://weaveprod.ucdp.utah.edu/geoserver/web/ I have written the following code for ...
0
votes
0answers
18 views

WMS layer disabled when i grouped

i am using geoserver 2.4.0 for my GIS based web application.My Wms layer disabled when i grouped more than 3 layer in my application.Previously it worked fine.This problem occurs in real time only,in ...
0
votes
0answers
35 views

Openlayers getFeature from WFS with Specific ID

I'm working with OpenLayers and have the NHDPlus Catchments for the North Atlantic. I have built a web mapping application in Javascript for viewing and delineating basins from these catchments, ...
0
votes
0answers
272 views

Leaflet and Geoserver WFS [closed]

I have problem with Leaflet...i tried to connect Leaflet with Geoserver WFS, but in console i have this error: SyntaxError: missing ; before statement ...
2
votes
1answer
447 views

Increasing OpenLayers Max Zoom Level

I develop HTML pages by using OpenLayers, which pointing to a local GeoServer WMS service. On displaying a layer, it stops at its available max zoom level, but it is still too small to manipulate (a ...
1
vote
1answer
2k views

Uncaught SyntaxError: Unexpected token : when using ajax

I try to call json data from geoserver, but when i try to run it in chrome, it return this following error "Uncaught SyntaxError: Unexpected token :" This is my code, function ...
1
vote
1answer
163 views

Using ECQL filter on user form using GeoServer and OpenLayers

I know this is more of a JS question (skills of which I am inadequately inept) but it is using OpenLayers and GeoServer. I am trying to apply a filter with a user form on a Layer, but am not sure ...
0
votes
0answers
38 views

Why GetFeatureInfo does not work? [duplicate]

I´ve problem with getfeatureinfo code. Appears only: loading please wait. function setHTML(response) { document.getElementById('nodelist').innerHTML = response.responseText; }; ...
4
votes
2answers
248 views

Adding control to wfs layer disable panning and zooming on double click

I can zoom and pan wfs layer when I don't have added control but I can't pan the map or zoom the layer with double click when I add a control to map: code for control is : var select = new ...
1
vote
1answer
878 views

How to add a WMS layer on Cesium Globe?

I downloaded Cesium Java Script library for creating 3D Globes from "http://cesium.agi.com/". Also I found that, they are using Bing satellite map as default. But I need to display layer from My ...
2
votes
1answer
778 views

How to create 3D web application using Open Source GIS software?

I'm using OpenLayers - 2.11,GeoServer 2.13, ExtJS 3.4, and Java for developing GIS based web applications. How can we create GIS based 3d application like below attachment using opensource softwares ...
1
vote
1answer
159 views

Show previously loaded tiles while loading (zoom in or zoom out) map

How to remove the white tile part(map loading area). While zoom in and zoom out, the white tile part is appearing on the map(map loading area). How can we fill that area with the history image? Is ...
2
votes
1answer
509 views

While developing stage, Is Proxy.cgi required to get Openlayers WMSGetFeatureInfo?

I have published the data in Geoserver (Tomcat and OS Ubuntu) and I am developing a map application in my local machine (OS windows xp) using asp.net. In my application, I can get WMS feature ...
1
vote
1answer
824 views

OpenLayers - Show a WMS Layer from GeoServer

I'm trying to acesses with OpenLayers code an example of the embedded GeoServer map (the map of tasmania), which acts as a local server on my machine. However, every time I open the .html, the map ...
1
vote
1answer
918 views

Request WFS from GeoServer with Jquery AJAX using INTERSECT cql_filter error

I am having difficulty troubleshooting this issue and would appreciate some ideas. Thanks in advance! I am trying to make an AJAX request from a Leaflet map with Jquery to GeoServer to return a WFS ...
0
votes
0answers
37 views

Getting longtitude lattitude from wfs on geoserver

i am making campus information system using geoserver, postgis and openlayers. on the javascript side i want to zoom selected classroom longtitude and lattitude (as google maps done--when you type any ...
2
votes
0answers
126 views

get all the possible parameters of sql view

I have a Geoserver layer coming from a postGIS database. Among other attributes, I have one that is related to the date data we've collected, called departuretime. We use this attribute to display a ...
1
vote
1answer
237 views

WFS request with Openlayers; blank request

I'm having trouble to add a WFS layer over an OSM map. At first I thought that my data had a problem, and I thus decided to adapt one of the example on the Openlayers website. I have no error ...
2
votes
1answer
533 views

WMS Geoserver layer over OSM

I have a Geoserver with a layer in a EPSG:32632 projection. I want to display this layer over Open Street Map tiles. When I use the following html code: <!DOCTYPE html> <html> ...
0
votes
1answer
320 views

GeoExt: Turning off layer title in legend

I am using GeoExt for my web mapping project. My web map includes a legend generated by GeoExt. Is it possible to turn off the layer title for a specific layer in legend? I am aware that there is a ...
1
vote
1answer
710 views

Probleme with WFS protocol in OpenLayers

Sorry for disturbing. I know my problem look common, but I really don't know what to make. Here is my code for getting a WMS layer in OpenLayers from Geoserver. var wfs2 = new ...
0
votes
1answer
92 views

Multiple FeatureType in WFS Protocol

I would like to pass multiple featureTypes to WFS protocol in order to accomplish a search feature in my app. the idea worked just fine with one featureType, but now I need to add another one to ...
0
votes
1answer
215 views

creating map not working

am following this tuto to create a map on web with geoserver, GeoEXT, EXTJs, and openlayers here's the linki downloaded ext 4.2.0, openlayers 2.12 and GeoEXT 1.1, when i try to show the map : ...
1
vote
0answers
765 views

User defined Polygon disappears with featureadded and selectfeature

I am trying to achieve the following functionality: 1. User draws a polygon. 2. Once complete, fetch features in that polygon( Using WFS). 3. On Select polygon, show the features that intersect that ...
1
vote
0answers
55 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 ...
7
votes
1answer
2k 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
1answer
114 views

Populating Dropdown based on Geoserver service

I am new to web programming here. I have a table which has multiple columns including: Restaurant Name,Restaurant Id, Lat, Lon, City, District, Country. My requirement is to build a web client using ...
0
votes
0answers
279 views

ajax not working with postgresql

I know is a silly question but I thought I should ask since you guys know more about postgresql. Sorry for being analytical, but I think its the only way to make my question clear. I'm using ...
0
votes
1answer
444 views

How to reproject layers (using GeoServer and OpenLayers) in order to overlay on the google maps [duplicate]

Possible Duplicate: Openlayers and Geoserver: OSM/Google Maps and WMS Overlay I am writing a code using OpenLayers. In this code, I want to display different layers in different zoom ...
3
votes
1answer
762 views

How to add SLD to a wms layer dynamically from javascript

How to add SLD style which is written in String format and stored in a 'var' variable of javascript and asign it to a WMS layer while creating it.
5
votes
2answers
434 views

How to display a lot of images with OpenLayers?

I would like to display a lot of images at same time. The images are georeferenced (they have extents), with some labels on top of it which, on click, open popup. I can not say how many exactly ...
2
votes
1answer
859 views

How do I project my WMS tilelayer in leaflet if I want it to display as an overlay on my basemap if they have different EPSG?

So my basemap is a world Mercator projection and in wfs format and I'm trying to put a WMS overlay in a different projection over it? Leaflet's API didn't give me much info on changing the epsg so is ...
1
vote
1answer
90 views

Is a new map object required in order to create a wms overlay on top of a current map object with wfs layers using the leaflet api

I am trying to add a wms tile layer overlay over a wfs tile layer which I added to a map object. When I tried to simply add a layer on top of my current setView for my map object it overwrote the ...
1
vote
1answer
662 views

Does leaflet support wms tile layers in applications/openlayers formats?

I am trying to create a tilelayer.wms overlay on top of a wfs base map and I wasn't sure whether leaflet allows the applications/openlayers type of format which I served up from geoserver or only ...
0
votes
1answer
59 views

What kind of different results or what is the difference between two URL based WMS requests [closed]

I am trying to retrieve some WMS layers from geoserver so that I can display them in leaflet and I need to populate a URL field and I noticed that many of the layers that I opened up in openlayers had ...
3
votes
0answers
200 views

How do I format tilelayer.wms url properties such that I add an overlay iteratively to my base map in leaflet

My base map was created using hard-coded template variables. I am using the leaflet tilelayer.wms constructor and including the url like so: url: ...
6
votes
4answers
4k views

How to get JSON from Geoserver using AJAX request

I am building a web mapping application using Leaflet and a sort of customized WFS-T API to place and retrieve features from PostGIS. I have the script for putting features in PostGIS tables down ...
4
votes
1answer
579 views

Authentication in geoserver with openlayers

Is there a way to authenticate in geoserver with a external webpage (made with asp.net and openlayers)? I have restricted the access data only by certain users, and I don't want to authenticate this ...
2
votes
1answer
853 views

Getting capabilities from tomcat's Geoserver fails

I wanna teke capabilities from tomcat's geoserver. Use this. wms = new OpenLayers.Format.WMSCapabilities(); OpenLayers.Request.GET({ ...
4
votes
2answers
2k views

Prevent OpenLayers WMS layer cache by browser

I am using OpenLayers (GeoExt) with google chrome browser. All WMS layer is for live database. I have refreshed the browser at certain interval using javascript but the data is cached in browser and ...