Skip to content

Instantly share code, notes, and snippets.

olivierdalang

  • Suva, Fiji
Block or report user

Report or block olivierdalang

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
View bug ?
def committedFeaturesAdded(a, b):
QgsMessageLog.logMessage( 'committedFeaturesAdded was triggered' )
def committedFeaturesRemoved(a, b):
QgsMessageLog.logMessage( 'committedFeaturesRemoved was triggered' )
def committedAttributeValuesChanges(a, b):
QgsMessageLog.logMessage( 'committedAttributeValuesChanges was triggered' )
def committedGeometriesChanges(a, b):
View sql
-- BASIC TABLE
DROP TABLE IF EXISTS test CASCADE;
CREATE TABLE test (
id serial NOT NULL PRIMARY KEY,
name text,
geom geometry(MultiPolygon,4326)
);
-- BASIC VIEW
View gist:2ea1e51e58277db9d0db

Install Strabon

Notes to install strabon on Ubuntu 14.04 following this : http://www.strabon.di.uoa.gr/node/20


** At Installing PostgreSQL and PostGIS ** Install postgresql-9.3 and postgis 2.1 by running (not sure?) :

sudo apt-get install postgresql
View gist:4437246
computeFieldIndex = layer.fieldNameIndex( 'population' )
allFieldsMap = layer.pendingFields()
expression = QgsExpression('"affected" = 1')
expression.prepare(allFieldsMap)
if expression.hasParserError():
raise Exception('Parser error !!')
if self.selectedOnly: #if we want to loop through selection only
features = layer.selectedFeatures()
View Constitution Genevoise (projet)
conversion brute du PDF trouvé à l'adresse suivante
http://fage.ifaway.net/files/2012/06/Projet_de_constitution_version_finale_190612_A4.pdf
REPUBLIQUE ET CANTON DE GENEVE
Assemblée constituante
Population
You can’t perform that action at this time.