屋内ナビゲーション用の地図編集者
-
21-12-2019 - |
質問
屋内ナビゲーションアプリを作成したいです。しかし、フロアプランに問題があります。 そして私は良い地図(床)編集者が必要です。 このエディタがマップ(ドア、Windows、Corrigors、...)でデータベースを作成できるのであれば素晴らしいでしょう。 このマップをiOSアプリで統合します。 ありがとう!
解決
解決策を見つけました。私はJPGでこの床計画を持っていました。
私のステップ:
1)GDALからGTIFFを介して画像を変換します。
2)地球のないティレミルでプロジェクトを作成する。
3)「新しいレイヤーを追加」ボタンを押します。
4)gtiffファイルに宛先を選択し、SRSフィールド "900913"を入力します。
5)保存します。
6)画像レイヤラスタスケーリングに設定されたCSSで:双線形;
7)地図が表示されている間あなたの地図をズームする。
8)あなたのプロジェクトをmbtileにエクスポートします。
9)Mapbox SDKを使用してMbTileを統合します。
GDALの場合:
gdal_translate \
- gtiff \
〜/ダウンロード/ plateosaurus_big.jpg \
〜/ダウンロード/ plateosaurus_big.tif
他のヒント
You are free to choose any vector GIS you like to use to create indoor floor plans. Thus, you need to develop an speficiation for your model, so that you can create rules for routers etc. Next you need to think about how to store them (shapefiles, PostGIS, ...) and how you want to create the final products (rendered maps, routing graphs, ...).
I'm not sure how you want to create/collect your floorplans (experts vs. VGI) but JOSM sounds like a good starting point, esp. as the OSM community has already some experience with indoor mapping: http://wiki.openstreetmap.org/wiki/Indoor
Hint 1: There seems to be currently no final solution to indoor geolocation with adequat resoluton for your usecase (indoor routing).
Hint 2: The indoor topic is only in use within a very small part of the OSM community. So expect some refuses/critics if you add such data to the global OSM database.
Hint 3: In some countries are floorplans also intellectual property, so copy&trace might be a copyright infridgement.
Although that's not what it was made for, you could check out indoo.rs. You can use the product without indoor localization, but indoor map creation and indoor navigation.