Skip to content

Instantly share code, notes, and snippets.

@rastermanden
rastermanden / install-gdal.sh
Created March 28, 2018 10:03
install gdal with python amazon AMI
sudo yum-config-manager --enable epel
sudo yum install gdal-python
sudo yum -y update
sudo yum -y install make automake gcc gcc-c++ libcurl-devel proj-devel geos-devel
cd /tmp
curl -L http://download.osgeo.org/gdal/2.2.4/gdal-2.2.4.tar.gz | tar zxf -
cd gdal-2.2.4/
./configure --prefix=/usr/local --with-python
make -j4
sudo make install
<?xml version="1.0" encoding="utf-8"?>
<StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0.0" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd">
<NamedLayer>
<Name>Jordstykke</Name>
<UserStyle>
<FeatureTypeStyle>
<Rule>
<Name>jordstykke_purple</Name>
<MinScaleDenominator>1.000000</MinScaleDenominator>
<MaxScaleDenominator>26289.000000</MaxScaleDenominator>
[
{
"namedstyle": "#004",
"strokewidth": "<% if(_currentMap.resolution > 10) { print(0.5) } else { print(2.0)} %>",
"strokecolor": "rgba(8, 114, 8,1)",
"fillcolor": "rgba(8, 114, 8, 0.3)"
},
{
"namedstyle": "#005",
"symbol": "circle",
<?xml version="1.0" encoding="UTF-8"?><sld:StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:sld="http://www.opengis.net/sld" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" version="1.0.0">
<sld:NamedLayer>
<sld:Name>aws4:adgangsadresser</sld:Name>
<sld:UserStyle>
<sld:Name>onedoor</sld:Name>
<sld:Title>AWS4 Husnummer i sort tekst, plottet i forhold til retningsvinkel</sld:Title>
<sld:Abstract>Husnummeret plottes i forhold til retningsvinkelen angivet i GON. Der kompenseres for retningsvinkler i området 200 til 400.</sld:Abstract>
<sld:FeatureTypeStyle>
<?xml version="1.0" encoding="UTF-8"?><sld:StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:sld="http://www.opengis.net/sld" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" version="1.0.0">
<sld:NamedLayer>
<sld:Name>pdk:theme_pdk_lokalplan_vedtaget_v</sld:Name>
<sld:UserStyle>
<sld:Name>lokalplan_vedtaget</sld:Name>
<sld:IsDefault>1</sld:IsDefault>
<sld:FeatureTypeStyle>
<sld:Name>name</sld:Name>
<sld:Rule>
<sld:Name>Boligområde</sld:Name>
<?xml version="1.0" encoding="UTF-8"?><sld:StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:sld="http://www.opengis.net/sld" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" version="1.0.0">
<sld:NamedLayer>
<sld:Name>pdk:theme_pdk_byggefelt_vedtaget_v</sld:Name>
<sld:UserStyle>
<sld:Name>byggefelt_vedtaget</sld:Name>
<sld:IsDefault>1</sld:IsDefault>
<sld:FeatureTypeStyle>
<sld:Name>name</sld:Name>
<sld:Rule>
<sld:Name>Boligområde</sld:Name>
<?xml version="1.0" encoding="UTF-8"?><sld:StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:sld="http://www.opengis.net/sld" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" version="1.0.0">
<sld:NamedLayer>
<sld:Name>pdk:theme_pdk_lokalplandelomraade_vedtaget_v</sld:Name>
<sld:UserStyle>
<sld:Name>byggefelt_vedtaget</sld:Name>
<sld:IsDefault>1</sld:IsDefault>
<sld:FeatureTypeStyle>
<sld:Name>name</sld:Name>
<sld:Rule>
<sld:Name>Boligområde</sld:Name>
<?xml version="1.0" encoding="UTF-8"?><sld:StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:sld="http://www.opengis.net/sld" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" version="1.0.0">
<sld:NamedLayer>
<sld:Name>pdk:theme_pdk_kommuneplanramme_vedtaget_v</sld:Name>
<sld:UserStyle>
<sld:Name>kommuneplanramme_vedtaget</sld:Name>
<sld:IsDefault>1</sld:IsDefault>
<sld:FeatureTypeStyle>
<sld:Name>name</sld:Name>
<sld:Rule>
<sld:Name>Boligområde</sld:Name>
.widget-html {
position: fixed;
top: 230px;
left: 20px;
height: 36px;
width: 36px;
}
.widget-html > a {
height: 100%;
width: 100%;

There is a new test for corona antibodies. The manufacturer of the test claims the following features of the test.

Sensitivity of the test is 93 %, which means in 93% of the cases where an infected person receives a postitive result from the test, the person is actually infected (true positives) and in 7% of the cases, the test provides false negatives. An infected person recieves a negative result from the test:

Specifity of the test is 90 %, which means in 90 % of the cases where a non-infected person receives a negative result form the test, the person is actually not infected (true ngatives) and in 10 % of the cases, the test provides false positives. A non-infected person receives a postive result from the test but is actually not infected.

Virologists estimate that during the pandemic 1 % of the population is infected.