Skip to content

Instantly share code, notes, and snippets.

View ismailsunni's full-sized avatar

Ismail Sunni ismailsunni

View GitHub Profile
{
"trip": {
"locations": [
{
"type": "break",
"lat": 46.960088,
"lon": 7.456664,
"original_index": 0
},
{
{"trip":{"locations":[{"type":"break","lat":46.955719,"lon":7.448945,"original_index":0},{"type":"break","lat":46.956637,"lon":7.450633,"original_index":1}],"legs":[{"maneuvers":[{"type":1,"instruction":"Drive north on Greyerzstrasse.","verbal_succinct_transition_instruction":"Drive north. Then, in 100 meters, Turn right onto Schl\xc3\xa4flirain.","verbal_pre_transition_instruction":"Drive north on Greyerzstrasse. Then, in 100 meters, Turn right onto Schl\xc3\xa4flirain.","verbal_post_transition_instruction":"Continue for 100 meters.","street_names":["Greyerzstrasse"],"time":13.017,"length":0.138,"cost":37.404,"begin_shape_index":0,"end_shape_index":4,"verbal_multi_cue":true,"travel_mode":"drive","travel_type":"car"},{"type":10,"instruction":"Turn right onto Schl\xc3\xa4flirain.","verbal_transition_alert_instruction":"Turn right onto Schl\xc3\xa4flirain.","verbal_succinct_transition_instruction":"Turn right. Then Turn left onto Optingenstrasse.","verbal_pre_transition_instruction":"Turn right onto Schl\xc3\xa
@ismailsunni
ismailsunni / bayern-metadata
Last active October 20, 2021 08:51
Valhalla Tiles Metadata Files for Kadas Routing Plugin
{"id": "bayern_osm", "owner": "geosupport.fsta", "created": 1634715082000, "modified": 1634715082000, "guid": null, "name": "bayern.zip", "title": "Bayern OSM", "type": "Code Sample", "typeKeywords": ["Code", "Other", "Sample"], "description": null, "tags": ["valhalla"], "snippet": null, "thumbnail": "thumbnail/ago_downloaded.png", "documentation": null, "extent": [], "categories": [], "spatialReference": null, "accessInformation": null, "licenseInfo": null, "culture": null, "properties": null, "url": null, "proxyFilter": null, "access": "public", "size": -1, "subInfo": 0, "appCategories": [], "industries": [], "languages": [], "largeThumbnail": null, "banner": null, "screenshots": [], "listed": false, "numComments": 0, "numRatings": 0, "avgRating": 0, "numViews": 58, "scoreCompleteness": 33, "groupDesignations": null, "contentOrigin": "self", "status": 1}
@ismailsunni
ismailsunni / Ubuntu_Bionic_Install.sh
Created March 24, 2021 18:09
Ubuntu_Bionic_Install.sh
#!/bin/bash
sudo apt update
sudo apt upgrade -y
sudo apt install -y mc
sudo apt install -y cmake make libtool pkg-config g++ gcc jq lcov protobuf-compiler vim-common libboost-all-dev libboost-all-dev libcurl4-openssl-dev zlib1g-dev liblz4-dev libprotobuf-dev
{
"version": 8,
"name": "Dark Matter",
"metadata": {
"mapbox:autocomposite": false,
"mapbox:groups": {
"101da9f13b64a08fa4b6ac1168e89e5f": {
"collapsed": false,
"name": "Places"
},
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
ISBN;Title;Year;Authors;Subtitle;Edition
978-3-85902-368-0;Berner Oberland;2017;Joss / Joss;;de
978-3-85902-416-8;Vierwaldstättersee / Zentralschweiz;2016;Kundert / Volken;;de
978-3-85902-365-9;Gotthard;2014;Kundert / Volken;;de
978-3-85902-318-5;Freiburg;2014;Daniel Anker/Manuel Haas;;de
978-3-85902-341-3;Graubünden Nord;2013;Lippuner / Coulin;;de
978-3-85902-337-6;Ostschweiz;2012;Coulin / Lippuner;;de
978-3-85902-324-6;Entlebuch / Emmental;2011;Ewald Ackermann;;de
978-3-85902-327-7;Engadin;2010;Joss / Joss;;de
978-3-85902-275-1;Wanderziel Gipfel Oberwallis;2008;Joss / Joss;;de
@ismailsunni
ismailsunni / poi.json
Created September 22, 2020 14:57
POI JSON
{
"altitude": 2189.0,
"author_id": 5,
"author_ready_to_publish_ok": false,
"comments": null,
"created": "2020-09-22T13:57:13.661335+00:00",
"de_translation_ok": false,
"description_summer": {
"fr": "Peut transporter beaucoup de chevaux"
},
@ismailsunni
ismailsunni / CMakeCache.txt
Created September 15, 2020 10:52
CMakeCache.txt
# This is the CMakeCache file.
# For build in directory: /home/isunni/dev/cpp/build-qgis-5_14
# It was generated by CMake: /usr/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
@ismailsunni
ismailsunni / gist:9a60b90e6d94b0172cf2a654dbe002f8
Created September 11, 2020 10:03
http://localhost:8380/?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<WMS_Capabilities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sld="http://www.opengis.net/sld" xmlns="http://www.opengis.net/wms" xmlns:qgs="http://www.qgis.org/wms" version="1.3.0" xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd http://www.qgis.org/wms http://localhost:8380/?TIME=2018-08-31T00:00:00Z/2018-09-30T00:00:00Z&SERVICE=WMS&REQUEST=GetSchemaExtension">
<Service>
<Name>WMS</Name>
<Title>untitled</Title>
<KeywordList>
<Keyword vocabulary="ISO">infoMapAccessService</Keyword>
</KeywordList>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost:8380/?TIME=2018-08-31T00:00:00Z/2018-09-30T00:00:00Z"/>
<Fees>conditions unknown</Fees>
<?xml version="1.0" encoding="utf-8"?>
<WMS_Capabilities version="1.3.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd http://www.qgis.org/wms http://localhost:8380/?TIME=2018-08-31T00:00:00Z/2018-09-30T00:00:00Z&amp;SERVICE=WMS&amp;REQUEST=GetSchemaExtension" xmlns:sld="http://www.opengis.net/sld" xmlns="http://www.opengis.net/wms" xmlns:qgs="http://www.qgis.org/wms">
<Service>
<Name>WMS</Name>
<Title>untitled</Title>
<KeywordList>
<Keyword vocabulary="ISO">infoMapAccessService</Keyword>
</KeywordList>
<OnlineResource xlink:type="simple" xlink:href="http://localhost:8380/?TIME=2018-08-31T00:00:00Z/2018-09-30T00:00:00Z" xmlns:xlink="http://www.w3.org/1999/xlink"/>
<Fees>conditions unknown</Fees>