Skip to content

Instantly share code, notes, and snippets.

View Bakaniko's full-sized avatar

Nicolas Roelandt Bakaniko

View GitHub Profile
@Bakaniko
Bakaniko / cleaning_cities_20k.Rmd
Last active January 25, 2019 14:33
Cleaning some spatial data in WGS84 with R: remove all cities closest to 20 km to each other
<!--
Created by Nicolas Roelandt, IFSTTAR 2019
Licence GPL v3.0
-->
# Load needed packages
```{r load_libraries}
library(tidyverse)
library(sf)
library(units)
@Bakaniko
Bakaniko / example.xml
Created March 23, 2018 09:25
Example metadata record
<MD_Metadata xmlns="http://www.isotc211.org/2005/gmd"; xmlns:gco="
http://www.isotc211.org/2005/gco"; xmlns:gts="
http://www.isotc211.org/2005/gts"; xmlns:srv="
http://www.isotc211.org/2005/srv"; xmlns:gml="http://www.opengis.net/gml";
xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">;
<language>
<LanguageCode codeList="
http://www.loc.gov/standards/iso639-2/php/code_list.php";
codeListValue="fre" codeSpace="ISO639-2">fre</LanguageCode>