respec / solar-suitability-app Goto Github PK
View Code? Open in Web Editor NEWSolar Suitability Application
Solar Suitability Application
After saving, returning to report, and then back to draw panels the tool lets you draw but the feature doesn't stick/save.
Clean Energy link is fixed but doesn't seem to process the url param for zip. Link format carries through as expected but website loads entire state.
test in different viewports
Hey where does the 78% on the progress bar get set?
I think that it either needs to use annualPercentSun or the Optimal/Poor case statement needs to use whatever 78% comes from (cuz 78% should be Fair, not optimal)
Ok, I found this and see how it is done but I may need your help explaining the first line: // Populate gradient
var gradient = ((app.query.averagePerDay/4).toFixed(2)*100).toFixed().toString() + '%';
var $showGradient = $('.showGradient');
$showGradient.css('width', gradient);
$('.showGradient>span').text(gradient);
why divide by 4?
on mobile or trackpad I find I'm panning the maps unintentionally when trying to scroll down on the report. Could your same limitExtent feature be applied on these maps?
I may have broken these...
Out of bounds message persists even after clicking within the state (good query).
distracting to have the tooltip persist over the top of the loader.
override valueHelp padding.
Lots of people are emailing the report to themselves (from the fair) so let's not make them retype their email in TO and RECIPIENT fields.
Which counties are bare earth, anyway?
require sender email, description of problem, etc and validate email format.
Have to determine the best way to check for a new query -or- add a button to reset the report. Thoughts? For example, site title is 'Chris' House' but then I move onto 'Andy's House' - do I want it to show the stored values 'Chris' House' or 'Site Title'?
a) Last Lat/Lng for a click stored. If Lat/Long when opening report =/= last Lat/Lng, reset details. May be an issue if they just adjust their query point to a different point on the roof.
b) Always leave details unless they reset it.
Report maps get lost on second query
Chris- Can you look into this when you get time? Thx.
allow csv, handle semi-colons:
Delivery to the following recipient failed permanently:
Technical details of permanent failure:
Internal parse error: Illegal envelope To: address (not valid RFC5321 syntax): [email protected]; [email protected]
----- Original message -----
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=date:to:from:subject:message-id:mime-version:content-type
:content-transfer-encoding;
bh=/JaPmcPq1FxnsyZK0NXnH8WklC66qyvRXvarO14thQU=;
b=IFsofSqVcRGHN3WiYTbzBZsPa911HtEIAyF0YbJVnAF6G0MB0VtjY4Yp0AsK3X6P/F
ZmvXXCvMnvFCQjtYFRTImEpkTGKqOor0Dct+N4oVGUiQ5ttUEqtx+u0Q2oIMUcqH0DEj
oLzKdHrH+vxnXhwOk7bbqx6YNFlmunOueFThKZbTZENP5J2P62z2U9Mmjrc1w8kAh9K2
dv8XuzfxLuONOeLD53Sw/HWFvYtxdQ0d06YH9uhNXtHEe6QUADIapA1gKP+DOJbf7bDD
GBDX7MhC4HoTi1YiHNXvdUKCXDBSfWHICu5hTL84ORtsIPaRgkDLY1mFOCh/8z/Z55Kr
f/xg==
X-Received: by 10.50.83.73 with SMTP id o9mr22665967igy.40.1443534223334;
Tue, 29 Sep 2015 06:43:43 -0700 (PDT)
Return-Path: [email protected]
Received: from solar.maps.umn.edu (arachnid.socsci.umn.edu. [134.84.151.68])
by smtp.gmail.com with ESMTPSA id e65sm11203149ioj.14.2015.09.29.06.43.42
for <[email protected]; [email protected]>
(version=TLSv1 cipher=RC4-SHA bits=128/128);
Tue, 29 Sep 2015 06:43:42 -0700 (PDT)
Date: Tue, 29 Sep 2015 08:43:42 -0500
Return-Path: [email protected]
To: [email protected]; [email protected]
From: Alex Gast [email protected]
Subject: Solar Suitability Report
Message-ID: [email protected]
X-Priority: 3
X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_a17eb0faaeb568056283f4b10d10895f"
Content-Transfer-Encoding: 8bit
A Solar Suitability Analysis Report has been shared with you. Click the link below to view:http://solar.maps.umn.edu/app/index.html?lat=44.82510242404244%2526long=-93.81155556979662
Need to wait for map to be loaded
Caused by .btn-solar margin: 3px;
Is this needed? Should we split and extent the class for the divs that need it?
Is there an easy way we could make the app fail gracefully when ArcGIS server is down (i.e. Solar ImageService not available)? Handle no or error response and showalert “Solar data temporarily unavailable, please check back soon…”
Currently it just sticks on “Calculating…"
Occasionally very small % values will be displayed on the progress bar.
I.E. - 56.999999999999999%
48.383382451134715, -95.5418297861277
Ideally need more than the 19 zoom levels provided by Esri. 19 is not quite enough to draw panel arrays accurately.
http://www.mngeo.state.mn.us/chouse/wms/composite_image.html
sync status of layer toggles between maps
Re-write toggle function to set both toggles when used
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.