Instantly share code, notes, and snippets.

View sf-hexagon-with-sf.R
library("sf")
library("dplyr")
library("hexbin")
# Linux libertine fint "sf", converted to path with Inkscape,
# added points between existing points 2 times, then turned all segments into straight lines.
# Saved as SVG with absolute coordinates (Preferences > SVG Output > Path Data).
# Loaded coords from SVG source code, remove letters from start and end, and replace " " with ","
coords_f <- c(218.1169,163.46992,215.56952,177.96334,213.51976,189.84421,211.82546,200.33884,210.34442,210.67351,208.24728,226.35176,205.51032,243.54066,201.92029,259.27223,197.26391,270.57846,195.45112,272.90665,193.28288,274.70167,190.97247,275.85687,188.73314,276.26564,187.03291,276.03164,185.79476,275.38887,184.84097,274.42619,183.99382,273.23248,182.45947,271.13533,180.24976,269.10927,177.54243,267.58084,174.51519,266.97658,171.25987,267.58973,169.08867,269.18036,167.87718,271.37526,167.501,273.8012,168.44294,277.0032,171.48203,279.79643,176.93817,281.77214,185.13126,282.52154,191.01986,281.80176,196.83737,279.60686,202.29944,
View README.md

"Upload to O2R" - Userscript for Sciebo

Requirements

  • Firefox or Chrome Web Browser

Installation

  1. Install a browser extension to support userscripts
View README.md

"Upload to O2R" - Userscript for Zenodo

Requirements

  • Firefox or Chrome Web Browser

Installation

  1. Install a browser extension to support userscripts
View keybase.md

Keybase proof

I hereby claim:

  • I am nuest on github.
  • I am nuest (https://keybase.io/nuest) on keybase.
  • I have a public key ASBxwfo24TFffn2oV3Jt8sorK8304OcIhht_XHURsd94Wwo

To claim this, I am signing this object:

View example.js
/*
* Example for authenticationg against the ORCiD.org Public API with
* passport.js and retrieving the authenticated orcid.
*
* The main difficulty is that ORCiD.org will send the authenticated orcid
* in the accessToken request, which is normally not passed on to the
* passport.js-callback. Without the orcid, properly authenticating with
* ORCiD.org is impossible though.
*
* The trick is to pass on the `passReqToCallback`-option to the
View Ilwis Java Bridge Example: Read GPX
Catalog cat = new Catalog(workingDir + "feature/test.gpx");
String[] catItems = {"route_points", "route_points", "routes", "routes", "track_points", "track_points",
"tracks", "tracks", "waypoints", "waypoints"};
for(int i=0;i<catItems.length;++i)
assertEquals(catItems[i], cat.items().get(i));
assertTrue(cat.isValid());
FeatureCoverage trks = FeatureCoverage.toFeatureCoverage( cat._getitem("tracks") );
assertTrue(trks.isValid());
FeatureIterator it = trks.iterator();
assertEquals(1, trks.featureCount());
View contribute.md

This is the contribute.md of the project ows.js. Great to have you here! Here are a few ways you can help!

Contribute.md

This page describes what you need to know to contribute code to ol3 as a developer, documenter or bug reporter.

Contributing Code

Our preferred means of receiving contributions is through pull requests since we use the fork & pull development model. Make sure that your pull request follows our pull request guidelines below before submitting it.

View contribute.md