Skip to content

Instantly share code, notes, and snippets.

Jeffrey Warren jywarren

Block or report user

Report or block jywarren

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View export redirect
http://34.74.118.242/api/v2/process/?upload=undefined&steps=[%7B%22id%22:1,%22input%22:%22https://s3.amazonaws.com/grassrootsmapping/warpables/317897/G0143021.jpeg%22,%22depends%22:[],%22steps%22:%22webgl-distort%7Bnw%3A2528%252C1170%7Cne%3A1386%252C2126%7Cse%3A934%252C1267%7Csw%3A1878%252C682%7D%22%7D,%7B%22id%22:2,%22input%22:%22https://s3.amazonaws.com/grassrootsmapping/warpables/317898/G0143035.jpeg%22,%22depends%22:[],%22steps%22:%22webgl-distort%7Bnw%3A2278%252C1248%7Cne%3A1113%252C1803%7Cse%3A179%252C985%7Csw%3A1751%252C330%7D%22%7D,%7B%22id%22:3,%22input%22:%22https://s3.amazonaws.com/grassrootsmapping/warpables/317899/G0143050.jpeg%22,%22depends%22:[],%22steps%22:%22webgl-distort%7Bnw%3A2811%252C1409%7Cne%3A1731%252C2225%7Cse%3A1018%252C1444%7Csw%3A2053%252C754%7D%22%7D,%7B%22id%22:4,%22input%22:%22https://s3.amazonaws.com/grassrootsmapping/warpables/317900/G0143053.jpeg%22,%22depends%22:[],%22steps%22:%22webgl-distort%7Bnw%3A2224%252C840%7Cne%3A3016%252C1734%7Cse%3A1892%252C2026%7Csw%3A1319%252C1229
View gist:861a052570637ec873f55583a6d208d4
<!-- We use tags to group research by topic -- browse below to see the most popular tags over the past month. -->
<p style="font-size:1.4em;">
<a class="badge badge-primary" href="/tag/air-quality">air-quality</a>
<a class="badge badge-primary" href="/tag/water-quality">water-quality</a>
<a class="badge badge-primary" href="/tag/soil">soil</a>
<a class="badge badge-primary" href="/tag/oil-and-gas">oil-and-gas</a>
<a class="badge badge-primary" href="/tag/climate">climate</a>
<a class="badge badge-primary" href="/tag/sensors">sensors</a>
<a class="badge badge-primary" href="/tag/organizing">organizing</a>
View gist:e46994aa9dec8d774245822365fb446f
(node:21) UnhandledPromiseRejectionWarning: Error: Protocol error (Runtime.callFunctionOn): Target closed. at Promise (/app/node_modules/puppeteer/lib/Connection.js:183:56) at new Promise (<anonymous>) at CDPSession.send (/app/node_modules/puppeteer/lib/Connection.js:182:12) at ExecutionContext.evaluateHandle (/app/node_modules/puppeteer/lib/ExecutionContext.js:106:44) at ExecutionContext.<anonymous> (/app/node_modules/puppeteer/lib/helper.js:111:23) at ExecutionContext.evaluate (/app/node_modules/puppeteer/lib/ExecutionContext.js:48:31) at ExecutionContext.<anonymous> (/app/node_modules/puppeteer/lib/helper.js:111:23) at DOMWorld.evaluate (/app/node_modules/puppeteer/lib/DOMWorld.js:112:20) at process._tickCallback (internal/process/next_tick.js:68:7)
2019-06-10 17:58:11.154 EDT
at Frame.<anonymous> (/app/node_modules/puppeteer/lib/helper.js:110:27)
2019-06-10 17:58:11.154 EDT
at Page.evaluate (/app/node_modules/puppeteer/lib/Page.js:782:43)
2019-06-10 17:58:11.154 EDT
at Page.<anonymous> (/app/node_modules/
View gist:16d055b3b2d2678fee52a12145cb5018
https://sequencer.publiclab.org/examples/#steps=import-image{url:data%3Aimage%2Fjpeg%3Bbase64%2C%2F9j%2F4AAQSkZJRgABAQEAeAB4AAD%2F4RDcRXhpZgAATU0AKgAAAAgABAE7AAIAAAAGAAAISodpAAQAAAABAAAIUJydAAEAAAAMAAAQyOocAAcAAAgMAAAAPgAAAAAc6gAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
View shopify-hack.md

Wrap in:

<div style="margin:20px 0;">
</div>

Add:

View mapknitter.log
I minlat -37.7668304285, minlon 144.9828654528, maxlat -37.7650239004, maxlon 144.9859553576
I gdalwarp -s_srs EPSG:3857 -te 144.9828654528 -37.7668304285 144.9859553576 -37.7650239004 public/warps/1558564995/w306187.tif public/warps/1558564995/1558564995.tif
I Using band 4 of source image as alpha.
I Creating output file that is 1272P x 744L.
I Processing public/warps/1558564995/w306187.tif [1/1] : 0...10...20...30...40...50...60...70...80...90...100 - done.
View crop-bug.txt
# puts "warpable: ", n['id'], i, n['lat'], n['lon']
> generating composite tiff
warpable:
2593754
0
-37.7664063648
144.9828654528
warpable:
2593755
0
View gist:c8351c786b4791da7d0ccd3624aeaaec
https://s3.amazonaws.com/grassrootsmapping/warpables/307174/GX1915SD-878a.jpg
identify-im6.q16: unknown image property "%[exif:Orientation]" @ warning/property.c/InterpretImageProperties/3831.
convert -contrast-stretch 0 public/warps/test--226-working/307174-GX1915SD-878a.jpg -crop 7733x7733+0+0! -flatten -distort Perspective '0,0 1261,0 3780,0 6611,726 3780,3600 6082,7733 0,3600 0,5732' -flatten -crop 7733x7733+0+0! +repage public/warps/test--226/307174.png
convert +antialias -size 7733x7733 xc:none -draw "fill black stroke red stroke-width 30 polyline 1261,0 6611,726 6082,7733 0,5732 1261,0" -alpha set -channel A -transparent red -blur 0x8 -channel R -evaluate set 0 +channel public/warps/test--226/307174-mask.png
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `none' @ error/cache.c/OpenPixelCache/3945.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServ
View email2.txt
Delivered-To: notifications@publiclab.org
Received: by 2002:a67:c39a:0:0:0:0:0 with SMTP id s26csp1222908vsj;
Fri, 26 Apr 2019 12:35:28 -0700 (PDT)
X-Received: by 2002:adf:e309:: with SMTP id b9mr6420019wrj.165.1556307328630;
Fri, 26 Apr 2019 12:35:28 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1556307328; cv=none;
d=google.com; s=arc-20160816;
b=naP+QK6sUEHhW6b6Jnc3tQyGDKTGO/8aRR0QLsruJnJYB4gNqS5Zm2zhaAPm6jD5wD
b4d1k+JzNIpxJPt3nelj5jT8xlmoBAZk5q+vs0i+V96eN7K3qshESw50bVXqU7B0WFbW
jCTSa0FGJP22eG+DG8EVf667YFsNluQ/mX3heA6DljwsgMuBQRYM4JrVvLY0Rj5E9P+i
View email.txt
Delivered-To: notifications@publiclab.org
Received: by 2002:a67:ef51:0:0:0:0:0 with SMTP id k17csp2958426vsr;
Tue, 30 Apr 2019 15:59:34 -0700 (PDT)
X-Received: by 2002:adf:da51:: with SMTP id r17mr7351604wrl.118.1556665174354;
Tue, 30 Apr 2019 15:59:34 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1556665174; cv=none;
d=google.com; s=arc-20160816;
b=u/1FDk5QB3jm+UiLIjav+bjdB0htgecrk8MJPTbwwlh+0Z6Fd4v9KHUreA++zBA+aW
Kib16UMGX+8KGrLJeYCNRBGQdokllDa3twk3H6mHeoX5NZFZ98t/E6TPCSn6AXpDiryy
Qexrkwbplm3/lN16PKAB68wbW6mLF+4JorRmxdnwg8QTb8DxowsixJfll+xx24hwEbHU
You can’t perform that action at this time.