Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2023/11/08 Ecuadorにて #33

Open
ShogoHirasawa opened this issue Nov 8, 2023 · 0 comments
Open

2023/11/08 Ecuadorにて #33

ShogoHirasawa opened this issue Nov 8, 2023 · 0 comments

Comments

@ShogoHirasawa
Copy link
Owner

  • ラズパイ上でOSRMのサーバーを立てる(立てる場所はApache配下ではなさそう)
  • フロントエンド(Apache)からOSRMをMapLibre GL Directionを通して読む
    注意点:
    フロントエンドからOSRMを直接読みに行く場合OSRMがどのように経路情報を返しているのかを留意する。
  • OSRM経路検索に使うためのpbfファイルを作る(浸水域のよけるためのもの)
  • OSRMのprofiles/foot.luaの中にfloodのタグを追加して、経路検索で避けるように設定。
  • ルーティングのプラグインはindex.html内ではGitHubのコピペでは動かない。(import文が使えない)だからChatGPTに聞いた通りCDNを探してローカルに保存する。https://chat.openai.com/share/715da827-5ca5-40f5-9cf8-c276aafdc1a1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant