我想创建室内导航应用程序。但楼层计划有一些麻烦。 而且我需要一个很好的地图(地板)编辑可能就像ArcGIS,JOSM一样。 如果此编辑器可以通过地图(门,Windows,Windowers,...)创建数据库,这将是很棒的。 我将在iOS应用程序中集成此地图。 谢谢!

有帮助吗?

解决方案

我找到了解决方案。我有JPG的这个楼层。

我的步骤:
1)通过GDAL将图像转换为Gtiff。
2)在没有全球的Tilemill中创建项目。
3)按下按钮“添加新图层”。
4)选择到Gtiff文件的目标并在SRS字段中输入“900913”。
5)保存。
6)在图像层栅格缩放上设置的CSS:BILINEAR;
7)在您看到地图时缩放您的地图。
8)将项目导出到MBTILE。
9)使用Mapbox SDK集成您的MBTILE。

对于GDAL:
gdal_translate \
-of gtiff \
〜/下载/ plateosaurus_big.jpg \
〜/下载/ plainosaurus_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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top