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 / metadata_iso19115-3.xml
Created April 30, 2024 14:48
Attribute catalog implementation
<mdb:MD_Metadata xmlns:mrc="http://standards.iso.org/iso/19115/-3/mrc/2.0"
xmlns:mda="http://standards.iso.org/iso/19115/-3/mda/1.0"
xmlns:mdq="http://standards.iso.org/iso/19157/-2/mdq/1.0"
xmlns:srv="http://standards.iso.org/iso/19115/-3/srv/2.1"
xmlns:mrd="http://standards.iso.org/iso/19115/-3/mrd/1.0"
xmlns:mds="http://standards.iso.org/iso/19115/-3/mds/2.0"
xmlns:mrl="http://standards.iso.org/iso/19115/-3/mrl/2.0"
xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:mri="http://standards.iso.org/iso/19115/-3/mri/1.0"
xmlns:cat="http://standards.iso.org/iso/19115/-3/cat/1.0"
@fvanderbiest
fvanderbiest / territoires.rdf
Created August 25, 2023 14:07
Thésaurus géographique
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:fn="http://www.w3.org/2005/02/xpath-functions" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:gml="http://www.opengis.net/gml#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:xdt="http://www.w3.org/2005/02/xpath-datatypes" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<skos:ConceptScheme rdf:about="https://www.geo2france.fr/catalogue/administrativeEntities">
<dc:title>Territoires</dc:title>
<dc:description>Mots clés de type géographique pour Geo2france.</dc:description>
<dc:creator>
<foaf:Organization>
<foaf:name>pi-Geosolutions</foaf:name>
</foaf:Organization>
</dc:creator>
@fvanderbiest
fvanderbiest / jetty-env.xml
Created August 18, 2023 15:21
JNDI resource configuration for GeoServer
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<New id="ds_geoserver" class="org.eclipse.jetty.plus.jndi.Resource">
<Arg>jdbc/geoserver</Arg>
<Arg>
<New class="org.apache.commons.dbcp.BasicDataSource">
<Set name="driverClassName">org.postgresql.Driver</Set>
<Set name="username">geoserver</Set>
@fvanderbiest
fvanderbiest / communes.json
Created July 1, 2020 09:35
Contours Communes France Administrative "Format Admin-Express" avec arrondissements, simplifiés pour geOrchestra, source https://www.data.gouv.fr/fr/datasets/contours-communes-france-administrative-format-admin-express-avec-arrondissements/
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fvanderbiest
fvanderbiest / georchestra_datadir_19.04_20.1.diff
Created February 3, 2020 10:05
geOrchestra datadir diff between 19.04 & 20.1
diff --git a/console/console.properties b/console/console.properties
index 77ecc84..f69c362 100644
--- a/console/console.properties
+++ b/console/console.properties
@@ -42,6 +42,25 @@
# default: see default.properties - uncomment to override
#ldapPort=
+# LDAP connection pool
+# Whether objects will be validated before being borrowed from the pool. If the object fails to validate, it will be dropped from the pool, and an attempt to borrow another will be made.
@fvanderbiest
fvanderbiest / raster-to-vector.sld.xml
Last active November 20, 2019 14:41
GeoServer rendering transformation
<?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></Name>
<UserStyle>
<Title>Contour DEM</Title>
@fvanderbiest
fvanderbiest / docker-compose.yml
Created March 11, 2019 21:17
redmine on postgresql
version: "3"
volumes:
redmine_files:
postgresql_data:
services:
redmine:
image: redmine:4.0
@fvanderbiest
fvanderbiest / cadastre.ldif
Created November 30, 2018 14:32
LDIF file to create cadastrapp mandatory roles - georchestra
dn: cn=CADASTRE_CNIL1,ou=roles,dc=georchestra,dc=org
businessCategory: favorite
ou: 26
description:: Q2FkYXN0cmUgOiBhY2PDqHMgYXV4IGluZm9zIHB1YmxpcXVlcyBzdXIgbGVzIHBh
cmNlbGxlcyArIHZpc2liaWxpdMOpIGRlcyBub21zIGRlIHByb3ByacOpdGFpcmVz
cn: CADASTRE_CNIL1
objectClass: top
objectClass: groupOfMembers
member: uid=testadmin,ou=users,dc=georchestra,dc=org
@fvanderbiest
fvanderbiest / clean_ghost_ldap_users.py
Created August 7, 2018 11:59 — forked from cmangeat/clean_ghost_ldap_users.py
remove non existent users form roles
from ldap3 import Connection, SUBTREE, MODIFY_DELETE
from ldap3.core.exceptions import LDAPException
LDAP_URI = 'ldap://localhost:3899'
BIND_WITH_CREDENTIALS = True
LDAP_BINDDN = 'cn=admin,dc=georchestra,dc=org'
LDAP_PASSWD = 'secret'
USERS_DN = 'ou=users,dc=georchestra,dc=org'
ROLES_DN = 'ou=roles,dc=georchestra,dc=org'
@fvanderbiest
fvanderbiest / geowebcache.xml
Created August 7, 2018 07:15
InspireCRS84Quad Matrix Set GeoWebCache definition
<?xml version="1.0" encoding="utf-8"?>
<gwcConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://geowebcache.org/schema/1.12.0 http://geowebcache.org/schema/1.12.0/geowebcache.xsd" xmlns="http://geowebcache.org/schema/1.12.0">
<version>1.12.0</version>
<backendTimeout>120</backendTimeout>
<blobStores/>
<gridSets>
<gridSet>
<name>InspireCRS84Quad</name>
<description>Every layer offered by a INSPIRE WMTS should use the InspireCRS84Quad Matrix Set</description>
<srs>