Offline and Online indoor map with open street map. - android

I designed indoor map with Josm. I try to doing indoor map project with android.
I made open street map on josm and I asking question about it on OSM HELP PAGE and they said use tilemill for showing your indoor map. But tilemille suport .shp file and I could not convert it on tilemill.
you can download my work josm HERE
My question is.
How can I design this indoor map on mapbox-TileMill. Or Could you give other advise
exxample project and I found this project for example When I import it ,Why it does not show map
And How can I show map on my android application
could you give me advise. I am so mixed.Could you give me open source project or example

If you are looking for a way to load .osm map to tilemill there is a way. I did it following instructions in this guide. After you have your tiles created using Tilemill you can either either export them to your mapbox account or as mbtiles. Then you can use the mapbox android sdk to create your indoor map app.
Another alternative is to use mapsforge. They provide a mapwriter plugin (which is a plugin for osmosis)that allows you to convert .osm files into .map files. This .map file can then be loaded into the SD card and be used to render maps. However this option will only allow offline maps.
I hope this helps.

Related

Offilne Maps with MapBox in Android

I am working on an android application which contains modules like offline maps.I want to download map (data set) of a particular area based on user input then user can select two locations start and destination and i need to draw routes on the map. can any one please help me to solve this problem.
mapsforge was built just for that. It is incorporated into many projects.
GitHub: mapsforge
Mapsforge gives you full android samples that demonstrates the usage of the offline mapping infrastructure with the usage of their Android libraries.
In addition, the map tiles are free and can be downloaded from here

how we can use mapbox-android-sdk library in android?

How we can use mapbox-android-sdk library for offline Maploading in android and how we can add MBTiles and Vector tiles for draw offline Map in android ?
I have create a project in which i have use mapbox-android-sdk library by this is load map only in online . Now what should i do for that .
Have a look at Brad's answer here for how to dynamically save/cache tiles.
Using mbtiles looks to be fairly straightforward and is briefly outlined here.
Please take a look at the following mapbox android offlical example link to download offline map in mapbox android SDK :
https://www.mapbox.com/android-docs/maps/examples/download-a-simple-offline-map/. In order to give user an option to download a region in map - create a map screen so that user can select a particular location to download. From that selected location as shown in the example we have to pass the top-right point of map (north-east) and bottom-left point of map (south-west) point of map as attribute, so that the particular location will be downloaded. Mapbox recommends to use the offline locations plugin so that it will be downloaded asynchronously. Please refer this link for offline locations plugin : https://www.mapbox.com/android-docs/plugins/overview/offline/

Search a place offline with openstreetmap on android emulator

I would like to search a place with the android emulator. I use openstreetmap and I want to do it offline!
Can someone tells me how to do it! I would like to send a name or a restaurant for example and to have the position of this on on the map but offline!
I don't know if it can help but I have already an KML and GPX file but no librairie, for the moment, I'm using osmbonuspack because I've used osmdroid and mapnik to display the map
Help me please!
Take a look at the list of OSM apps and libraries for Android in the OSM wiki.
KML and GPX files probably won't help. Likewise, osmdroid is neither capable of displaying maps nor of performing geocoding requests when used offline.

Android offline map implementation

I need to implement offline map in my app.I have googled a lot but didnt get any code for that. For instance open street map, Once we downloaded the map only we can able to show them in a map. but is also lacking with zoom in and zoom out capability.
If anyone know any good tutorial to show offline map dynamic downloading. If am specifying any country code, it need to download the whole map.
you can use the Open Map Street offline.
here you will find some information and code.
Open Street Map working offline android
The OpenStreetMap wiki has a really large list of software for Android capable of displaying an OSM map.

gps app for android useing shapefiles

I'm very new to android development. I would like to make a android app for my senior project. The idea for the project is this: build an app that will show one's location on a map be it on a road or path. So it looks like using google maps and the Locator class this can be done. But here is the thing I have shapefile for the path system in esir format. It looks like one could export this from ArcGIS as a KML file, and then overlay it on top of the google map. Now of course I would like the GPS location displayed to the user to "snap" to the nearest path if it is in say 15m of the path to help hide the inaccuracies in the GPS. I would also like to be able to place notification icons on the map, e.g. path condition, that could be updated from time to time. I do also have shapefiles for the roads, streams, lakes, etc. for the area, so I could just use them instead of google maps. Is using google map and overlaying the KML file the best way to do this? Does this sound like a doable project?
Of caurse it's a doable project .there are many solutions for this kinde of projects for your base map you can use google map , openstreetmap ,Bingmap (personnaly i prefer openstreetmap ),open layer ..... , After that you can choose between google map api or Arcgis Api (personnaly i think that arcgis api is more Professional including all services of a GIS ) ... ,for Gps there ara many solutions one of theme is to update your Gpx file and project it like a graphic layer in you app .

Categories

Resources