Skip to content

Instantly share code, notes, and snippets.

[
{
"type": "readers.stac",
"filename": "https://usgs-lidar-stac.s3-us-west-2.amazonaws.com/ept/item_collection.json",
"reader_args": [
{
"type": "readers.ept",
"bounds": "([-10804403, -9954962], [4893163, 5454947])",
"threads": "3",
"resolution":200
== PROJJSON
PROJJSON is a JSON encoding of
http://docs.opengeospatial.org/is/18-010r7/18-010r7.html[WKT2:2019 /
ISO-19162:2019], which itself implements the model of
http://docs.opengeospatial.org/as/18-005r4/18-005r4.html[OGC Topic 2:
Referencing by coordinates]. Apart from the difference of encodings, the
semantics is intended to be exactly the same as WKT2:2019.
PROJJSON is available as input and output of PROJ since PROJ 6.2.
@hobu
hobu / Dockerfile
Last active March 6, 2021 17:54
Dockerfile to create GDAL/Proj.4/libgeotiff/PostGIS coordinate system data files
FROM ubuntu:16.04
MAINTAINER Howard Butler <howard@hobu.co>
RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 16126D3A3E5C1192
RUN apt-get update -qq
RUN apt-get -qq remove postgis
RUN apt-get update && apt-get install -y --fix-missing --no-install-recommends \
build-essential \
ca-certificates \
@hobu
hobu / gist:ee22084e24ed7e3c0d10600798a94c31
Last active December 17, 2020 14:10
read iowa state campus as EPT
{
"pipeline": [
{
"bounds": "([-10425171.940, -10423171.940], [5164494.710, 5166494.710])",
"filename": "https://s3-us-west-2.amazonaws.com/usgs-lidar-public/IA_FullState/ept.json",
"type": "readers.ept",
"tag": "readdata"
},
{
"limits": "Classification![7:7]",
Hello,
We are researchers at the Swiss Federal Institute of Technology (ETH Zurich) undertaking a research project on open source software.
You are receiving this email as a maintainer of the following public GitHub repo.
https://github.com/hobu/usgs-lidar
Based on academic research on how software licenses influence project success, we encourage you to adopt a General Public License v3.0 (GPL 3.0) for your project.
Previous research has shown that adoption of licenses like GPL 3.0 can contribute to project success, including higher developer membership and higher core developer activity[1],
as well as increased interest of users and system administrators[2].
#!/bin/bash
export PROJ_NETWORK=on
gdalbuildvrt srtm.vrt /vsicurl/https://dds.cr.usgs.gov/srtm/version2_1/SRTM3/North_America/N44W075.hgt.zip
gdalinfo srtm.vrt -stats | grep MAXIMUM
gdalwarp srtm.vrt srtm_egm08.vrt -t_srs epsg:4326+3855 -s_srs epsg:4326+5773
gdalinfo srtm_egm08.vrt -stats | grep MAXIMUM
diff --git a/recipe/build.sh b/recipe/build.sh
index d064d6c..3df4db4 100755
--- a/recipe/build.sh
+++ b/recipe/build.sh
@@ -11,6 +11,7 @@ cmake -G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX:PATH="${PREFIX}" \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_LIBRARY_PATH="${PREFIX}/lib" \
+ -DWITH_TESTS=OFF \
-DCMAKE_INCLUDE_PATH="${PREFIX}/include"