Skip to content

Instantly share code, notes, and snippets.

View fgdrf's full-sized avatar

Frank Gasdorf fgdrf

  • Hamburg, Germany
View GitHub Profile
@fgdrf
fgdrf / analyseGSproperties.sh
Created March 3, 2019 23:03
analyse GeoServerApplication.properties
for i in `find . -name GeoServerApplication.properties`
do
xx=${i:2};
cnt=`grep -c $xx .tx/config`
if [[ $cnt -eq 0 ]]
then
echo $xx
fi
done

OSGeo-Live

Dein Einstieg zu unserer Software

Herzlich Willkommen

OSGeo-Live ist eine getrennt bootfähige DVD, ein USB-Stick oder eine virtuelle Maschine basierend auf Lubuntu, die Ihnen ermöglicht, eine Vielzahl von Open Source GIS Software auszuprobieren, ohne etwas installieren zu müssen. Sie besteht ausschließlich aus Freier Software, die Sie beliebig weitergeben, verteilen und vervielfältigen dürfen.

@fgdrf
fgdrf / osgeo-print-GeoServer.md
Last active September 12, 2017 21:46
osgeo-print-Geoserver

Der Open Source Server für die Verteilung von raumbezogenen Daten

Über GeoServer GeoServer ist ein Java-basierter Open Source Server für die Veröffentlichung von raumbezogenen Daten. Für bestmögliche Interoperabilität unterstützt GeoServer Open Geospatial Consortium (OGC) Standards beim Publizieren von Daten aus unterschiedlichen Quellen.

Leicht zu installieren, einfach zu nutzen GeoServer kann einfach mit Hilfe von Installationspaketen für Mac OSX, Windows oder Linux installiert werden. Auch ein Web Archiv für den Einsatz im Enterprise-Umfeld steht zur Verfügung. Mit Hilfe einer Weboberfläche können Datenquellen, Layer und Stile konfiguriert werden. Administratoren können Sicherheits- und Integrationsoptionen verwalten.

GeoServer kann sofort genutzt werden und bietet:

  • Umfassende Oberflächen für eine einfache Administration
# start it from within plugins-folder
for i in $(find . -name plugin_*.properties -maxdepth 2 -print)do
# get file to grep (build.properties)
_bf=`dirname $i`/build.properties
# get what to grep
_bn=`basename $i`
# cnt
_cnt=`grep -c $_bn $_bf`
echo "$_cnt $_bf ($_bn)"
done
@fgdrf
fgdrf / change_project.sh
Last active December 24, 2015 14:59
refactoring script for uDIG to move to org.locationtech namespace, copy it into root folder
function exec_sed_for_file
{
echo $1 $2 $3
prj_list=`find $3 -name "$1" -type f -print`
for p in $prj_list
do
mv $p $p.old
sed -e "$2" $p.old > $p
rm -rf $p.old
@fgdrf
fgdrf / transifex-sync.xml
Last active March 10, 2017 23:32
Copy this ant-script into folder of your choise and execute it where your .tx folder exists like shown in the comment of the file
<project name="translations" default="full">
<!--
use this ant script to synchronize translated properties files from
Transifex (www.transifex.com) into the working copy.
Its possible to synchronize every translation file from Transifex or
just a specific language. With an other option you can secify, which
kind of properties will be synchronized (reviewed, translator or
developer - further details :
@fgdrf
fgdrf / TransifexClientConfigGeoServerMaster
Last active March 3, 2019 23:00
1. create a folder ".tx" in your geoserver working copy 2. download file and store it down below ".tx" as "config" 3. see also https://gist.github.com/fgdrf/6507435
# ======================================================================
# Configuration file for transifex client
#
# How to use it:
# 1. create a folder ".tx" in your geoserver working copy
# 2. download file and store it down below ".tx" as "config"
# 3. use transifex client directly or try the ANT-Script (https://gist.github.com/fgdrf/6507435) to synch Translations from/to working copy from/to transifex
# ======================================================================
[main]
@fgdrf
fgdrf / TransifexClientConfigGeoServerStable
Last active December 22, 2015 17:38
download file and store in .tx folder in root checkout of geoserver stable project
# ======================================================================
# Configuration file for transifex client
#
# How to use it:
# 1. create a folder ".tx" in your geoserver working copy
# 2. download file and store it down below ".tx" as "config"
# 3. use transifex client directly or try the ANT-Script (https://gist.github.com/fgdrf/6507435) to synch Translations from/to working copy from/to transifex
# ======================================================================
[main]
@fgdrf
fgdrf / gist:4123721
Created November 21, 2012 08:03
GIT.io URL shortener
curl -i http://git.io -F "url=https://github.com/<whatever you like to point to>" -F "code=<preferredcode>"
# Example:
# curl -i http://git.io -F "url=https://github.com/uDig/udig-platform" -F "code=udigPlatform"
# return the following shortened URL : http://git.io/udigPlatform