NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

0
1

Hi how can use openstretmap for offline iOS (iphone) application ?

I need to develop an iphone application that contains maps works in offline mode (without internet) for specific country in addition i need to add some stores and markets on this offline map (these places dose not exist on the already maps) I expect i can get some lon. and lat. with the map to enable me add the new position on the map

How can i do that? any idea?

asked 21 Apr '12, 10:07

adel_jodalah's gravatar image

adel_jodalah
11224
accept rate: 0%

edited 21 Apr '12, 11:25


See the RouteMe library, which is the go-to open source library for raster OSM mapping on iOS. This includes offline capabilities. Documentation is fairly sketchy but you'll find plenty of discussion of the offline capabilities in theIr Google Group.

permanent link

answered 21 Apr '12, 23:02

Richard's gravatar image

Richard ♦
30.9k44279412
accept rate: 18%

There are many applications like that already, sadly the idea of Open Source seems to be virtually unheard of in the IOS world so you'll probably have to re-invent the wheel and code what lots of others have coded before you.

Read this article for a basic analysis of the options available to you. On our Wiki there is a list of IOS applications that use OSM, and the list also tells you whether these opted for tile or vector storage. A few of the programs mentioned make their source code available so you can look there for inspiration.

If your needs are relatively simple then you might get away with using the JavaScript library OpenLayers that we use on web pages and run that locally on the browser. Note however that any solution based on raster tiles, whether OpenLayers or other, requires that the tiles for the area of interest have to be created and downloaded onto the device first, and that you cannot download them from OpenStreetMap's tile server due to its Tile Usage Policy.

permanent link

answered 21 Apr '12, 11:43

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

edited 21 Apr '12, 11:44

MapBox ios sdk (which is also based on Route-me, more specifically, the Alpstein fork) has a fairly good implementation of offline cache. You can modify it to make it store permanently. However, the license prohibit you from re-distribute the tiles you cache from MapBox for yourself and transfer them to users. So you would have to change the tile source if you wish to offer offline maps directly to users.

permanent link

answered 11 Sep '12, 16:13

huggie's gravatar image

huggie
26224
accept rate: 0%

edited 11 Sep '12, 16:15

MapBox ios sdk stores raster tiles into database.Can we used to store vector data?

(27 Mar '13, 12:43) Appa Amrule

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×50
×29

question asked: 21 Apr '12, 10:07

question was seen: 11,374 times

last updated: 27 Mar '13, 22:42

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum