2015年5月29日金曜日

Python: 文字列内に特定の文字が何個あるか数える

http://www.pythonweb.jp/tutorial/list/index10.html

JSONファイルを取り込む

色々な手段があるのだろうが、一番簡単で上手くいったのはコレ
http://www.openspc2.org/JavaScript/Ajax/Ajax_study/chapter03/006/index.html
サンプルコード内で参照しているxmlhttp.jsとやらはこちらに
http://www.openspc2.org/JavaScript/Ajax/Ajax_study/chapter02/005/index.html



jQueryの有望なようなんだがシンプルな解答にたどり着けなかった
http://directorblog.jp/archives/50960177.html

Node.jsもしかり。


機械学習に関する読み物

読む時間が無いので一旦リンク保存

http://gihyo.jp/admin/serial/01/aws_rsmu/0005


http://sssslide.com/www.slideshare.net/takahirokubo7792/ss-46471269

smart sensor

smart sensorに関する読み物
読む時間が無いので一旦リンク保存



open data

World Bank
http://datacatalog.worldbank.org/

San Mateoの環境データベース
https://data.smcgov.org/browse?category=Environment


Google Maps APIでオーバーレイ部分の消去

「非表示」ではなく「消去」
http://phpjavascriptroom.com/?t=ajax&p=googlemapsapiv3_overlays#a_remove
要するに参照先のデータアレイを空っぽにしてしまうということのようだ
mapオブジェクト自体を初期化すると地図自体をリロードするので(一度真っ白になる)見ててウザい。この方法が好ましい

2015年5月27日水曜日

Google Maps APIでのLatLngの使い方

https://developers.google.com/maps/documentation/javascript/reference#LatLng

Javascriptの基礎

デバッグ
http://postd.cc/how-to-not-hate-javascript-tips-from-the-frontline/

色々リファレンス
http://www.ajaxtower.jp/js/

オブジェクトの取り扱い
http://d.hatena.ne.jp/nattou_curry_2/20090801/1249109261

演算子
http://ja.wikibooks.org/wiki/JavaScript/%E6%BC%94%E7%AE%97%E5%AD%90

配列の最後に要素を追加
http://www.24w.jp/study_contents.php?bid=javascript&iid=javascript&sid=array&cid=008

Google Maps API "Heatmap Layer"

Google公式ガイド
https://developers.google.com/maps/documentation/javascript/heatmaplayer?hl=ja
APIリファレンス
https://developers.google.com/maps/documentation/javascript/reference#HeatmapLayer

HTML + JSのサンプル
https://developers.google.com/maps/documentation/javascript/examples/layer-heatmap
http://jsfiddle.net/EBQQH/
http://www.joyofdata.de/blog/interactive-heatmaps-with-google-maps-api/

Earthquake Mappingを事例にした説明
https://developers.google.com/maps/tutorials/visualizing/earthquakes?hl=ja


Google Maps APIを拡張した独自のAPI?(試してない)
http://www.heatmapapi.com/sample_googlev3.aspx