Coder Social home page Coder Social logo

osmand's People

Contributors

aceman444 avatar alex-osm avatar alexsyt avatar asereze avatar bars107 avatar cepprice avatar chumva avatar crimean avatar dima-1 avatar dmpr0 avatar faiverv avatar franco999 avatar gaidamakua avatar ihorhordiichuk avatar jconstanti avatar jsmakaayb avatar ldmpub avatar madwasp79 avatar max-klaus avatar nazar-kutz avatar nine-tailed avatar pavloratushnyi avatar s8321414 avatar sonora avatar verdulo avatar vipals avatar vshcherb avatar weblate avatar xmd5a2 avatar yarons avatar

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

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.

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.

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).

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

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

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. :)

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?

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)?

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).

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

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

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?

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

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)

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.

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"

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 ?

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").

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" 

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

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).

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

"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.

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.

"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.

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

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?

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.