...
Checking for cairo : yes
'configure' finished successfully (2.204s)
Waf: Entering directory `/Users/matth/projects/ld/misc/nt/node_modules/nodetiles-core/node_modules/canvas/build'
[ 1/10] cxx: src/Canvas.cc -> build/Release/src/Canvas_1.o
[ 2/10] cxx: src/CanvasGradient.cc -> build/Release/src/CanvasGradient_1.o
[ 3/10] cxx: src/CanvasPattern.cc -> build/Release/src/CanvasPattern_1.o
[ 4/10] cxx: src/CanvasRenderingContext2d.cc -> build/Release/src/CanvasRenderingContext2d_1.o
../src/Canvas.cc: In constructor ‘Canvas::Canvas(int, int, canvas_type_t)’:
This file contains hidden or 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 code(geocoder, locations) { | |
setTimeout(function() { | |
geocoder(locations[0]); | |
console.log(locations[0]); | |
locations.shift(); | |
if(locations.length !== 0) { | |
code(geocoder, locations); | |
} | |
}, 1000); |
This file contains hidden or 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
fonts = soup.find_all('font') | |
for font in fonts: | |
text = font.get_text() | |
slimmed = ' '.join(text.split()) | |
if "Entity Name: " in slimmed: | |
print slimmed |
This file contains hidden or 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
Checking for cairo : not found | |
/Users/matth/projects/ld/misc/nt/node_modules/nodetiles-core/node_modules/canvas/wscript:30: error: the configuration failed (see '/Users/matth/projects/ld/misc/nt/node_modules/nodetiles-core/node_modules/canvas/build/config.log') | |
../src/binding.cc:83: error: ‘uv_poll_t’ has not been declared | |
../src/binding.cc:244: error: ‘uv_poll_t’ does not name a type | |
../src/binding.cc:245: error: ‘uv_poll_t’ does not name a type | |
../src/binding.cc: In static member function ‘static void Connection::io_event(int*, int, int)’: | |
../src/binding.cc:93: error: request for member ‘data’ in ‘* w’, which is of non-class type ‘int’ | |
../src/binding.cc: In constructor ‘Connection::Connection()’: | |
../src/binding.cc:256: error: ‘read_watcher_’ was not declared in this scope | |
../src/binding.cc:257: error: ‘write_watcher_’ was not declared in this scope |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
"geoObjectSource": { | |
"type": "ArcGIS Server", | |
"endpoint": "http://ags.wingis.org/ArcGIS/rest/services/1_Parcels/MapServer/1/", | |
"name": ["LOPHouseNumber", "LOPPrefixDirectional", "LOPStreetName"], | |
"id": "PrimaryPIN" | |
} |
This file contains hidden or 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 parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
export PS1="\[\e[32;0m\]\$(parse_git_branch)\W$ \[\e[0m\]" |
This file contains hidden or 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
var fs = require("fs"); | |
var projector = require(__dirname + "/../lib/projector"); | |
var request = require("request"); | |
var FILTER_BY_EXTENTS = true; | |
var RemoteGeoJsonSource = function(options) { | |
this._projection = projector.util.cleanProjString(options.projection || "EPSG:4326"); | |
this._path = options.path; // required | |
this._encoding = options.encoding || "utf8"; |
This file contains hidden or 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
-- Make sure indexes are set up | |
CREATE INDEX responses_the_geom_gist ON responses USING GIST (the_geom); | |
vacuum analyze responses; | |
-- Set on or off to test if the sequential scan is faster | |
SET ENABLE_SEQSCAN=OFF; | |
-- Wider query | |
EXPLAIN ANALYZE SELECT ST_AsGeoJson(the_geom) as geometry,* FROM responses WHERE the_geom && ST_MakeEnvelope(-83.18847656250001,42.39100860920504, -82.92480468750001,42.585444257384886); |
This file contains hidden or 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
https://www.box.com/s/7ar0rau6ztc8t5i0uipl |