<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de-CH">
	<id>https://giswiki.ch/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Toggenburger</id>
	<title>Geometa Lab OST - Benutzerbeiträge [de-ch]</title>
	<link rel="self" type="application/atom+xml" href="https://giswiki.ch/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Toggenburger"/>
	<link rel="alternate" type="text/html" href="https://giswiki.ch/Spezial:Beitr%C3%A4ge/Toggenburger"/>
	<updated>2026-04-27T18:45:04Z</updated>
	<subtitle>Benutzerbeiträge</subtitle>
	<generator>MediaWiki 1.39.10</generator>
	<entry>
		<id>https://giswiki.ch/index.php?title=3._Micro_Mapping_Party_Rapperswil_2014&amp;diff=50778</id>
		<title>3. Micro Mapping Party Rapperswil 2014</title>
		<link rel="alternate" type="text/html" href="https://giswiki.ch/index.php?title=3._Micro_Mapping_Party_Rapperswil_2014&amp;diff=50778"/>
		<updated>2014-05-23T15:27:49Z</updated>

		<summary type="html">&lt;p&gt;Toggenburger: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:The_Geometa_HSR_GP-Team_FS14_small.png||205px|frameless|right|The GP-Team FS14]] &lt;br /&gt;
[[File:2_Mapping_Party_Rapperswil_klein.png||205px|frameless|right|Bilder von der 1. Mapping Party 2009]]&lt;br /&gt;
&lt;br /&gt;
23. May 2014, starting at 14:00h, Building 6 (entry hall/foyer &#039;Seegebäude&#039;, see OSM-Marker-Stele), HSR Hochschule für Technik Rapperswil .&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt; Emergyncy Phone of Prof. Stefan KELLER +41 79 377 74 20 &amp;lt;&amp;lt;&lt;br /&gt;
&lt;br /&gt;
(Mappers pls. fill in your name at [http://doodle.com/fwcb29iv7ht4zke8] (23. Mai only; man spricht auch Deutsch)).&lt;br /&gt;
&lt;br /&gt;
== Organization ==&lt;br /&gt;
&lt;br /&gt;
* What&#039;s the motto? &#039;&#039;&amp;quot;Mapping buildings and addresses in and around Rappi (and elsewhere)!&amp;quot;&#039;&#039;&lt;br /&gt;
* When does it start: 23. May 2014, 14:00h&lt;br /&gt;
* Where&#039;s the meeting point? Room/PC-Lab 6.004, Building 6, HSR Hochschule für Technik Rapperswil&lt;br /&gt;
* Who&#039;s the organizer? [[User:Stefan]] (Prof. Stefan Keller from Geometa Lab at IFS, HSR)&lt;br /&gt;
* Who participates? We expect a dozen people, mostly interns from Asia but also mappers from the surroundings.&lt;br /&gt;
* What to bring along? Your GPS and/or your mobile device with fully charged batteries (don&#039;t forget the power charger). Drink and food are offered by the HSR&lt;br /&gt;
&lt;br /&gt;
Participant list:&lt;br /&gt;
# Stefan Keller (organizing team from [[Geometa Lab]] at IFS, HSR) together with &amp;lt;br/&amp;gt;Rafael Krucker and &amp;lt;br/&amp;gt;Tobias Schmitz - Team Violet&lt;br /&gt;
# Phan Cong Minh (Minh) - Team Green&lt;br /&gt;
# Swarnima - Team Green&lt;br /&gt;
# Swoo WEI Cheng - Team Green&lt;br /&gt;
# Chen Xianyao (Chen) - Team Red&lt;br /&gt;
# Liu Guanqun OLIVER - Team Red&lt;br /&gt;
# Qi Zhang - Team Red&lt;br /&gt;
# Hao Feng (Hao) - Team Blue&lt;br /&gt;
# Rolf Furrer, HSR - Team Blue &lt;br /&gt;
# Rolf Hotz, Mapper - Team Yellow&lt;br /&gt;
* Marcel Amsler, HSR&lt;br /&gt;
* Daniel Kolb, HSR&lt;br /&gt;
* Wang Kailong &lt;br /&gt;
* Zhang Ruzhuang&lt;br /&gt;
* Lukas Toggenburger&lt;br /&gt;
&lt;br /&gt;
== Programm ==&lt;br /&gt;
&lt;br /&gt;
Tentative(!) Program:&lt;br /&gt;
* 14:00 : Arrival at Building 6, HSR Campus Rapperswil&lt;br /&gt;
* 14:10 : Instructions&lt;br /&gt;
* 14:55 : Mapping outdoor&lt;br /&gt;
* 16:30 : Work on PC (Edit)&lt;br /&gt;
* 18:30 : Barbecue at &amp;quot;[[Fäschtinsle]]&amp;quot; nearby!&lt;br /&gt;
* ...until 20:20 sunset or open end.&lt;br /&gt;
&lt;br /&gt;
== FAQ == &lt;br /&gt;
&lt;br /&gt;
=== What is OpenStreetMap? ===&lt;br /&gt;
&lt;br /&gt;
See [http://wiki.osm.org/ OpenStreetMap (OSM) Wiki]. The [https://wiki.openstreetmap.org/wiki/Stats#Registered_users statistics] showing the continuous growth of OSM are just stunning.&lt;br /&gt;
&lt;br /&gt;
=== What&#039;s a Mapping Party? ===&lt;br /&gt;
See [http://wiki.osm.org/Mapping_Party] (Was ist eine Mapping Party? siehe [[Micro Mapping Party Rapperswil]]). &lt;br /&gt;
&lt;br /&gt;
===How to Map an Address?=== &lt;br /&gt;
*To be a contributor to OpenStreetMap, firstly register to be an OSM user [https://www.openstreetmap.org/user/new] &lt;br /&gt;
*Addresses can be tagged with addr:housenumber=* and the other addr:* keys. Tags can be added to&lt;br /&gt;
**isolated nodes&lt;br /&gt;
**nodes that are parts of building polygons ( = entrance=*s )&lt;br /&gt;
**building=* polygons&lt;br /&gt;
**on polygons representing the perimeter of the site.&lt;br /&gt;
*Buildings with multiple house numbers - There is currently no consensus on this but here are some possibilities:&lt;br /&gt;
**Create an address node for each housenumber and place each node somewhere on the building outline (or inside the building).&lt;br /&gt;
**Separate the numbers by commas (e.g., &amp;quot;11,13,15&amp;quot;).&lt;br /&gt;
**Specify the range (e.g., &amp;quot;10-95&amp;quot;). This is the preferred method when such a range is officially used for the entire house. You may also use **addr:interpolation=* to describe whether that includes odd, even or all numbers.&lt;br /&gt;
&lt;br /&gt;
=== How to Map a Building? ===&lt;br /&gt;
&lt;br /&gt;
*A single building outline can be created for each building complex or &#039;block&#039;, which may relate to a single detached property, or to a row of individual terraced houses or to some more complex arrangement of properties. It is however better to create a series of linked outlines which share some nodes at the boundary to identify each distinct part of the property.&lt;br /&gt;
&lt;br /&gt;
*Buildings can simply be &#039;&#039;building=yes&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*If the building has an interior courtyard the use a Multipolygon relation to ensure that the courtyard is not rendered as part of the building.&lt;br /&gt;
**Please consider adding house numbers nodes to buildings with tags in &#039;&#039;addr:*=*&#039;&#039;-Namespace:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;entrance=yes&#039;&#039; (if you know where the entrance is)&lt;br /&gt;
  &#039;&#039;addr:street=*&#039;&#039;&lt;br /&gt;
  &#039;&#039;addr:housenumber=*&#039;&#039;&lt;br /&gt;
  &#039;&#039;addr:postcode=*&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*See http://wiki.osm.org&lt;br /&gt;
&lt;br /&gt;
=== Why &amp;quot;Micro&amp;quot;...? ===&lt;br /&gt;
&lt;br /&gt;
Micro has two meanings in this context: First, it&#039;s about a small party (usually it&#039;s about a weekend) - and second, it&#039;s about micromapping i.e. capturing of small scale features.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Mapping Party]]&lt;/div&gt;</summary>
		<author><name>Toggenburger</name></author>
	</entry>
	<entry>
		<id>https://giswiki.ch/index.php?title=SQLite&amp;diff=47120</id>
		<title>SQLite</title>
		<link rel="alternate" type="text/html" href="https://giswiki.ch/index.php?title=SQLite&amp;diff=47120"/>
		<updated>2013-10-29T07:58:10Z</updated>

		<summary type="html">&lt;p&gt;Toggenburger: CLI-Befehle für sqlite notiert&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Siehe auch:&lt;br /&gt;
* [[SpatiaLite]]&lt;br /&gt;
* [[PostgreSQL]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Über SQLite ==&lt;br /&gt;
&lt;br /&gt;
SQLite ist eine bekannte, robuste, einfach zu nutzende und leichtgewichtige relationale &amp;quot;Embedded Datenbank&amp;quot; (bzw. &lt;br /&gt;
Datenbanksystem, DBS, Software). Sie wird u.a. in der Mobile Plattform und dem Betriebssystem Android eingesetzt und von [[QGIS]] unterstützt. &lt;br /&gt;
&lt;br /&gt;
SQLite unterstützt einen Grossteil der im SQL-92-Standard festgelegten SQL-Sprachbefehle. Unter anderem implementiert SQLite Transaktionen, Unterabfragen (subselects), Sichten (views), Trigger und benutzerdefinierte Funktionen. Für alle wichtigen Programmiersprachen existieren passende Datenbankschnittstellen. Auch ein in der Konsole und in Shell-Skripten verwendbares, einfaches Frontend ist vorhanden. &lt;br /&gt;
&lt;br /&gt;
Es fehlen jedoch Funktionen wie Referentielle Integrität (FOREIGN KEY) oder die Möglichkeit, Objektberechtigungen zu verwalten (GRANT, REVOKE). Ganz speziell sind die &amp;quot;schwachen&amp;quot; Datentypen: Siehe unten.&lt;br /&gt;
&lt;br /&gt;
Jede SQLite-Datenbank ist eine einfache Datei (typischerweise .sqlite). Eine Client/Server-Architektur ist also nicht vorhanden. Es werden die Betriebssysteme Windows, Linux und MacOs unterstützt. Dazu kommt eine Erweiterung, &#039;&#039;[[SpatiaLite]]&#039;&#039; mit Geometrie-Datentypen.&lt;br /&gt;
&lt;br /&gt;
Die Daten können mit einem mitgelieferten Administrations-Tool (GUI) und vielen anderen DBMS-Admin-Tools (wie z.B. SQL Workbench) administriert werden. Dazu kommen Kommandozeilen-Tools.&lt;br /&gt;
&lt;br /&gt;
Was ist der Unterschied von SQLite zu [[PostgreSQL]]?&lt;br /&gt;
# Architektur: SQLite ist eine In-Prozess-Datenbank mit einer einzigen Speicherdatei. PostgreSQL hat eine Client/Server-Architektur.&lt;br /&gt;
# Datentypen: SQLite hat keine strengen Datentypen (&#039;adaptative typing&#039;. PostgreSQL hat striktes Data Typing zur Konsistenzsicherung.&lt;br /&gt;
# SQL: SQLite und PostgreSQL sind nahe am SQL-Standard, wobei PostgreSQL mehr Funktionen anbietet (z.B. fehlt bei SQLite ALTER TABLE).&lt;br /&gt;
# Lizenz: SQLite ist Public Domain. PostgreSQL hat eine BSD-Lizenz.&lt;br /&gt;
&lt;br /&gt;
== SQLite Tools ==&lt;br /&gt;
&lt;br /&gt;
* SQLite Database Browser&lt;br /&gt;
* Siehe auch: [[SpatiaLite]].&lt;br /&gt;
&lt;br /&gt;
== Datentypen ==&lt;br /&gt;
&lt;br /&gt;
SQLite besitzt ein eigenartiges, sog. dynamisches Typensystem: Die Deklaration im DDL-Statement wird wie Kommentar entgegengenommen. Was gilt ist der konkrete Wert. Das ist wie &amp;quot;duck typing&amp;quot; (d.h. der Typ folgt dem &amp;quot;Gebrauch&amp;quot;) in [[Python]].&lt;br /&gt;
&lt;br /&gt;
Man betrachte folgenes:&lt;br /&gt;
&lt;br /&gt;
  CREATE TABLE abc (&lt;br /&gt;
    a potato NOT NULL,&lt;br /&gt;
    b tomato NOT NULL,&lt;br /&gt;
    c green_salad NOT NULL);&lt;br /&gt;
  &lt;br /&gt;
  INSERT INTO abc (a, b, c)&lt;br /&gt;
    VALUES (1, &#039;a&#039;, 1.1);&lt;br /&gt;
  &lt;br /&gt;
  INSERT INTO abc (a, b, c)&lt;br /&gt;
    VALUES (2, &#039;b&#039;, 2.2);&lt;br /&gt;
  &lt;br /&gt;
  INSERT INTO abc (a, b, c)&lt;br /&gt;
    VALUES (3.3, 3, &#039;c&#039;);&lt;br /&gt;
  &lt;br /&gt;
  INSERT INTO abc (a, b, c)&lt;br /&gt;
    VALUES (&#039;d&#039;, 4.4, 4);&lt;br /&gt;
  &lt;br /&gt;
  SELECT a, b, c FROM abc;&lt;br /&gt;
   &lt;br /&gt;
  SELECT ROWID, TypeOf(a), TypeOf(b), &lt;br /&gt;
    TypeOf(c) FROM abc;&lt;br /&gt;
  &lt;br /&gt;
  PRAGMA table_info(abc);&lt;br /&gt;
  &lt;br /&gt;
  CREATE VIEW abc_v1 AS &lt;br /&gt;
    SELECT * FROM abc;&lt;br /&gt;
  &lt;br /&gt;
  SELECT TypeOf(a), TypeOf(b), &lt;br /&gt;
   TypeOf(c) FROM abc_v1;&lt;br /&gt;
  &lt;br /&gt;
  CREATE VIEW abc_v2 AS &lt;br /&gt;
    SELECT CAST(a + 10 AS INTEGER) &amp;quot;a&amp;quot;, b, c FROM abc;&lt;br /&gt;
  &lt;br /&gt;
  SELECT * FROM abc_v2;&lt;br /&gt;
  &lt;br /&gt;
  SELECT TypeOf(a), TypeOf(b), &lt;br /&gt;
   TypeOf(c) FROM abc_v2;&lt;br /&gt;
  &lt;br /&gt;
  SELECT TypeOf(a) as &amp;quot;type&amp;quot; &lt;br /&gt;
    FROM abc_v1 &lt;br /&gt;
    WHERE type NOT NULL &lt;br /&gt;
    GROUP BY 1;&lt;br /&gt;
  &lt;br /&gt;
  PRAGMA table_info(abc_v2);&lt;br /&gt;
&lt;br /&gt;
Siehe http://www.sqlite.org/datatype3.html und http://www.mail-archive.com/sqlite-users@sqlite.org/msg52027.html&lt;br /&gt;
&lt;br /&gt;
== Notizen ==&lt;br /&gt;
&lt;br /&gt;
Schema evolution: The unique operation supported by SQLite is: ALTER TABLE ... ADD COLUMN ... SQLite doesn&#039;t allows to change anything after creation. So, there is no way to fix: once you&#039;ve initially created any column. See http://www.sqlite.org/lang_altertable.html &lt;br /&gt;
&lt;br /&gt;
== Tipps ==&lt;br /&gt;
&lt;br /&gt;
Optimierung:&lt;br /&gt;
  PRAGMA journal_mode = OFF &lt;br /&gt;
  -- Delete all indexes&lt;br /&gt;
  If you need to create tables, do it here&lt;br /&gt;
  BEGIN&lt;br /&gt;
  -- ... do all your inserts&lt;br /&gt;
  COMMIT&lt;br /&gt;
  -- Create indexes&lt;br /&gt;
  PRAGMA journal_mode = WAL&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Datenbanksysteme]]&lt;br /&gt;
[[Kategorie:SQLite]]&lt;br /&gt;
&lt;br /&gt;
== CLI-Befehle ==&lt;br /&gt;
&lt;br /&gt;
Datenbanken anzeigen:&lt;br /&gt;
  .databases&lt;br /&gt;
&lt;br /&gt;
Tabellen anzeigen:&lt;br /&gt;
  .tables&lt;br /&gt;
&lt;br /&gt;
Spalten anzeigen:&lt;br /&gt;
  PRAGMA table_info(mytable);&lt;br /&gt;
&lt;br /&gt;
Zeilen anzeigen&lt;br /&gt;
  select * from mytable;&lt;br /&gt;
&lt;br /&gt;
Weitere Befehle siehe hier: http://www.sqlite.org/sqlite.html&lt;/div&gt;</summary>
		<author><name>Toggenburger</name></author>
	</entry>
</feed>