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

0
1

I want to integrate the OpenStreetMap to my WebApp. Now I've download a shp.zip for a region. After extract the Zip-File i have 71 .map files. How can I use the Files for showing the Map Offline?

asked 03 Aug '14, 19:40

vital1985's gravatar image

vital1985
11112
accept rate: 0%

edited 03 Aug '14, 23:06

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

1

I think some more details and description would help. What is "integrate the OpenStreetMap to my WebApp" for you? Why did you think that shp.zip is the right download?

(03 Aug '14, 23:09) aseerel4c26 ♦

I simply want to display a OSM map offline using JavaScript. I don't know which download is the right but in the shp.zip file are *.map files which i can open with the JSOM Editor and see streets with some data.

(04 Aug '14, 15:57) vital1985
1

What sort of map do you want to display? One that looks like the maps that you see on the OpenStreetMap website (which are made up of map tiles), or a vector-drawn map (like you see in JOSM, but presumably with a different style)? If you do want map tiles, do you want ones that look like an existing OSM style, or different?

How much of the world do you want to display and at what level of detail? How much size are you willing to allocate to map data in your application? How much time do you have to spend writing it? Are you targeting just one platform supported by PhoneGap or several?

At one end of the range of possible answers would be a quick-and-dirty use of something like Leaflet to display embedded map tiles - simple to do, but impractical for all but very small areas. At the other end would be writing a full-blown renderer in JavaScript. In between are lots of other options.

(04 Aug '14, 19:43) SomeoneElse ♦

To display a Map looks like OpenStreetMap will be enough. I don't know what is better to use on a mobile device (vector or tiles).

I only want to display Germany on the map. The decision for using PhoneGap is because i want to support ios and android devices.

An other question: is it possible to extract the maxspeed-values from the map and show this on map?

(05 Aug '14, 15:41) vital1985

Try Offy Data DLR for Windows

Latest release

Getting started (how to download data & how to use it)

permanent link

answered 03 Jan '17, 10:50

offygis's gravatar image

offygis
252
accept rate: 0%

That just looks like a tile scraper - how is that related to Phonegap / Cordova?

Note that tile usage must abide by https://wiki.openstreetmap.org/wiki/Tile_usage_policy .

(03 Jan '17, 11:10) SomeoneElse ♦

:) yes I know. Take a look at the last section of the readme page : https://github.com/OffyGIS/Offy-Data-DLR#important . In addition, there is a tuto explaining how to use downloaded tiles within different GIS clients (but respecting the server Usage policy).

(03 Jan '17, 11:22) offygis
-2

Hello, Its is something new for me but thanks for posting this question by this i am able to know about something new which i dont know .

PhoneGap Development

permanent link

answered 18 Aug '14, 09:08

Mobilepundits's gravatar image

Mobilepundits
-1
accept rate: 0%

Link is on-topic, but almost entirely content-free.

(18 Aug '14, 09:13) SomeoneElse ♦
1

Smells like spam :\

(18 Aug '14, 09:16) scai ♦
Your answer
toggle preview

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:

×113
×106
×104
×5
×4

question asked: 03 Aug '14, 19:40

question was seen: 10,840 times

last updated: 03 Jan '17, 11:22

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