Skip to content

Instantly share code, notes, and snippets.

<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' generator='JOSM'>
<node id='-118413' action='modify' visible='true' lat='37.07535905531' lon='138.10394895959' />
<node id='-118414' action='modify' visible='true' lat='36.97805748408' lon='138.10467863745' />
<node id='-118415' action='modify' visible='true' lat='36.97809993008' lon='138.11355337946' />
<node id='-118416' action='modify' visible='true' lat='36.96729087944' lon='138.11363438044' />
<node id='-118417' action='modify' visible='true' lat='36.96733371589' lon='138.12258949436' />
<node id='-118418' action='modify' visible='true' lat='36.94571615625' lon='138.12275145785' />
<node id='-118419' action='modify' visible='true' lat='36.94567314169' lon='138.11376166228' />
<node id='-118420' action='modify' visible='true' lat='36.94030128296' lon='138.11380190227' />
<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' generator='JOSM'>
<node id='-111421' action='modify' visible='true' lat='35.393429301' lon='139.37538781496' />
<node id='-111422' action='modify' visible='true' lat='35.4312665616' lon='139.37514829324' />
<node id='-111423' action='modify' visible='true' lat='35.43130375585' lon='139.38399607413' />
<node id='-111424' action='modify' visible='true' lat='35.48537526472' lon='139.38365358894' />
<node id='-111425' action='modify' visible='true' lat='35.4853383427' lon='139.37486466104' />
<node id='-111426' action='modify' visible='true' lat='35.49616726995' lon='139.37479604371' />
<node id='-111427' action='modify' visible='true' lat='35.49620435096' lon='139.38362400543' />
<node id='-111428' action='modify' visible='true' lat='35.52323428859' lon='139.38345269021' />
https://www.geospatial.jp/ckan/dataset/99b48941-088a-4adc-ae04-8db2cd7a66d1/resource/bff459c7-ca53-4893-9702-fd8bdea0654e/download/013-027.zip
https://www.geospatial.jp/ckan/dataset/99b48941-088a-4adc-ae04-8db2cd7a66d1/resource/0ad1b4e9-2efb-4c5f-9de7-a56df2d2b57a/download/028-037.zip
https://www.geospatial.jp/ckan/dataset/99b48941-088a-4adc-ae04-8db2cd7a66d1/resource/aa196f48-adaa-4f58-b88e-26aff6e3e664/download/041-053.zip
https://www.geospatial.jp/ckan/dataset/99b48941-088a-4adc-ae04-8db2cd7a66d1/resource/7a7c6d5d-fd52-4ce7-9bb1-e65e6be50d18/download/055-065.zip
https://www.geospatial.jp/ckan/dataset/99b48941-088a-4adc-ae04-8db2cd7a66d1/resource/7f160bde-154f-4863-8bc6-d0ff1abee0de/download/066-075.zip
https://www.geospatial.jp/ckan/dataset/99b48941-088a-4adc-ae04-8db2cd7a66d1/resource/8d57f9d2-b489-4a0f-b6f8-7bf0de51276d/download/076-085.zip
https://www.geospatial.jp/ckan/dataset/99b48941-088a-4adc-ae04-8db2cd7a66d1/resource/88b5b550-fd38-40e0-ae0b-fce68f5d4323/download/087-099.zip
https://www.geospatial.
@kudarisenmon
kudarisenmon / print_cooike.py
Created January 29, 2020 12:55
print cookies from GET request on python3
# -*- coding: utf-8 -*-
from urllib.request import build_opener, HTTPCookieProcessor
from urllib.parse import urlencode
from http.cookiejar import CookieJar
import pprint
cookie_jar = CookieJar()
opener = build_opener(HTTPCookieProcessor(cookie_jar))
res = opener.open('https://www.google.com')
@kudarisenmon
kudarisenmon / nmea2gpx.sh
Created April 14, 2019 02:34
ドラレコのnmeaをgpxに一括変換
#!/bin/sh
for filename in *.nmea;
do gpsbabel -i nmea -f $filename -o gpx,gpxver=1.1 -F ${filename%.nmea}.gpx;
done
- name: NHKEテレ
type: GR
channel: '13'
- name: SBS
type: GR
channel: '15'
- name: テレビ静岡
type: GR
channel: '17'
- name: 静岡朝日テレビ
garoon.events.on('schedule.event.detail.show', function(event) {
alert('予定詳細画面を開きました');
});
@kudarisenmon
kudarisenmon / H27道路台帳図データ.txt
Created September 9, 2018 10:27
静岡市 H27道路台帳図データ
http://dataset.city.shizuoka.jp/dataset/f344b4b2-ed1d-4af3-a181-f49350678953/resource/48b124ff-051b-4e01-91f0-42e7a94a9535/download/md42-dxf.dxf
http://dataset.city.shizuoka.jp/dataset/f344b4b2-ed1d-4af3-a181-f49350678953/resource/90bcfeff-991d-488c-8efb-679fcdee6b62/download/md52-dxf.dxf
http://dataset.city.shizuoka.jp/dataset/f344b4b2-ed1d-4af3-a181-f49350678953/resource/45b54c14-df3f-4f71-86ec-656105cc0a19/download/md53-dxf.dxf
http://dataset.city.shizuoka.jp/dataset/f344b4b2-ed1d-4af3-a181-f49350678953/resource/684a8aa9-0c02-47cb-916b-f9fe13d44436/download/md56-dxf.dxf
http://dataset.city.shizuoka.jp/dataset/f344b4b2-ed1d-4af3-a181-f49350678953/resource/b44e9d86-58e0-48d8-9f92-c4268b49d97d/download/md-dxf.dxf
http://dataset.city.shizuoka.jp/dataset/f344b4b2-ed1d-4af3-a181-f49350678953/resource/30beb4eb-4061-4edc-a273-0cabcca4abe9/download/md65-dxf.dxf
http://dataset.city.shizuoka.jp/dataset/f344b4b2-ed1d-4af3-a181-f49350678953/resource/9ad36832-3a54-4edc-bdb9-73b0d75b6ccd/download/md66-dxf.dxf
http://data
@kudarisenmon
kudarisenmon / yolp2geojson.js
Created January 30, 2017 08:42
YOLPのJSON出力(yolp.json)をGeoJSONに変換する
"use strict";
var Obj = function(name, latlon) {
this.name = name;
this.geo = {};
this.geo.type = "Point";
this.geo.coordinates = [];
this.geo.coordinates.push(parseFloat(latlon.split(",")[0]));
this.geo.coordinates.push(parseFloat(latlon.split(",")[1]));
}
@kudarisenmon
kudarisenmon / luluca.py
Created January 10, 2017 12:12
nfcpy を使用してLuLuCaの残高を表示する
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import struct
import nfc
service_code = 0x008b
def connected(tag):
if isinstance(tag, nfc.tag.tt3.Type3Tag):
try: