Skip to content

Instantly share code, notes, and snippets.

Julien Guts

Block or report user

Report or block Guts

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Guts
Guts / gource_config_isogeo_qgis_plugin.ini
Last active Oct 30, 2019
Sample configuration file for Gource
View gource_config_isogeo_qgis_plugin.ini
[display]
fullscreen=true
output-framerate=60
output-ppm-stream=./isogeo_qgis_plugin_video_streamed_output.ppm
viewport=1280x720
[gource]
auto-skip-seconds=10
date-format=%d %B %Y
disable-progress=true
@Guts
Guts / qgis_deploy_install_upgrade_ltr.ps1
Last active Jun 11, 2019
Use OSGeo4W installer command-line abilities to provide a real-life example like downloading and installing QGIS LTR full meta-package
View qgis_deploy_install_upgrade_ltr.ps1
#Requires -RunAsAdministrator
<#
.Synopsis
Download the OSGeo4W installer then download and install QGIS LTR (through the 'full' meta-package).
.DESCRIPTION
This script will:
1. change the current directory to the user downloads folder
2. download the OSGeo4W installer
3. launch it passing command-line parameters to DOWNLOAD packages required to QGIS LTR FULL
@Guts
Guts / md_xml_fixer.py
Created Sep 11, 2017
Brest - Metadata fixer
View md_xml_fixer.py
# -*- coding: UTF-8 -*-
from __future__ import (absolute_import, print_function, unicode_literals)
# -----------------------------------------------------------------------------
# Name: Metadata XML fixer
# Purpose: Check
# Python: 2.7.x
# Author: Julien Moura (https://github.com/Guts)
# Created: 08/09/2017
# -----------------------------------------------------------------------------
View keybase.md

Keybase proof

I hereby claim:

  • I am Guts on github.
  • I am geoj (https://keybase.io/geoj) on keybase.
  • I have a public key whose fingerprint is 3945 73A0 B98B 8FE3 B83D 49C3 7262 9DBE A2DA 60FC

To claim this, I am signing this object:

@Guts
Guts / PyQGIS_sample.py
Last active Dec 24, 2015
Code du tutoriel de GeoTribu pour créer un plugin QGIS
View PyQGIS_sample.py
mapCan = qgis.utils.iface.mapCanvas()
mapCan.layerCount()
>>> 1
lay = mapCan.layer(0)
print lay.name()
>>> TM_WORLD_BORDERS-0.3
lay.setLayerName("World Border")
print lay.name()
@Guts
Guts / isogeo_team.prj
Created Nov 2, 2015
Add a given .prj dependance to every AutoCAD DWG file found among a given folder structure
View isogeo_team.prj
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]
@Guts
Guts / InsertDate.gs
Last active Aug 29, 2015 — forked from thomxc/InsertDate.gs
Google Docs Script Macro: Insert Date
View InsertDate.gs
/**
* The onOpen function runs automatically when the Google Docs document is
* opened. Use it to add custom menus to Google Docs that allow the user to run
* custom scripts. For more information, please consult the following two
* resources.
*
* Extending Google Docs developer guide:
* https://developers.google.com/apps-script/guides/docs
*
* Document service reference documentation:
@Guts
Guts / Geoseminaire_Inscriptions.js
Last active Jan 4, 2016
Publispostage avec Google Form
View Geoseminaire_Inscriptions.js
// Julien Moura Guts@users.noreply.github.com
// Pour le géoséminaire : http://geoseminaire.teledetection.fr
// Méthodologie :
// 1- Créer un formulaire sur Google Drive
// 2- Créer un document modèle qui sera rempli par le script (template)
// 3- Ouvrir le tableau des réponses du formulaire
// 3- Aller dans l'éditeur de script (Menu Outils) et ouvrir un nouveau projet
// 4- Copier / coller le code ci-dessous et l'adapter au formulaire (ID du document template, prix, etc)
// 5- Renommer le nom du projet et code.gs
You can’t perform that action at this time.