Skip to content

Instantly share code, notes, and snippets.

View AsgerPetersen's full-sized avatar

Asger Skovbo Petersen AsgerPetersen

  • Copenhagen, Denmark
View GitHub Profile
@AsgerPetersen
AsgerPetersen / install.sh
Last active January 2, 2016 19:39
MapCache installation på Ubuntu
# Se https://code.google.com/p/ala-citizenscience/wiki/MapServerAndMapCacheSetup
# Se http://mapserver.org/trunk/mapcache/install.html#linux-instructions
# Se https://github.com/mapserver/mapcache/blob/master/INSTALL
# ubuntugis er ikke nødvendig, hvis kun mapcache skal installeres
# sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update
# ----------------------------------------------------------------------
@AsgerPetersen
AsgerPetersen / Developing-on-QGIS-using-OSGeo4Mac.md
Last active December 14, 2015 08:56
Developing on QGIS using OSGeo4Mac

Note: This page has been copied from https://github.com/OSGeo/homebrew-osgeo4mac/wiki/Developing-on-QGIS-using-OSGeo4Mac and includes my notes. The original text is written by @dakcarto.

Developing on QGIS using OSGeo4Mac

In addition to using this tap to install a QGIS stable formula, you can also use it to fully set up a development environment for an externally built QGIS from a clone of the current development (master) branch of the source code tree.

Note: This setup, though heavily tested, is currently experimental and may change. A more stable and time-tested setup is outlined in the QGIS INSTALL document.

Development Tools

@AsgerPetersen
AsgerPetersen / lasreader.pxd
Created October 6, 2015 12:01 — forked from gcasey/lasreader.pxd
Reading LAS file efficiently into numpy using cython
#%%cython -I/usr/local/include -L/usr/local/lib -llas_c
# Created by Casey Goodlett
cimport cython
import numpy as np
cimport numpy as np
import liblas
DTYPE = np.float64
ctypedef np.float64_t DTYPE_t