Skip to content

Instantly share code, notes, and snippets.

@mhogeweg
mhogeweg / filesizes_data.csv
Created December 1, 2020 15:11
export format comparison
type europe europe to SHP simple poly simple poly to SHP
SDF3 768000 1.762644334 358400 517.1717172
IMX 262144 0.601649266 262144 378.2741703
GEODATABASE_FILE 394079 0.904454579 175466 253.1976912
FILEGDB 360563 0.827531678 141916 204.7849928
ESRIMSD 405880 0.931539169 17000 24.53102453
ACAD 376067 0.863115061 16356 23.6017316
IGDS 366080 0.840193799 14336 20.68686869
FBX 474528 1.089093868 13728 19.80952381
SQLITE3 8192 0.01880154 8192 11.82106782
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import httplib
from base64 import b64encode
import urllib2
import sys
import datetime
import time
import json
{ "type": "FeatureCollection",
"features": [
{ "type": "Feature",
"properties": {
"icaoId": "KWBC",
"obsTime": "2016-09-01T19:13:00Z",
"airepType": "PIREP",
"acType": "MU2",
"temp": "-1",
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import httplib
from base64 import b64encode
import urllib2
import sys
import re
import urllib
import datetime
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"
xmlns:georss="http://www.georss.org/georss"
xmlns:idx="urn:atom-extension:indexing">
<id>tag:google.com,2005:reader/user/09670693557036673178/state/com.google/alerts/6188046689771500078</id>
<title>Google Alert - sinkhole</title>
<link href="https://www.google.com/alerts/feeds/09670693557036673178/6188046689771500078" rel="self"/>
<updated>2016-05-09T06:45:00Z</updated>
<entry>
<id>tag:google.com,2013:googlealerts/feed:9462625968516718626</id>
<!DOCTYPE html>
<html>
<head>
<script>
var isIE = /*@cc_on!@*/false || document.documentMode;
var xmlFileName = "iso_dataset.xml";
var xpathTitle = "/gmd:MD_Metadata/gmd:identificationInfo//gmd:citation//gmd:title/gco:CharacterString";
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mhogeweg
mhogeweg / server.js
Created September 17, 2015 14:06
local koop app, including a few new providers (Geoportal Server and Junar)
var express = require('express');
var cors = require('cors');
var config = require('config');
var junar = require('koop-junar');
var koop = require('koop')(config);
var koopPg = require('koop-pgcache');
var socrata = require('koop-socrata');
var ckan = require('koop-ckan');
var github = require('koop-github');
var agol = require('koop-agol');
<?xml version="1.0" ?>
<test></test>
<?xml version="1.0" encoding="UTF-8"?>
<!--
See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
Esri Inc. licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0