Skip to content

Instantly share code, notes, and snippets.

View fvanderbiest's full-sized avatar

François Van Der Biest fvanderbiest

View GitHub Profile
@fvanderbiest
fvanderbiest / gist:7b4f7fa05ffeee8398f1
Created December 5, 2014 12:36
GeoServerBasePage.html diff for instances sync link
<div class="wrap selfclear">
<div id="sidebar">
<ul id="navigation">
+ <!-- custom -->
+ <li class="navigation-tab-single">
+ <a href="/cgi-bin/geoserver_reload.cgi" target="_blank">
+ <span>Sync GeoServer instances</span>
+ </a>
+ </li>
+ <!-- custom -->
@fvanderbiest
fvanderbiest / 4326.csv
Created December 7, 2014 22:37
GeoServer load testing
376;327;-139.38323 46.694853 -133.63494 51.694031;wms_request.py -count 100 -region -179 -89 179 89 -minsize 256 256 -maxsize 532 532 -minres 0.002 -maxres 0.2
355;414;63.62661 -38.512848 80.681649 -18.62331
417;325;146.92699 30.384538 148.14772 31.33594
346;273;-141.55294 -21.889111 -132.29442 -14.583975
357;464;-81.153653 12.985703 -72.509246 24.221011
346;411;67.272494 -22.993629 72.316594 -17.001938
528;396;-10.249267 -27.340015 -2.4080131 -21.459074
384;415;-4.8080274 70.708188 -3.6513353 71.958258
266;285;-111.3346 18.778317 -107.31708 23.082794
442;426;-104.46506 36.537493 -99.836896 40.998122
@fvanderbiest
fvanderbiest / gist:c56f6a68a891f9266bfc
Created December 19, 2014 08:14
cross browser xpath query
GEOR.util.mdNSResolver = function (prefix) {
var ns = {
'gmd': 'http://www.isotc211.org/2005/gmd',
'gco': 'http://www.isotc211.org/2005/gco'
};
return ns[prefix] || null;
};
GEOR.config.METADATA_RESOLUTION_XPATH = "/gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:spatialResolution/gmd:MD_Resolution/gmd:distance/gco:Distance"
@fvanderbiest
fvanderbiest / gist:9ac6e40db67a267129c1
Created January 9, 2015 08:20
geoserver 2.5.4 security/config.xml changes introduced by georchestra's minimal datadir
--- /home/fvanderbiest/workspace/georchestra/georchestra/geoserver/geoserver-submodule/data/minimal/security/config.xml
+++ /home/fvanderbiest/workspace/georchestra/geoserver_minimal_datadir/security/config.xml
@@ -7,35 +7,47 @@
<configPasswordEncrypterName>pbePasswordEncoder</configPasswordEncrypterName>
<encryptingUrlParams>false</encryptingUrlParams>
<filterChain>
- <filters name="web" class="org.geoserver.security.HtmlLoginFilterChain" interceptorName="interceptor" exceptionTranslationName="exception" path="/web/**,/gwc/rest/web/**,/" disabled="false" allowSessionCreation="true" ssl="false" matchHTTPMethod="false">
- <filter>rememberme</filter>
+ <filters name="web" path="/web/**,/gwc/rest/web/**">
+ <filter>contextAsc</filter>
@fvanderbiest
fvanderbiest / monit
Last active August 30, 2017 15:15
monit georchestra
# /etc/default/monit
# You must set this variable to yes for monit to start
START=yes
# Options to pass to monit
#MONIT_OPTS=
@fvanderbiest
fvanderbiest / gist:7cd9bcb7ef5e1c9fbaff
Created February 12, 2015 14:24
geoserver diff between 2.6 beta and rc1
diff --git a/doc/en/developer/source/conf.py b/doc/en/developer/source/conf.py
index 095165c..41f567e 100644
--- a/doc/en/developer/source/conf.py
+++ b/doc/en/developer/source/conf.py
@@ -47,7 +47,7 @@ copyright = u'2014, OpenPlans'
# The short X.Y version.
version = '2.6'
# The full version, including alpha/beta/rc tags.
-release = '2.6-beta'
+release = '2.6-RC1'
@fvanderbiest
fvanderbiest / georchestra-foss4g-2015.md
Last active August 29, 2015 14:19
geOrchestra abstract FOSS4G Seoul 2015

== geOrchestra, a free, modular and secure SDI ==

geOrchestra is a free, modular and secure Spatial Data Infrastructure software born in 2009 to meet the requirements of the INSPIRE directive in Europe. Initially covering Brittany, then France, geOrchestra now spreads worldwide with SDIs in Bolivia, Nicaragua, Switzerland and India.

The presentation will go through the following subjects:

  • quick and precise description of the key features
  • where we come from and where we are going to
  • technical description of the software architecture (including SSO & security proxy)
  • from an infrastructure point of view, how we scale to handle the load (using Puppet and OpenStack)
@fvanderbiest
fvanderbiest / context.xml
Created May 28, 2015 11:53
postgis JNDI geoserver
<?xml version='1.0' encoding='utf-8'?>
<Context>
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<Resource name="jdbc/mabase" auth="Container" type="javax.sql.DataSource"
driverClassName="org.postgresql.Driver"
url="jdbc:postgresql://host:5432/mabase"
username="xxx" password="xxx"
maxActive="40" maxIdle="10" maxWait="-1"/>
<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd"
xmlns="http://www.opengis.net/sld"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<NamedLayer>
<Name>1m_niveau</Name>
<UserStyle>