GithubHelp home page GithubHelp logo

lucadelu / ital.img Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 4.0 15.14 MB

Crea i file per i garmin dell'Italia e delle regioni italiane dai dati OpenStreetMap

License: GNU General Public License v2.0

Shell 75.70% Python 24.30%

ital.img's Introduction

(c) Copyright Luca Delucchi - 2011

ital.img is licensed under the terms of GNU GPL 2
    Read LICENSE for more info


Making Italian OSM maps for Garmin GPS units
==================================================

ital.img is a free software to create italian maps for Garmin GPS units using mkgmap


Dependencies
============

Check install.sh for required software and data.
You can run it to download and install all the needed stuff.

mkgmap requires Java 1.8 or above to run.

Garmin contour lines are needed for cycling and hiking styles:
	https://github.com/lucadelu/ital.img/blob/master/openmtbmap_it_srtm.zip
Put them inside "openmtbmap_it_srtm" folder.


How to use
==========

Opzioni:
    -d          elimina file osm.bz2/pbf al termine delle operazioni
    -f          non scarica il file osm.bz2/pbf ma lo prende dalla cartella in cui si trova `basename $0`
    -p          scarica/usa file pbf anziché osm.bz2
    -r          crea i file regionali garmin e osm.bz2
    -w          crea i file regionali garmin e pbf
    -i          crea il file dell'Italia
    -e          crea il file dell'Italia con stile per escursionisti
    -c          crea il file dell'Italia con stile per ciclisti
    -h          visualizza questa schermata
    -R nome     crea i file della regione scelta in formato garmin, osm.bz2 e pbf


Examples
==========

To create map of Italy for Garmin you can run

      sh italimg.sh -p -i

and it will download Italian OSM data from Geofabrik repository and create the map
of the whole Italy. Garmin output files are inside output_img folder.


It is also possible to create splitted files (osm.bz2 and/or pbf) of Italian regions in addition to Garmin maps.
They are saved into output_osm_regioni and output_img respectively.

      sh italimg.sh -r
      sh italimg.sh -w

Or for a single region creating both osm.bz2 and pbf.

      sh italimg.sh -R "region"


To create other region you download the osm file from internet (geofabrick o something else)
and after you can run

      sh other_area.sh "other_areas.osm/.pbf"

ital.img's People

Contributors

lucadelu avatar sorcrosc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ital.img's Issues

openmtbmap_it_srtm.zip

Segnalo che l'indirizzo ftp://ftp5.gwdg.de/pub/misc/openstreetmap/openmtbmap/contourlines/openmtbmap_it_srtm.zip non è più raggiungibile, rendendo impossibile l'utilizzo di ital.img

Saluti

hiking and cycling, openmtbmap_it_srtm/7*.img not available anywhere?

I tried to generate the map $HIKING/escursionismo, unfortunately the SRTM data that I think could be originally tracked back to ftp://ftp5.gwdg.de/pub/misc/openstreetmap/openmtbmap/contourlines/openmtbmap_it_srtm.zip never seems to be available anymore, anywhere...

Then I tried to investigate on a possible replacement, but I think that the "rabbit hole" of the Shuttle Radar Topography Mission datasets is quite big to explore on my own.
The best candidate I think I found, being pre-compiled, available for direct download and splitted into countries, is there: http://develop.freizeitkarte-osm.de/
Specifically this: http://develop.freizeitkarte-osm.de/ele_20_100_500/Hoehendaten_Freizeitkarte_ITA+.osm.pbf
Obviously a dumb replacement of the file allows the creation of a valid map, but the elevation contour lines (isohypsis) are missing (I suppose that, if the file I found is really useful, it could be necessary to tell mkgmap something about the layers it must merge).

So, is the original file available somewhere? If not, could it be somehow replaced?

incorrect splitting along coastline

In some areas (like cities along the coast), the map becomes blank and the data near the shore line is lost. One example is part of Alghero, in Sardegna (tested in end October 2011).
It might be related to the fact that, in some places, the administrative border is not updated when the coastline gets updated, but I'm not sure this is enough to explain the discrepancy.

Ricerca indirizzi mappe Garmin non funzionante

Con mappa (delle Marche) scaricata dal sito http://www.geodati.fmach.it/italia_osm.html su Nuvi 610 non funziona la ricerca per indirizzo (non trova nessuno stato) ne per città (nessuna città).

Vedo che lo script fa due passaggi con mkgmap, il primo dove vengono passate tutte le opzioni ed un secondo per unione dei file .img
Ho fatto delle prove con mkgmap ultima versione e la mappa (il file gmapsupp.img) viene già creata al primo passaggio e con questa la ricerca funziona. Il secondo passaggio sembra inutile e crea una mappa senza indice a quanto pare.

add water lines

water lines are missing in hiking style (check also others)

install.sh not works

Hi guys,

i have try to launch install.sh, but not works, not find an files, can you fix?

Best regards

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.