This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE qgis_style> | |
<qgis_style version="2"> | |
<symbols> | |
<symbol tags="imported" force_rhr="0" alpha="1" type="fill" clip_to_extent="1" name="kenya_kit"> | |
<data_defined_properties> | |
<Option type="Map"> | |
<Option type="QString" value="" name="name"/> | |
<Option name="properties"/> | |
<Option type="QString" value="collection" name="type"/> | |
</Option> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'> | |
<qgis styleCategories="AllStyleCategories" maxScale="0" simplifyDrawingHints="1" simplifyDrawingTol="1" simplifyMaxScale="1" version="3.18.1-Zürich" simplifyLocal="1" simplifyAlgorithm="0" readOnly="0" minScale="100000000" hasScaleBasedVisibilityFlag="0" labelsEnabled="0"> | |
<flags> | |
<Identifiable>1</Identifiable> | |
<Removable>1</Removable> | |
<Searchable>1</Searchable> | |
<Private>0</Private> | |
</flags> | |
<temporal startExpression="" durationUnit="min" enabled="0" accumulate="0" startField="" endExpression="" fixedDuration="0" durationField="" mode="0" endField=""> | |
<fixedRange> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE qgis_style> | |
<qgis_style version="2"> | |
<symbols> | |
<symbol clip_to_extent="1" name="qlimt" force_rhr="0" type="fill" alpha="1"> | |
<layer enabled="1" pass="0" locked="0" class="GeometryGenerator"> | |
<prop v="Fill" k="SymbolType"/> | |
<prop v="with_variable('my_geom',
CASE WHEN 
 num_geometries( $geometry)>1
 THEN 
 geometry_n( $geometry, @geometry_part_num)
 ELSE
 $geometry
 END,
 with_variable('shape',rand(1,4),
 CASE WHEN 
 @shape =1
 THEN 
 minimal_circle( @my_geom )
 WHEN
 @shape =2
 THEN
 oriented_bbox( @my_geom )
 WHEN
 @shape =3
 THEN
 oriented_bbox( @my_geom )
 WHEN
 @shape =4
 THEN
 simplify(@my_geom, rand(1,20))
 END))
 " k="geometryModifier"/> | |
<data_defined_properties> | |
<Option type="Map"> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE qgis_style> | |
<qgis_style version="2"> | |
<symbols> | |
<symbol alpha="1" force_rhr="0" clip_to_extent="1" type="fill" name="pencilish"> | |
<layer class="MarkerLine" pass="0" locked="0" enabled="1"> | |
<prop k="average_angle_length" v="4"/> | |
<prop k="average_angle_map_unit_scale" v="3x:0,0,0,0,0,0"/> | |
<prop k="average_angle_unit" v="MM"/> | |
<prop k="interval" v="0.02"/> | |
<prop k="interval_map_unit_scale" v="3x:0,0,0,0,0,0"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE qgis_style> | |
<qgis_style version="2"> | |
<symbols> | |
<symbol tags="Showcase" clip_to_extent="1" name="digital_rain" force_rhr="0" alpha="1" type="fill"> | |
<layer class="SimpleLine" pass="0" enabled="1" locked="0"> | |
<prop v="square" k="capstyle"/> | |
<prop v="5;2" k="customdash"/> | |
<prop v="3x:0,0,0,0,0,0" k="customdash_map_unit_scale"/> | |
<prop v="MM" k="customdash_unit"/> | |
<prop v="0" k="draw_inside_polygon"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE qgis_style> | |
<qgis_style version="2"> | |
<symbols> | |
<symbol name="qartoon" force_rhr="0" clip_to_extent="1" alpha="1" type="fill"> | |
<layer class="SimpleFill" enabled="1" locked="0" pass="0"> | |
<prop v="3x:0,0,0,0,0,0" k="border_width_map_unit_scale"/> | |
<prop v="0,0,0,255" k="color"/> | |
<prop v="round" k="joinstyle"/> | |
<prop v="1,1" k="offset"/> | |
<prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Created on Thu Feb 14 16:54:39 2019 | |
@author: topit | |
MQTT part based on: http://www.steves-internet-guide.com/into-mqtt-python-client/ | |
API docs for HSL high-frequency positioning: https://digitransit.fi/en/developers/apis/4-realtime-api/vehicle-positions/ | |
""" | |
import paho.mqtt.client as mqtt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tweepy | |
import random | |
import pandas as pd | |
import time | |
#get your codes from https://apps.twitter.com/ | |
consumer_key = 'your_code_here' | |
consumer_secret = 'your_code_here' | |
access_token = 'your_code_here' | |
access_token_secret = 'your_code_here' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import csv | |
from datetime import timedelta | |
import dateutil.parser | |
import time | |
i=0 | |
sleep = 15 |
NewerOlder