Label » OpenLayers

$5 New Year Skill Up with Packt Publishing Ends Soon! (Jan 8)

Don’t miss out on this fantastic eBook and video sale from Packt Publishing where everything is $5 and there are plenty of GIS and geospatial books to choose from. 419 kata lagi

Python

Networks, Geography, and Gephi: Lots of Promise, but Lots of Work to be Done

This post will outline some of my efforts to bring social networks into dialog with geography. Although I have found some interesting plugins and hacks, the results still leave something to be desired. 1.250 kata lagi

Gephi

Quick webmaps with qgis2web

In Publishing interactive web maps using QGIS, I presented two plugins for exporting web maps from QGIS. Today, I want to add an new member to this family: the… 143 kata lagi

QGIS

Code for BAM: Part 1 of N. Gephi and Maps

This is the first in a series of posts where I will be detailing some of the code and development of BAM. Some of these techniques may be old hat for some users or simple hacks, but they might be useful for anyone else who is trying to do similar work. 1.948 kata lagi

Gephi

Animate feature position in vector layer on it's reload

Tested on GeoServer 2.7.1.1 and OpenLayers 3.7.

  1. First of all we need to create layer and its source:
    var source = new ol.source.Vector({
     strategy: ol.loadingstrategy.bbox
    });
    
    var layer = new ol.layer.Vector({
     source: source
    });
    …
  2. 298 kata lagi
Geoserver

Using beforeGetFeatureInfo event for filtering layers to get info

*For OpenLayers 2.13

Put an empty array as layers property in WMSGetFeatureInfo (We will generate the layer array in the event): line 4

Suscribe event: line 47… 275 kata lagi

Openlayers

Request GeoServer vector layer from another domain via WFS from OpenLayers

Tested on GeoServer 2.7.1.1 and OpenLayers 3.7. Remember, that OL 3.5 have some changes not backwards compatible.

  1. GeoServer part:
    All you need is to turn on JSONP output format at %GEO_SRV_HOME%/WEB-INF/
  2. 292 kata lagi
Geoserver