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 aseerel4c26 ♦ |
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 . answered 18 Aug '14, 09:08 Mobilepundits |
answered 03 Jan '17, 10:50 offygis 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
|
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?
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.
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.
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?