GithubHelp home page GithubHelp logo

ingen084 / kyoshineewvieweringen Goto Github PK

View Code? Open in Web Editor NEW
94.0 8.0 9.0 55.33 MB

Custom client for Kyoshin Monitor

Home Page: https://svs.ingen084.net/kyoshineewviewer/

License: MIT License

C# 99.45% CSS 0.27% HTML 0.19% JavaScript 0.09%
earthquake earthquakes earthquake-visualization kyoshin-monitor avaloniaui

kyoshineewvieweringen's Introduction

KyoshinEewViewerIngen

downloads downloads

image

クレジット/スペシャルサンクス (敬称略)

ビルド方法

必要環境

  • .NET SDK 6 RC1 以上

Toolsについて

TopoJsonConverter

TopoJsonを簡略化するものです。
単一ポリゴンのものしか対応していません。

TrTimeTableConverter

走時表を変換するものです。

ObservationPointEditor

観測点を編集するやつです。
未完成ですが、利用は可能です。

kyoshineewvieweringen's People

Contributors

boocsan avatar fuku1213 avatar ingen084 avatar yumnumm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kyoshineewvieweringen's Issues

タッチ対応

現状のavaloniauiではうまくタッチイベントを拾えてなさそう

操作APIの統合

現在マップコントロールは当たり判定用のGridを上からかぶせてMainWindowからパラメータの操作を行っているが、それをマップコントロール側に移行し共通化させたい

設定ウィンドウが特定のサイズのとき、緊急地震速報タブ内の文章に脱字が発生する

不具合内容

「設定>緊急地震速報タブ>このソフトの緊急地震速報の受信について」の文章が設定ウィンドウの横幅によって、最後の一文が「注意てください。」のように脱字されて表示されます。設定ウィンドウが短すぎまたは長すぎても発生しません。
具体的には、設定ウィンドウを開いたときの横幅±10pxぐらいのときに発生します。

環境

OS:Windows10
ソフトウェアバージョン:v0.9.23.0-ALPHA(merged版を使用)

スクリーンショット

脱字発生
脱字発生(設定ウィンドウを開いたときのサイズ)

脱字未発生
不具合未発生(サイズをデフォルトより横に広げる)

備考

Light、Darkテーマで検証しましたが同様の不具合が発生したためテーマ依存ではなさそうです。

防災情報XMLへの接続に失敗した際に機能自体を無効化する

System.Net.Http.HttpRequestException: 要求したアドレスのコンテキストが無効です。 (www.data.jma.go.jp:80)
 ---> System.Net.Sockets.SocketException (10049): 要求したアドレスのコンテキストが無効です。
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|283_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.DefaultConnectAsync(SocketsHttpConnectionContext context, CancellationToken cancellationToken)
   at System.Net.Http.ConnectHelper.ConnectAsync(Func`3 callback, DnsEndPoint endPoint, HttpRequestMessage requestMessage, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.ConnectHelper.ConnectAsync(Func`3 callback, DnsEndPoint endPoint, HttpRequestMessage requestMessage, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.SendAsyncCore(HttpRequestMessage request, HttpCompletionOption completionOption, Boolean async, Boolean emitTelemetryStartStop, CancellationToken cancellationToken)
   at KyoshinEewViewer.Services.JmaXmlPullReceiveService.ProcessFeed(Boolean useLongFeed, Boolean disableNotice)
   at KyoshinEewViewer.Services.JmaXmlPullReceiveService.EnableAsync()
   at KyoshinEewViewer.Services.PullEarthquakeInfoService.<.ctor>b__11_0()
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

でコケてしまうケースがあるらしい、IPv4無効化環境?

ロードマップ

やる気によって前後しますが、だいたいこんな感じで進めます

メインのタスク

  • #26
    • dmdata, 防災情報XML周りの統合の再設計を行い、 dmdata の緊急地震速報の受信に対応します
    • 地震情報の取得に問題が発生した場合、UIにその旨を表示し再試行できるようにします
  • #27
    • XMLパースから描画までにもう1つ層を設け、震度データベースの表示を可能にします(機能開放は未定)
  • #28
    • 強震モニタの色から地震の発生を検知します
    • 無感地震まで反応させる予定はありません
  • #39
    • 緊急地震速報の電文のパースに対応し、詳細な情報を出せるようにします
  • #33
    • イベント発生時、任意の条件で任意の挙動を行うことができるようにします
  • #40
    • UIスレッドと描画スレッドを分離し、軽量化を図ります
    • またフレームワークの最新版への追従を図ります
  • #41
    • 📝 強震モニタが受信できないとEEWが消去されない問題を修正する
  • #51
    • 今のメインウィンドウのUIを再検討し整理を行います
  • #46
    • 津波情報発表による震源要素の更新にも対応させます
  • #66
    • 新形式の緊急地震速報の電文に対応させます
  • #68
    • インターネットに接続できない環境でもみちびきを通じて防災情報を受信できるようにします
  • #108
  • 強震モニタにおけるローカル情報の表示機能
    • 強震モニタタブ上で自分の住んでいる地域に関する情報を表示できるようにします
    • 合わせてシリアル通信の基盤と震度計の震度表示をできるようにします

サブのタスク

  • #37
  • #34
    • 台風情報を表示できるようにします
  • #67
  • テストの実装
  • 完全自動アップデートを実装
    • 📝 イベント中にアップデートされないようにとか、バグ混入のバージョンがアップデートされないよう気をつける必要あり
  • 地震情報の JmaIntensityKyoshinMonitorLib から切り離し、 震度5弱以上未入電 に対応します

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.