User | Num notes |
---|---|
andrewpmk | 7029 |
JBacc1 | 6054 |
jaakkoh | 5131 |
Paul Johnson | 2836 |
schmarn | 2249 |
mappy123 | 2188 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
abbreviation | Expanded |
---|---|
aly | Alley |
arc | Arcade |
ave | Avenue |
blf | Bluff |
blvd | Boulevard |
byp | Bypass |
cir | Circle |
cres | Crescent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
Mapnik is very smart about converting map scale to zoom level. As a secret/power user feature, Mapnik exposes a !scale_denominator!
variable that changes according to the zoom level and + latitude of the vector tile being rendered. Read about the Mapnik's !scale_denominator!
variable here.
With some postgres magic, the !scale_denominator
lets us control which features appear and disappear, within a layer.
Concretely this is a two-part process. First you will need to load the following z()
function into your PostGIS database:
CREATE OR REPLACE FUNCTION public.z(scaledenominator numeric)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>jsonp test</title> | |
<script src="http://code.jquery.com/jquery-1.6.2.min.js"></script> | |
<script type="text/javascript"> | |
$(function(){ | |
$('#select_link').click(function(e){ | |
e.preventDefault(); | |
console.log('select_link clicked'); | |
This is companion code to this guide.
We can't make this file beautiful and searchable because it's too large.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lat,lon,elems | |
40.7332282,-89.6326497,way64365323_way64364218 | |
40.7332282,-89.6326497,way64365323_way64364718 | |
41.8447043,-87.7189528,way163771236_way163769447 | |
40.7029474,-89.5917399,way64373880_way64371207 | |
40.8267228,-89.608813,way64995732_way64991859 | |
40.8267228,-89.608813,way64995732_way64992360 | |
40.671075,-89.6201658,way65053654_way65053490 | |
40.671075,-89.6201658,way65053654_way65053573 | |
40.7099342,-89.6293203,way65808514_way65808261 |