- Install Microsof repositories
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
curl https://packages.microsoft.com/config/debian/9/prod.list > /etc/apt/sources.list.d/mssql-release.list| class filterLayersFromExtent: | |
| polygon_layer = { | |
| 'name': 'polygons', | |
| 'field': 'code', | |
| 'layer': None | |
| } | |
| target_layers = [ | |
| { | |
| 'name': 'observation', |
| #!/usr/bin/env python3 | |
| import os | |
| import sys | |
| import json | |
| # variables | |
| pg_service_file = '/etc/postgresql-common/pg_service.conf' | |
| # Initialize needed paths | |
| # to be able to load processing.core.Processing |
| # -*- coding: utf-8 -*- | |
| """ | |
| *************************************************************************** | |
| * * | |
| * This program is free software; you can redistribute it and/or modify * | |
| * it under the terms of the GNU General Public License as published by * | |
| * the Free Software Foundation; either version 2 of the License, or * | |
| * (at your option) any later version. * | |
| * * | |
| *************************************************************************** |
| #!/usr/bin/env bash | |
| COMMAND="$1" | |
| shift | |
| function liz_storage() { | |
| echo "Storage - configure termux setup storage" | |
| termux-setup-storage | |
| } |
| { | |
| "openapi": "3.0.1", | |
| "info": { | |
| "title": "G-Obs API", | |
| "description": "G-obs API as OpenAPI Rest API", | |
| "termsOfService": "", | |
| "contact": { | |
| "email": "[email protected]" | |
| }, | |
| "license": { |
| -- Fonction de création des champs nécessaires sur les tables | |
| -- DROP FUNCTION IF EXISTS public.ajout_champs_dynamiques(text, text, text); | |
| CREATE OR REPLACE FUNCTION public.ajout_champs_dynamiques(schemaname text, tablename text, colonnes text) | |
| RETURNS INTEGER AS | |
| $limite$ | |
| DECLARE | |
| colonnes_a text[]; | |
| sql_text text; | |
| t text; | |
| BEGIN |
| #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 |
| # QGIS 3 (compatible with 2.18) python code to count features | |
| # for each unique value of chosen fields | |
| # | |
| # Copy paste in your python console | |
| # You need to change the "fields" variable below | |
| # And select the layer in QGIS legend before running it | |
| # | |
| # The output memory layer attribute table would be like | |
| # fieldname fieldvalue count | |
| # menace EN 19355 |