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
map.setBasemap('Acetate', { | |
mapType: "Road" | |
maxZoom: "18" | |
minZoom: "2" | |
name: "Acetate" | |
projectionName: "EPSG:900913" | |
providerCredit: "" | |
providerCreditColor: "0x000000" | |
template: "http://a[0-3].acetate.geoiq.com/tiles/{layer:acetate-bg}/{Z}/{X}/{Y}.png"}) |
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
{ | |
created_at: "2011/05/04 19:45:32 +0000" | |
-permissions: [ | |
-{ | |
-permissions: { | |
download: true | |
view: true | |
} | |
group_id: "everyone" | |
} |
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
Quantile Breaks with 5 classes: | |
Expected: 1002,1020,1036,1052,1075,1096 | |
Quantile: 1002,1021,1036,1052,1073,1096 | |
Quantile Breaks with 6 classes: | |
Expected: 1002,1015,1030,1043,1059,1080,1096 | |
Quantile: 1002,1015,1030,1043,1058,1080,1096 | |
Eq. Int Breaks with 5 classes: | |
Expected: 1002,1021,1040,1058,1077,1096 |
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
case 'standard_deviation': | |
breaks = [range[0]] | |
if (n % 2 != 0) n-- | |
for (var i=0; i < n; i++) { | |
breaks.push(Math.round(mean - stdev * ((n / 2 - i) - 0.5))) | |
} | |
breaks.push(range[1]) | |
break; |
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
function bounds(features) { | |
var i = -1, | |
n = features.length, | |
geometry, | |
bounds = [{lon: Infinity, lat: Infinity}, {lon: -Infinity, lat: -Infinity}]; | |
while (++i < n) { | |
geometry = features[i].data.geometry; | |
boundGeometry[geometry.type](bounds, geometry.coordinates); | |
} | |
return bounds; |
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
<style>#maker_map_22267 {width: 620px; height: 400px;}</style> | |
<div class="geocommons_map" id="maker_map_22267"></div><br/> | |
<script type="text/javascript" charset="utf-8" src="http://maker.geocommons.com/javascripts/embed.js"></script> | |
<script type="text/javascript" charset="utf-8"> | |
Maker.maker_host='http://maker.geocommons.com'; | |
Maker.finder_host='http://finder.geocommons.com'; | |
Maker.core_host='http://core.geocommons.com'; |
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
sending an analysis | |
method POST | |
http://geoiq.local/refiners.json | |
"%5Brefiner%5D%5Bparameters%5D%5Binput%5D%5Bds1%5D=1446&%5Brefiner%5D%5Bparameters%5D%5Binput%5D%5Bdistance%5D=100&%5Brefiner%5D%5Bparameters%5D%5Binput%5D%5Bunit%5D=m&%5Brefiner%5D%5Bparameters%5D%5Bcalculation%5D=buffer&%5Brefiner%5D%5Bsync_processing%5D=1" |
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> | |
<style>#gmap {width: 1000px; height: 600px;}</style> | |
<script src="http://demo.geoiq.com/javascripts/f1.api.js"></script> | |
</head> | |
<body> | |
<div id="gmap"></div> | |
<script> | |
window.onload = function(){ | |
test_map = new F1.Maker.Map({ |
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
Errno::ENOENT (No such file or directory - /fortiusone/live/apps/geoiq/releases/20110623200555/public/images/icons/http://www.geocomrade.com/fastmap/assets/andrew.png_shadow.svg): | |
lib/map_to_mml_converter.rb:216:in `readlines' | |
lib/map_to_mml_converter.rb:216:in `create_svg_icon' | |
lib/map_to_mml_converter.rb:231:in `print_icon_for' | |
lib/map_to_mml_converter.rb:71:in `style_points' | |
lib/map_to_mml_converter.rb:59:in `for_each_category' | |
builder (2.1.2) lib/builder/xmlbase.rb:134:in `call' | |
builder (2.1.2) lib/builder/xmlbase.rb:134:in `_nested_structures' | |
builder (2.1.2) lib/builder/xmlbase.rb:58:in `method_missing' | |
lib/map_to_mml_converter.rb:57:in `for_each_category' |
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
Errno::ENOENT (No such file or directory - /fortiusone/live/apps/geoiq/releases/20110623200555/public/images/icons/http://www.geocomrade.com/fastmap/assets/andrew.png_shadow.svg): | |
lib/map_to_mml_converter.rb:216:in `readlines' | |
lib/map_to_mml_converter.rb:216:in `create_svg_icon' | |
lib/map_to_mml_converter.rb:231:in `print_icon_for' | |
lib/map_to_mml_converter.rb:71:in `style_points' | |
lib/map_to_mml_converter.rb:59:in `for_each_category' | |
builder (2.1.2) lib/builder/xmlbase.rb:134:in `call' | |
builder (2.1.2) lib/builder/xmlbase.rb:134:in `_nested_structures' | |
builder (2.1.2) lib/builder/xmlbase.rb:58:in `method_missing' | |
lib/map_to_mml_converter.rb:57:in `for_each_category' |