##The Classics
- Anatomy of a Webmap - MaptimeSF
- OSM 101 - MaptimeSF
##Geospatial Foundations
- Intro to Geographic Data Formats - Lyzi
- The Wild World of Geodesy - Lyzi
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Nag-Brooklyn map</title> | |
<meta charset=utf-8 /> | |
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' /> | |
<!-- CSS libraries --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> | |
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"> |
##The Classics
##Geospatial Foundations
Changeset: A group of changes that you made to OSM data. Once uploaded to OSM, your edits are instantly available to others if they download OSM data. They may take a few minutes or several hours to appear on the map.
Extract: A large chunk of OSM data for a specific area (like a state, country, or geographic area).
Layer: A data source that's displayed on a slippy map (often is thought of as a group of tiles stitched together). (It also has another meaning in OSM, but don't worry about it right now).
Render: to convert from the OSM data into an image. Rendered data is a map.
Stylesheet: it means a text file of rules that define what features (like roads, buildings) are displayed, and how (what color should the road be ? How wide should be? What icon should be used for a restaurant?) on a map.
<html> | |
<head> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v1.0.0-rc.1/leaflet.css" /> | |
<script src="http://cdn.leafletjs.com/leaflet/v1.0.0-rc.1/leaflet.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.5.0-alpha2/html2canvas.min.js"></script> | |
<script src="https://cdn.rawgit.com/flozz/StackBlur/master/dist/stackblur.min.js"></script> | |
<script src="https://code.jquery.com/jquery-2.2.3.min.js"></script> | |
<style> | |
html, body { | |
margin:0; |
license: gpl-3.0 |
##Task:
<!doctype html> | |
<meta http-equiv="X-UA-Compatible" content="IE=Edge"> | |
<html> | |
<head> | |
<title>test</title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width"> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.css" /> | |
<!--[if lte IE 8]> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.ie.css" /> |
Following on Chris Whong's excellent writeup of how to make calls directly to NYC's Geosupport client and this first attempt at generalizing it, here's a way that let me geocode about 10,000 addresses a second on Ubuntu using Node FFI.
Note: this assumes Ubuntu - other Linux is probably fine but may need adjustments.
First, install the basics:
# Update, install Node and unzip (if needed)