Skip to content

Commit

Permalink
Use https links, add to dependencies in mapolution README.
Browse files Browse the repository at this point in the history
  • Loading branch information
joto committed Aug 3, 2018
1 parent b96ffc6 commit 7d6d4ef
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 14 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -4,9 +4,9 @@
This repository contains a mixed bunch of more or less useful examples of how
to work with the Osmium library.

You have to set up [Libosmium](http://osmcode.org/libosmium) first.
You have to set up [Libosmium](https://osmcode.org/libosmium) first.

[![Build Status](https://secure.travis-ci.org/osmcode/osmium-contrib.svg)](http://travis-ci.org/osmcode/osmium-contrib)
[![Build Status](https://secure.travis-ci.org/osmcode/osmium-contrib.svg)](https://travis-ci.org/osmcode/osmium-contrib)


## Building
Expand Down
2 changes: 1 addition & 1 deletion dense_tiles/README.md
Expand Up @@ -9,7 +9,7 @@ left tile in an 8x8 tile block will be output.

## Prerequisites

You'll need [Libosmium](http://osmcode.org/libosmium) and its dependencies
You'll need [Libosmium](https://osmcode.org/libosmium) and its dependencies
installed first.


Expand Down
2 changes: 1 addition & 1 deletion export_to_wkt/README.md
Expand Up @@ -6,7 +6,7 @@ Write all node, way, and area geometries out in WKT format.

## Prerequisites

You'll need [Libosmium](http://osmcode.org/libosmium) and its dependencies
You'll need [Libosmium](https://osmcode.org/libosmium) and its dependencies
installed first.


Expand Down
13 changes: 8 additions & 5 deletions mapolution/README.md
Expand Up @@ -7,14 +7,17 @@ Show evolution of OSM map.

You'll need:

* [Libosmium](http://osmcode.org/libosmium) and its dependencies.
* [GDAL](http://gdal.org/) library, more specifically the `gdal_rasterize`
* [Libosmium](https://osmcode.org/libosmium) and its dependencies.
* [GDAL](https://gdal.org/) library, more specifically the `gdal_rasterize`
command. (On Debian/Ubuntu install `libgdal-dev` and `gdal-bin` packages.)
* `boost_filesystem` and `boost_program_options`
(http://boost.org/) version 1.48 or later.
(On Debian/Ubuntu install `libboost-filesystem-dev`,
(https://boost.org/) version 1.48 or later.
(On Debian/Ubuntu install `libboost-filesystem-dev`
and `libboost-program-options-dev` packages.)
* gifsicle (On Debian/Ubuntu install `gifsicle`.
* gifsicle (On Debian/Ubuntu install `gifsicle`).
* [Imagemagick](https://www.imagemagick.org/)
(On Debian/Ubuntu install `imagemagick`).
* bc (On Debian/Ubuntu install `bc`).


## Building
Expand Down
8 changes: 4 additions & 4 deletions node_density/README.md
Expand Up @@ -6,14 +6,14 @@ Visualize the node density in a given OSM file.

## Prerequisites

You'll need [Libosmium](http://osmcode.org/libosmium) and its dependencies
You'll need [Libosmium](https://osmcode.org/libosmium) and its dependencies
installed first.

You'll need the following libraries:

[GDAL](http://www.gdal.org/) - Debian/Ubuntu: libgdal-dev, gdal-bin
[GDAL](https://www.gdal.org/) - Debian/Ubuntu: libgdal-dev, gdal-bin

[Proj](http://trac.osgeo.org/proj/) - Debian/Ubuntu: libproj-dev
[Proj](https://proj4.org/) - Debian/Ubuntu: libproj-dev


## Building
Expand Down Expand Up @@ -54,7 +54,7 @@ the default name `out.tif`.

### With QGIS

Run [QGIS](http://qgis.org/) and open the output file with it, either through
Run [QGIS](https://qgis.org/) and open the output file with it, either through
the "Layer -> Add Raster Layer.." menu or by dragging the file onto the QGIS
window. Open the "Layer Properties" dialogue, choose the "Style" tab and change
the "Min" and "Max" values to "0" and "1000", respectively. You should see the
Expand Down
2 changes: 1 addition & 1 deletion node_density/main.cpp
Expand Up @@ -106,7 +106,7 @@ class NodeDensityHandler : public osmium::handler::Handler {
}

dataset->SetMetadataItem("TIFFTAG_IMAGEDESCRIPTION", "OpenStreetMap node density");
dataset->SetMetadataItem("TIFFTAG_COPYRIGHT", "Copyright OpenStreetMap contributors (http://www.openstreetmap.org/copyright), License: CC-BY-SA (http://creativecommons.org/licenses/by-sa/2.0/)");
dataset->SetMetadataItem("TIFFTAG_COPYRIGHT", "Copyright OpenStreetMap contributors (https://www.openstreetmap.org/copyright), License: CC-BY-SA (https://creativecommons.org/licenses/by-sa/2.0/)");
dataset->SetMetadataItem("TIFFTAG_SOFTWARE", "node_density");

double geo_transform[6] = {m_bottom_left.x, 1/m_factor_x, 0, m_top_right.y, 0, 1/m_factor_y};
Expand Down

0 comments on commit 7d6d4ef

Please sign in to comment.