Skip to content

Instantly share code, notes, and snippets.

@psychemedia
psychemedia / README.md
Last active May 24, 2018 13:36
OpenRefine - export template: geojson points

This OpenRefine Templating export format template will generate a geojson file containing a list of points.

Requires:

  • the name of the column containing the marker description (Place in the example);
  • a column containing numerical latitude co-ordinate values (Lat in the example);
  • a column containing numerical longitude co-ordinate values (Long in the example).

Example data:

@mourner
mourner / TileLayer.Common.js
Created February 11, 2012 23:11
Leaflet shortcuts for common tile providers
// Lefalet shortcuts for common tile providers - is it worth adding such 1.5kb to Leaflet core?
L.TileLayer.Common = L.TileLayer.extend({
initialize: function (options) {
L.TileLayer.prototype.initialize.call(this, this.url, options);
}
});
(function () {