0

JOSM (.osm 形式) でインドア マップを作成し、シェープファイル (.shp 形式) に変換することに成功しました。TileMill を使用して andorid アプリケーションを表示するために、それらを MBTiles 形式に変換したいと考えています。TileMill プロジェクトに shp ファイルをアップロードすると、マップが表示されません。表示する方法はありますか?ありがとうございました。

これが私の.shpファイルリンクです

Map {
  background-color: #b8dee6;
}

#countries {
  ::outline {
    line-color: #85c5d3;
    line-width: 2;
    line-join: round;
  }
  polygon-fill: #fff;
}

#polygon.poly {
  line-color:#594;
  line-width:0.5;
  polygon-opacity:1;
  polygon-fill:#ae8;
}

代替テキスト

4

1 に答える 1

0

JOSM to shp to MBTiles... For an indoor map... It seems a little bit complicated.

I imagine that your map is made of lines and polygons?

I could suggest that you (re)build your indoor map from scratch as a KML file (with Google Earth, or ArcGIS, or even with Google Maps).

Then you will be able to load this KML directly on an Android device:

  • either with Google Earth for Android
  • or with OSMNavigator application (based on OSMBonusPack+osmdroid)
  • or by writing your own application using OSMBonusPack+osmdroid libs.
于 2014-04-08T21:29:01.640 に答える