Skip to content

Instantly share code, notes, and snippets.

View aaronlidman's full-sized avatar

Aaron Lidman aaronlidman

View GitHub Profile
@aaronlidman
aaronlidman / featureCollection.geojson
Created December 10, 2013 17:06
GeoJSON test data. Mostly from the spec: http://geojson.org/geojson-spec.html.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2017-12-07T00:00 236 48 30
2017-12-07T00:01 718 169 72
2017-12-07T00:02 359 215 30
2017-12-07T00:03 403 86 13
2017-12-07T00:04 214 9 5
2017-12-07T00:05 743 75 6
2017-12-07T00:06 220 53 5
2017-12-07T00:07 14 18 0
2017-12-07T00:08 7 26 3
2017-12-07T00:09 0 16 0
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
amenity=fast_food
amenity=fuel
amenity=restaurant
amenity=bank
amenity=cafe
amenity=pharmacy
amenity=car_rental
shop=supermarket
shop=convenience
<html>
<head>
<title>OSM & GeoJSON by Aaron Lidman</title>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.1.0/lodash.js"></script>
<script type="text/javascript" src="http://rawgithub.com/aaronlidman/osm-and-geojson/gh-pages/osm_geojson.js"></script>
<script type="text/javascript" src="http://rawgithub.com/tyrasd/osmtogeojson/master/osmtogeojson.js"></script>
<script type="text/javascript">
function toGeo() {
var xml = document.getElementById('osmxml').value;
var start = new Date().getTime(),
<html>
<head>
<title>OSM & GeoJSON by Aaron Lidman</title>
<script type="text/javascript" src="http://rawgithub.com/aaronlidman/osm-and-geojson/gh-pages/osm_geojson.js"></script>
<script type="text/javascript" src="http://rawgithub.com/tyrasd/osmtogeojson/master/osmtogeojson.js"></script>
<script type="text/javascript">
function toGeo() {
var xml = document.getElementById('osmxml').value;
var start = new Date().getTime(),
geojson = osm_geojson.osm2geojson(xml),
@aaronlidman
aaronlidman / alltheparks.geojson
Created September 26, 2013 23:37
LA County Parks Import. Data has conflated and left with only name attributes. OSMLY will simplify the geometry and build a sqlite database out of it. 810 parks.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aaronlidman
aaronlidman / cemeteries.geojson
Created September 26, 2013 22:06
LA County Land Use Import. All files have been conflated and left with only name attributes. OSMLY will simplify the geometry and build a sqlite database for each file.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aaronlidman
aaronlidman / buildtest.geojson
Created September 19, 2013 08:01
la parks, deduped 8/31
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aaronlidman
aaronlidman / sshport.txt
Created September 19, 2013 07:00
Fix ssh port for public wifi
vi /etc/ssh/sshd_config
Add: Port 443
/etc/init.d/ssh restart