Search a place offline with openstreetmap on android emulator - android

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.

Related

Use OSM Routing on a Google map

Is it possible to use OpenStreetMap data (for routing) on a Google map layer ?
I'm asking this because the Google Directions API is quite expensive, but at the same time I find OSM maps very ugly.
So is it possible to "mix" both the Google map and the OSM data ?? Or if someone knows an OSM map that looks like the Google one, please tell me, I would really appreciate it.
Thank you
PS : I am developping on Android
The OSM license doesn't forbid it: You can do it, as long as you don't mix two datasource for one type of data, so you're good.
You might try e.g. Mapbox, which have some rather nicely looking OpenStreetMap tiles and are also providing directions. They also have an SDK for Android: https://www.mapbox.com/android-sdk/

Offline and Online indoor map with open street map.

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.

How to identify the roads on the map to route just as Google Maps does?

do you know how can we create our map and show the ways from a certain locations to destinations ? Without using google map , just using a picture of a map , is there any way to draw routes on it?I am not asking projects or codes , just need some suggestions related to drawings and considering the obstacles in the way ?Thank you
You should have your way points in somewhere(maybe in db or in xml file etc) and also for getting map base you should have a map provider like yahoo, bing, google or openstreetmap(which is free to use - no api key needed considering others)
after having these two sources you can use Geoserver(which is opensource map data manipulater and provider) to put these sources together and get them as map base image.
considering your "just using a picture of a map" is an owerwellming issue. Because you will have to do some calculation to find where to put your points programatically. So Geoserver does that automatically.
also I suggest you to hava a look at osmdroid and osmbonuspack they may help.

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