GithubHelp home page GithubHelp logo

osmandapp / osmand Goto Github PK

View Code? Open in Web Editor NEW
4.3K 143.0 985.0 843.05 MB

OsmAnd

Home Page: https://osmand.net

License: Other

Shell 0.03% Java 95.20% Makefile 0.01% XSLT 0.03% CSS 0.08% Kotlin 3.95% AIDL 0.70%

osmand's Introduction

OsmAnd (OSM Automated Navigation Directions)

This project aims at providing comfortable map viewing and navigation (routing) application for mobile devices. Particular stress lies with complete offline features (via pre-loaded offline map data) or economic internet usage. To get started, continue with the basic description below, then find more detail on our Welcome Wiki Pages, the Project Homepage, or the OpenStreetMap OsmAnd Wiki Page. You are welcome to discuss any question regarding the project at the Google group OsmAnd. Please do not use comments on wiki pages because it is rather difficult to find them.

Android markets
Google Play
Huawei AppGallery
Amazon
F-droid
App Store - Apple
App Store Apple

Translation status

Functionality

OsmAnd (OSM Automated Navigation Directions) is a map and navigation application with access to the free, worldwide, and high-quality OpenStreetMap (OSM) database. All map data can be stored on your device's memory card for offline use. Via your device's GPS, OsmAnd offers routing, with optical and voice guidance, for car, bike, and pedestrian usage. All main functionalities work both online and offline (no internet needed).

Some of the main features:

Navigation

  • Works online (fast) or offline (no roaming charges when you are abroad)
  • Turn-by-turn voice guidance (recorded and synthesized voices)
  • Optional lane guidance, street name display, and estimated time of arrival
  • Supports intermediate points on your itinerary
  • Automatic re-routing whenever you deviate from the route
  • Search for places by address, by type (e.g. restaurant, hotel, gas station, museum), or by geographical coordinates

Map Viewing

  • Display your position and orientation on the map
  • Optionally align the map according to compass or your direction of motion
  • Save your most important places as Favorites
  • Display POIs (point of interests) around you
  • Can display specialized online tile maps
  • Can display satellite view (from Bing)
  • Can display different overlays like touring/navigation GPX tracks and additional maps with customizable transparency
  • Optionally display place names in English, local, or phonetic spelling

Use OpenStreetMap and Wikipedia Data

  • High quality information from the world's best collaborative projects
  • Global maps from OpenStreetMap, available per country or region
  • Wikipedia POIs, great for sightseeing (not available in free version)
  • Unlimited free downloading, directly from the app (download limit is 16 map files in free version)
  • Always up-to-date maps (updated at least once a month)
  • Compact offline vector maps
  • Select between complete map data and just road network (Example: All of Japan is 700 MB, or 200 MB for the road network only)
  • Also supports online or cached tile maps

Safety Features

  • Optional automated day/night view switching
  • Optional speed limit display, with reminder if you exceed it
  • Optional speed-dependent map zooming
  • Share your location so that your friends can find you

Bicycle and Pedestrian Features

  • The maps include foot, hiking, and bike paths (great for outdoor activities)
  • Special routing and display modes for bike and pedestrian usage
  • Optional public transport stops (bus, tram, train), including line names
  • Optional trip recording to local GPX file or online service
  • Optional speed and altitude display
  • Display of contour lines and hill-shading (via additional paid plugin)

Directly Contribute to OpenStreetMap

  • Report map bugs
  • Upload GPX tracks to OSM directly from the app
  • Add POIs and directly upload them to OSM (or later if offline)
  • Optional trip recording in background mode (while device is in sleep mode)

Contribute to OsmAnd

OsmAnd is open-source and actively being developed. Everyone can contribute to the application by reporting bugs, improving translations, or coding new features. The project experiences continuous improvement by all such forms of developer and user interaction. The project progress also relies on financial contributions to fund the development, coding, and testing of new functionality. By buying OsmAnd+ and subscribing to OsmAnd Pro (see https://osmand.net/docs/user/purchases/), you help the application become even more awesome!

Map Coverage and Quality - How Good is OSM Data?

According to research, OSM map data rivals and often surpasses commercially available maps both in terms of data completeness and data actuality. This is indicated by different metrics like the amount of road distance mapped, or the number of objects like points of interest or buildings mapped. The fact that the maps are globally crowd-sourced ensures continuous improvements and updates, the incorporation of local on-the-ground expertise, and reflects things like neighborhood development, ongoing construction, or even the results of recent natural disasters.

Comparing the different metrics, it is safe to say that OSM maps cover all continents and countries globally for all your travel needs, and you will find their quality and completeness nothing less than stunning in the vast majority of countries. Latest research mentions only few countries in continental Asia and central Africa where e.g the incorporation of a noticeable portion or roadways is still ongoing to catch up with the high levels already reached anywhere else.

List of countries supported

Coverage is world wide, e.g.: Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, Argentina, Armenia, Aruba, Australia, Austria, Azerbaijan, Bahamas, Bahrain, Bangladesh, Barbados, Belarus, Belgium, Belize, Benin, Bermuda, Bhutan, Bolivia, Bonaire, Bosnia and Herzegovina, Botswana, Brazil, British Virgin Islands, Brunei, Bulgaria, Burkina Faso, Burundi, Cambodia, Cameroon, Canada, Cape Verde, Central African Republic, Chad, Chile, China, Colombia, Comoros, Congo, Costa Rica, Croatia, Cuba, Curaçao, Cyprus, Czechia, Denmark, Djibouti, Dominica, Dominican Republic, Ecuador, Egypt, El Salvador, Equatorial Guinea, Eritrea, Estonia, Ethiopia, Fiji, Finland, France, French Guiana, French Polynesia, Gabon, Gambia, Georgia, Germany, Ghana, Gibraltar, Greece, Greenland, Grenada, Guadeloupe, Guam, Guatemala, Guernsey, Guinea, Guinea-Bissau, Guyana, Haiti, Vatican, Honduras, Hong Kong, Hungary, Iceland, India, Indonesia, Iran, Iraq, Ireland, Isle of Man, Israel, Italy, Ivory Coast, Jamaica, Japan, Jersey, Jordan, Kazakhstan, Kenya, Kiribati, North Korea and South Korea, Kuwait, Kyrgyzstan, Laos, Latvia, Lebanon, Lesotho, Liberia, Libya, Liechtenstein, Lithuania, Luxembourg, Macao, Macedonia, Madagascar, Malawi, Malaysia, Maldives, Mali, Malta, Martinique, Mauritania, Mauritius, Mayotte, Mexico, Micronesia, Moldova, Monaco, Mongolia, Montenegro, Montserrat, Morocco, Mozambique, Myanmar, Namibia, Nauru, Nepal, Netherlands, Netherlands Antilles, New Caledonia, New Zealand, Nicaragua, Niger, Nigeria, Norway, Oman, Pakistan, Palau, Palestinian Territory, Panama, Papua New Guinea, Paraguay, Peru, Philippines, Poland, Portugal, Puerto Rico, Qatar, Romania, Russia, Rwanda, Saint Barthelemy, Saint Helena, Saint Kitts and Nevis, Saint Lucia, Saint Martin, Saint Pierre and Miquelon, Saint Vincent and the Grenadines, Samoa, San Marino, Saudi Arabia, Senegal, Serbia, Seychelles, Sierra Leone, Singapore, Slovakia, Slovenia, Somalia, South Africa, South Georgia, South Sudan, Spain, Sri Lanka, Sudan, Suriname, Swaziland, Sweden, Switzerland, Syria, Taiwan, Tajikistan, Tanzania, Thailand, Timor-Leste, Togo, Tokelau, Tonga, Trinidad and Tobago, Tunisia, Turkey, Turkmenistan, Tuvalu, Uganda, Ukraine, United Arab Emirates, United Kingdom (UK), United States of America (USA), Uruguay, Uzbekistan, Vanuatu, Venezuela, Vietnam, Wallis and Futuna, Western Sahara, Yemen, Zambia, Zimbabwe.

osmand's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

osmand's Issues

mimeType handler to import downloaded osmand files

Hi

The swiss osm association now generates a custom osmand map file of Switzerland (http://planet.osm.ch/switzerland.obf).

Now it is complicated on android to get this file into the osmand directory. One would need a file browser to move the file.

This could be simplified by osmand registring a mimeType with android, such that osmand files are automatically opened with osmand (which would simply moves the file to the correct place)

geo: URI more robust parsing

The geo: URI currently does not accept an altitude or parameters.
While this seems to match current Google maps behaviour I think it would be preferable if it supported the formats allowed by the spec, and programs like QR droid etc. do accept such geo: URIs.
Examples:
geo:53.33,-3.83,197
geo:53.33,-3.83,197;u=5
In addition I believe the code is also buggy, trying to extract a negative size substring in some cases like:
geo:123?45,
I do not have an environment set up to even test compilation, but I will attach a patch proposal (once I figure out how).

Better search experience

Search is a central part of any maps app. In OsmAnd »Search« is shown prominently in the menu, but it actually is more of a »Browse« function rather than simple search. I really like OsmAnd but the way search currently works really bugs me. So let’s improve it! :)

There currently are six (!) different ways to search/browse:

  • Points of interest (default)
  • Address search
  • Coordinates
  • Favorites
  • Search history
  • Transportation

If you’re looking for a restaurant for example, POI → Search by name is fastest (if you find it among the options).

If you want to look up an address, it gets cumbersome:

  1. choose a region
  2. choose a city
  3. choose a street
  4. choose a number

Which is kind of backwards from how people normally approach it. First you search for street+number, and if there are multiple results you either just choose one, or you add the city.

Then it comes to actually seeing the result. In the address search, it takes some time to find out what you actually are supposed to do: Press one of the icons in the bottom bar (not knowing what they are for):

  • routing/directions
  • add as waypoint
  • show on map (the thing I want!)
  • add as favorite
  • the arrow → gives me »online search«

Interesting, online search is actually the thing I wanted when I pressed »search« in the first place. Or rather: One input field where I can put in what I want to search.

All the other things like history, favorites etc could be suggestions in the results. But not separate categories which make me confused about what I need to select to simply get results.

Then there’s another thing which bars me from simply seeing what I wanted to search: I get a popover asking me if I want

  • Directions
  • add as waypoint
  • Show on map
  • add to Favorites

Where instead it could simply just show it on the map automatically and I could then decide what I want to do with it.

If that is a direction you are generally willing to go into, I would be happy to provide mockups, design consultation, and the like. :)

"Starting point too far from nearest road" when ON the road.

Hi there,

Whenever I try to use Osmand for routing, I constantly just get the following error:
"Error calculating route. Starting point too far from nearest road"

This happens even when the blue circle / arrow, indicating where I am is entirely on a road, even a main road, in a well mapped area of Toronto, Canada. It updates correctly as I move. I have location services turned on. It happens almost all the time.

I actually have this hunch that it may be something about running short of memory to calculate routes or something

I tried with version 1.5-ARM from the Fdroid repos and and nightly version #1796D on a Samsung Nexus S phone running Android 4.1.2.

Install on Nexus 4 takes minutes

I was surprised that installation from the Play Store on my N4 running KitKat takes minutes. The download was quite quick, but the install phase takes very long. I have never seen behavior like that in other apps. Is this a known issue?

DEX fails because of PlatformUtil.java

Hello!

When I try to build OsmAnd with Android Studio, I get DEX Errors because of two files: PlatformUtil.java in net.osmand in the modules OsmAnd and OsmAnd-java

What should I do?

malformed tile requests

I'm the operator of http://thaimap.osm-tools.org/ which provides bilingual OSM data renderings of Thailand, Cambodia, Laos and Vietnam.

I discovered in my logfile a lot of failed requests from Osmand. As I'm a proud user of the paid app I tried to dig a bit deeper.
Looks like someone added my server as a tile source in Osmand. Unfortunately the URL string does not get properly expanded.

This is what ends in the logfile:

"GET /osm_then/${74}/${72}/${73}.png HTTP/1.1" 404 460 "-" "Osmand 0.7.3 beta" 

Add button to delete all local OSM edits

As I like to edit the Changeset with JOSM before I upload it to OSM it would be nice if OsmAnd would offer a way to delete all local edits afterwards.

I usually export them to the file poi_modification.osc, load them in JSOM, edit them and finally upload my changes. After that I have to delete every single POI in OsmAnd manually to not get the same POI that I already uploaded next time again.

Storage directory

I have an 32Gb MicroSD-Card which ist ext4 formatted therefore it is mounted in /mnt/fuse/sdcard1 and the android sdcard binary remounts it with correct permissions in /storage/sdcard1 (i9100 cm10.2)

In the Storage directory chooser i can only choose /mnt/fuse/sdcrad1 in which osmand has no write permissions but /storage/sdcard1 is not available. As the sdcard binary mounts the sdcard to use it in the andoid system only the "correct" mount point should be displayed

Feature: Working location out on tunnels

It is a little bit annoying when GPS location is lost in tunnels and the current position on map becomes freezed until to the end of the tunnel. For example, Osmand does not inform when there is a speed trap in the tunnel or at its end.

I propose an improvement consisting in to calculate the estimated location based on speed before entering in the tunnel as a constant and the seconds from the lost of GPS signal.

The current location can be calculated over the main line of the route in the tunnel and navigation will be usually more comfortable. User must be informed that he or she is under a tunnel and location is calculated virtually (voice notification and a label titled something like "Under tunnel: estimated position").

"GPS Status & Toolox" & "SatStat"

If "Show GPS Status" button is pressed and "GPS Status" is not installed, Osmand proposed to search it on the market.

As "GPS Status & Toolbox" is not a FLOSS, may I proposed you to check before if SatStat is installed on the device. "SatStat" is not available on the store but it is on f-droid repo.

Transparency slider disapear after relaoding the map

On the map view :

  • I add a baselayer in the map configuration menu (ie a Microsoft Earth layer seed with OsmAndMapCreator)
  • this works perfectetly (layer visible in the map and transparency layer at the bottom of the view)
  • I go back to the main menu and display the map again
  • the transparency slider disapears
    I have to reconfigure the baselayer to see the slider again.

Error when using vector maps off-line

By using vector maps the system hangs at startup.

When I compiled the latest version available master was a fatal error when using the map. OBF in the root directory.

Request a review.

Samsung Galaxy Tablet - Android 3.1 and 2.2

Optimized PNG files

I optimized PNG files inside res folder with an awesome ScriptPNG (http://css-ig.net/scriptpng) in PNG24+A Optimizer mode and that's what I got:

  • 578 613 bytes (565 kB) saved in drawable-hdpi
  • 21 337 bytes (20 kB) saved in drawable-land
  • 69 222 bytes (67 kB) saved in drawable-land-hdpi
  • 451 538 bytes (441 kB) saved in drawable-large
  • 69 222 bytes (67 kB) saved in drawable-large-land
  • 484 898 bytes (473 kB) saved in drawable-mdpi

There is no compromise in quality. In total it gives 1 674 830 less bytes ( 1,59 MB ) in the APK file and memory.

Here a zip file with optimized pngs: http://speedy.sh/pSRnc/res.zip

UTM Cord diplays

I belong to a Wilderness search and rescue group here in New York, and we navigate using UTM cord vs lat and long. would be nice to have it so when you did the location on a map screen it would show in UTM cords. Is there anything that can be done?

OpeningHours: Display NextChange

Hi

I have a feature request.
It would be nice to see (without calculating yourself it based on the opening_hours string) how long the shown facilities will be open or to be more specific when the state will change.

Could someone who is a bit more into the Java implementation write this down. I found a reference implementation of this in JavaScript: https://github.com/AMDmi3/opening_hours.js

As said I would prefer to see this in the overview (the view with the colored arrows).

Missing Drawables

R.drawable.h_arrow
As needed by /OsmAnd/src/net/osmand/plus/views/RouteLayer.java

R.drawable.mx_user_defined
As needed by /OsmAnd/src/net/osmand/plus/activities/search/SearchPoiFilterActivity.java

request show bycicle nodes on map and poi categories

Request to show bicycle nodes with a bicycle logo on map including their number as poi like bus stops. Further the bicycle nodes are under category transport of the POI's but when making a custom filter they are not displayed, can they be listed here ?

Improve repo description

Right now it's "osmand http://osmand.net". Something that would enable users to find this awesome project would be:

"Global Mobile Map Viewing & Navigation for Offline and Online OSM Maps on the Android"

Navigation settings: transport mode selection issue

In current nightly, when changing navigation settings (e.g. the routing service), the transport mode selection that pops up when entering the Navigation submenu seems to have no effect. Instead, the preselection is what is effective.

Workaround is to first set the default transport mode so that becomes the preselection.

Show search results on the map - not filtered

When I search inside "near POI" within 1 km and filter result by name, I got 6 items (actually 3 but they are duplicated). But when a press a second button from the left (with map icon) it shows me the map with all POIs are shown - not these 6 as I expected.

http://img192.imageshack.us/img192/4711/screen201112091607.png
http://img40.imageshack.us/img40/1687/screen201112091608.png
http://img249.imageshack.us/img249/5508/screen2011120916081.png

Osmand version is 0.7.0-12

Vector maps render layer=-1 features as dashed even if there's no tunnel=*

OSMAnd renders some features with a dashed style when they have a layer=-1 tag, even if there isn't a tunnel tag or anything indicating that the feature is somehow covered.

Trunk example: http://osm.org/go/esy4UoA1
River example: http://osm.org/go/esyyzX0f0-
Layer tag: http://wiki.openstreetmap.org/wiki/Key:layer

While the tagging in those examples is a bit unusual (it's not mine), it isn't wrong (there's no point in changing it unless you're also doing other changes in the area).

strange routing behaviour

Routing along the motorway A81 Osmand seems to prefer motorway_link over motorway and uses the link-route along the motorway, although it is longer than the motorway itself (at least in the osm database).
OSM data defines maxspeed to be 120 in both cases, both variants are connected.

The variant using motorway has a length of 855,7m,
the other variant with motorway_link is of length 864m

OSM note: http://www.openstreetmap.org/?note=58990#map=16/49.1609/9.3012&layers=N

Why is this the case? where does it come from?
And independent from that, shouldn't the *-link ways be counted as slightly slower than the main highways (same class but no link)?

GPX-tracks: Better compatibility with JOSM

Hi,

the gpx tracks from Osmand are currently not perfectly compatible to JOSM.
When you record an audio message or take a photo or video through Osmand, the media files are not linked in the way that JOSM can easily work with.

Osmand does this:

<wpt lat="(latitude)" lon="(longitude)">
    <name>(filename)</name>
    <time>(time)</time>
</wpt>

The filename is built from a geo-shortlink and a counter.
What JOSM can work with at the moment is this:

<wpt lat="(latitude)" lon="(longitude)">
    <time>(time)</time>
    <name><![CDATA[Sprachaufnahme]]></name>
    <link href="(filename)">
        <text>(filename)</text>
    </link>
 </wpt>

I do not know if the name and text parts are necessary, but I'd guess the most important part is the link. When there is a link, JOSM shows a clickable link to the file when you load a gpx. If it's an image, it can be viewed in JOSM. 3gp would be opened in the external standard program.

As it is now, I need to load the images manually and associate them with the track using their time stamps. 3gp can not be associated at all, so JOSM just shows the names of the files at their waypoints.

Of course, this is as much an JOSM issue, but maybe it can be fixed at the Osmand end.

Thank you and keep up the good work!

See a related JOSM ticket here:
http://josm.openstreetmap.de/ticket/5805

Tangentially related:
http://josm.openstreetmap.de/ticket/8765

Geo URIs: OSMand not intercepting intent

From my understanding, OSMand is supposed to recognize the Android intent for opening a Geo URI however it does not intercept the intent.

<a href="geo:37.786971,-122.399677;u=35">Wikimedia Headquarters</a>

When that link is included in an email, Google Maps is noted as an app that can intercept it but OSMand is not. It seems like it was supposed to intercept it from this discussion in the Google Groups but something may have broken it: https://groups.google.com/forum/#!msg/osmand/YNj5y6EPaVU/_2dlG6AQz0wJ

Launch experience

Currently when starting OsmAnd, what you see is not a map, but rather a menu:

  • Map
  • Search
  • Favorites
  • Settings

Additionally they all seem to have equal importance because they are all of the same size and layout.

Instead, the first thing you should see when starting OsmAnd is the map. The map is the most important part of the app. That’s where I want to look where to go, where I want to search things, where I have my favorites.

The search bar should be integrated in the map. Like at the top, how many widely-used maps apps do. Or apps which offer a search, that is.

The favorites are displayed directly on the map. They should also be shown as suggestions in the search if the search term is relevant. And in a menu.

The settings should largely be unnecessary to edit because they use good defaults. An option to download region data could appear (non-intrusively) when you browse over said area. Settings will always be available through a menu in the main map view.

Navigation/Map-Problem

Osmand is proposing the round shown in the pic attached instead of navigating straight. It's not allowed to turn left in this crossing.
The point where the OSM-marker is located, is just a little island for pedestrians:

http://www.openstreetmap.org/#map=19/51.35325/12.37663

https://maps.google.de/maps?q=Roscherstra%C3%9Fe,+Leipzig&hl=de&ie=UTF8&ll=51.353214,12.376962&spn=0.001308,0.002411&sll=51.175806,10.454119&sspn=7.60644,19.753418&oq=Roscherstr&t=h&hnear=Roscherstra%C3%9Fe,+04105+Leipzig&z=19

OsmAnd 1.5~
SonyEricsson Xperia Arc with Cyanogenmod 10 / Android 4.1.2

map

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.