Skip to content

Instantly share code, notes, and snippets.

Avatar

Jordi Tost jorditost

View GitHub Profile
@psychemedia
psychemedia / README.md
Last active May 24, 2018
OpenRefine - export template: geojson points
View README.md

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 Feb 11, 2012
Leaflet shortcuts for common tile providers
View TileLayer.Common.js
// 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 () {
You can’t perform that action at this time.