Coder Social home page Coder Social logo

der-stefan / opentopomap Goto Github PK

View Code? Open in Web Editor NEW
451.0 49.0 117.0 2.78 MB

A topographic map from OpenStreetMap and SRTM data

Home Page: https://opentopomap.org

License: Other

HTML 2.35% Shell 6.29% C 4.28% PLpgSQL 10.48% Python 0.63% Perl 2.45% PHP 1.60% CSS 4.49% JavaScript 65.75% EJS 0.27% SCSS 1.43%
openstreetmap mapnik garmin

opentopomap's Introduction

OpenTopoMap

OpenTopoMap is a topographic map out of data from OpenStreetMap and SRTM. If you are interested in building your own OpenTopoMap, see the beginner's guides for a tile server and for Garmin files.

Mapnik

The main OpenTopoMap is a online rendered raster map. It can be used with the web interface on https://opentopomap.org, which gives you nice features like a search function or loading your gpx tracks. Futhermore, OpenTopoMap can be included into other applications. See https://opentopomap.org/about#verwendung for information on usage. The license of the online map is CC-BY-SA.

The online renderer is based on Mapnik. All necessary files are available to build your own OpenTopoMap server.

Garmin

Since summer 2014 there is a Garmin edition of the OpenTopoMap. They can be downloaded from http://garmin.opentopomap.org. The license of the Garmin maps is CC-BY-NC-SA and therefore reselling is not allowed. Here are some screenshots:

screenshot1 screenshot2 screenshot3 screenshot4 screenshot5 screenshot6

opentopomap's People

Contributors

brotkiste avatar der-stefan avatar hamburger1984 avatar jmorganc avatar knowname avatar lemmingapex avatar max-dn avatar panotom avatar tilmanb avatar tstapff avatar wima75 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

opentopomap's Issues

Names color collides with buildings color

Names (city, peak, road numbers, suburbs, castles...) are rendered black, but in a city, where we have many buildings rendered dark grey/black, the names are hard to read. Names have the halo around the letters, but it's still not enough. I propose to use different color for names, like maybe brown.

Garmin: Equalize style with mapnik style

Currently, the online version and the Garmin version differ in rendering line types. For example a highway=track & tracktype=grade4 isn't a dashed line on a Garmin but a solid line.

Support max zoom level higher than 16

By using the map made available on http://opentopomap.org/ and using the tiles in my own project, I noticed that the max tile level is at the moment level 16.

The other tile sources I am using are generating tiles up to level 18, but opentopomap is just generating blue map tiles (like this one http://tile.opentopomap.org/18/140753/87758.png).
So what I wanted to ask, is if it is possible to extend the zoom level to level 18 or at least give out an error (404 maybe) if the zoom level my browser is asking for, is not available so I can handle this error adequately.

Garmin: overlapping landuses

Overlapping landuse polygons are a often made mistake in OpenStreetMap. Should we deal with it or should we try to change osm?

aerialway (like cable cars etc.) in garmin edition

Is there any way we can have aerial ways (like cable cars in the mountains) visualized on the Garmin' devices?
They look so nice in the online map but are completely missing in the Garmin compilations.

BTW: Great work!

Garmin: MapInstall fails to install downloaded map from Spain

I downloaded http://garmin.opentopomap.org/data/spain/OpenTopoMap-Spain.exe. After installation, I can use the map in BaseCamp. However, whenever I try to send the map to de Garmin Etrex Legend HCx by using MapInstall, it fails.

MapInstall begin to build the map that is going to be sent to the garmin device and before begin the transmission the build process fails and MapInstall shows me a "Data were not sent right" message.

Any idea?

Garmin Edition: Wrong map IDs

I still mix up map id, family id and that stuff. Let's go try and error. (Documentation says nothing about the meaning, only about the existence of those parameters)

The Garmin Edition was thrown online quite rashly. I just wanted to have a OpenTopoMap on my Garmin for my summer trip and perhaps someone finds the map usefull, too.

HOWTO_Server clarification

In the file, HOWTO_Server, the paths to flat-nodes are different. Should they be the same?

Load data into database

screen osm2pgsql --slim -d gis -C 12000 --number-processes 10 --flat-nodes /mnt/db/flat-nodes/gis-flat-nodes.bin --style ~/OpenTopoMap/mapnik/osm2pgsql/opentopomap.style ~/data/planet-latest.osm.pbf

Update data

osm2pgsql --append --slim -d gis -C 12000 --number-processes 10 --flat-nodes ~/data/flat-nodes.bin --style ~/OpenTopoMap/mapnik/osm2pgsql/opentopomap.style ~/data/updates/changes.osc.gz

Thanks,

adaptive contours distance

Hi,

I really like the OpenTopoMap style for OpenStreetMap data. However, I recently came across TopoMapCreator (http://sourceforge.net/p/topomapcreator/wiki/Home/), which uses OpenTopoMap's style as its main style for creating image based topographic maps.

Looking at a few of the examples, and comparing them with the OpenTopoMap map rendering, it strikes me TopoMapCreator has a better balance and overall look of contours and hillshading. The contours are slightly less saturated red / brown, also set a bit less dense, and the hillshading is more subdued, and thus more pleasing. Additionally, the halos of the labels of the contours in OpenTopoMap don't seem to work well on darker hillshaded areas, the text becomes illegible.

Of course, the TopoMapCreator results aren't entirely comparable, as they use a different colouring for e.g. the forests, but it still is very similar.

I know this is a real balancing act, which isn't easy for this type of data and combined contour & hillshading, but overall I think TopoMapCreator's rendering wins out here. Maybe an idea for OpenTopoMap to tune some of these settings?

See the attached images:
OpenTopoMap:
mont_blanc_opentopomap

TopoMapCreator:
mont_blanc_topomapcreator

UTM Grid option

Is it possible to include a UTM or Lat/long Grid option on topo maps?

Garmin: color of rivers

Currently, the color of rivers, streams etc. is too dark and can be confused with tracks. Change to a slightly brighter blue!

Garmin: contours lines under 100 m disappear

For my memory:

"I noticed that from a certain zoom level, there is only 1 line every 20 meters. The reason is, I suppose, not to overload the map with too much detail : this is OK.

But I also noticed that in this case, contour lines below 100 meters (20m, 60m and 80m) are not displayed."

Suggestion: show road surface

Your map style looks like it would be feasible to show paved/unpaved roads without causing too much problems. Something similar to how tunnels are currently rendered, but without the faded colour might work. Similar to how this is done on old school Michelin style road maps, sometimes used for roads under construction. Especially when zoomed out this is a useful feature no other map has. Great test data is available in Argentina and Chile.

Garmin: delete names of power lines

The name (mostly the directions) of a power line isn't very important, but is shown on the Garmin too prominently. Delete it and everything is fine.

Garmin: contour lines

The 50 meter contour lines on a lower zoom level (?) should be removed to have equidistant contour lines. It would be perfect to have distances of 100m, 50m, 25m and 10m.
The problem are the 25m, since our raw data is generated with a distance of 10m. So we use 20m, where the 50m disturb.

Worldwide style vs. euro-centric or christianity-based symbology

I'm not sure if this style is designed for worldwide rendering. But if it is the Christianity-based symbology (e.g. crosses for grave yards and places of worship) might not be suitable for worldwide use. These are often sensitive areas and I think the symbology needs to be expanded to other religions or being neutral.

Split repositories for Garmin and Mapnik?

Does it make sense to have Garmin and Mapnik style in two separate repositories? Is there the need to have all changes to the Mapnik style also in the Garmin style and vice versa or are they distinct projects?

Show protected areas

It would be nice to have protected areas rendered, too. Not as prominent and competely covered as military areas but similar to Mapnik: just a dark green band with a solid outer edge, which is the style they are displayed in many paper topo-maps.

Be explicit about the license

This repository has no license file attached to it.

On the website I found:

OpenTopoMap steht unter der Lizenz CC-BY-SA. Das bedeutet, dass die Karte kostenlos und frei verwendet werden darf, solange stets Namensnennung erfolgt und die Weitergabe unter gleichen Bedingungen möglich ist.

Der Kartenstil steht unter der gleichen Lizenz und ist über Github abrufbar.

It would be good to be explicit about the license here on GitHub to avoid hassle and confusion (cf. current discussion Mapbox vs. OSM2VectorTiles).

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.