Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 60673

GeoServer is an open source software server written in Java that allows users to share and edit Geospatial data.

1 vote

Applying SLD not working in OpenLayers 3

If this doesnt work check within geoserver log to see for any errors or identify whether the SLD_BODY parameter is actually reach geoserver or not. …
pavlos's user avatar
  • 3,538
1 vote

Create and show a vector layer from Geoserver using Openlayers3

About the cross-domain scripting problem as @iant suggests you need to set a proxy. Removing the port will just make it work locally, or at least work when your http requests are executed from the sam …
pavlos's user avatar
  • 3,538
2 votes

Prevent duplicate layers in OpenLayers 3

Consider using the wrapX:false parameter during layer source initialisation. For the specific example you mentioned this is not possible as Mapquest tile layer does not use such attribute. But for OSM …
pavlos's user avatar
  • 3,538
0 votes

OL3 gwc background layer does not align to gridset, works in OL2

/geoserver/wms', projection: 'EPSG:3010', params: { 'LAYERS': 'basemap', 'tiled': true, 'version':'1.1.1' 'SRS':'EPSG:3010', }, tileGrid : new ol.tilegrid.WMTS({ origin : [...., …
pavlos's user avatar
  • 3,538
4 votes
Accepted

Geoserver/Openlayers: Polygon disappears on some zoom levels

Thats because your query doesnt include an order by clause. So it is really a matter of luck to show up as sometimes falls behind the large polygon that overlaps it and some other not. Well , this is …
pavlos's user avatar
  • 3,538
3 votes

Get all overlapping feature information using WMS GetFeatureInfo, OL3, Geoserver

you need to parse the response getted back to grap all the features. consider the following code snip: map.on('singleclick', function(evt) { var url = wms_layer.getSource().getGetFeatureInfoUrl …
pavlos's user avatar
  • 3,538
1 vote
Accepted

What is causing this distortion?

You dont declare the projection of your map. To do so you need to place it in the view options. projection:'EPSG:4326' if you dont do it, your map will be projected in the default ol3 projection EPSG: …
pavlos's user avatar
  • 3,538
1 vote

ZoomIN to Feature with ol3

I guess you are using an older version of ol3. If this is true: This function of Openlayers accepts an extent (first argument) and not a geometry or an array of coordinates. Try to make up the extent …
pavlos's user avatar
  • 3,538
0 votes

Unable to view WFS as Vector Layer (OpenLayers 3)

I have made a fiddle using your code. The only thing I have changed is the url to get the countries GeoJSON data. It works perfect. here is the fiddle. So I guess there should be the problem.
pavlos's user avatar
  • 3,538
1 vote

Dynamic styles in Openlayers.js

Declare styles and style function outside the loop as arrays and feed them inside the loop. Something like that should do the trick. I have not test it. Some adjustment may need to take place. var st …
pavlos's user avatar
  • 3,538
1 vote

Disable antialiasing in GeoServer .png output?

disable the antialising through geoserver wms config page check it here. … A last thing to take into account is to clear the cache in geoserver and reload it. …
pavlos's user avatar
  • 3,538