mezerotm / cmv Goto Github PK
View Code? Open in Web Editor NEWCMV is a citySDK based map visualizatoin tool
CMV is a citySDK based map visualizatoin tool
Add default location for CMV to be the current location of the user. Use the HTML5 geolocation.
I have noticed that in Safari browsers, I are not always able to change the location. I have tried the following:
on option 4 it does respond by clearing all of the text, but then when I start typing a new zip code it stops accepting characters after 1 or 2 chars.
When I try to output data to a second map, I get this error:
POST jquery.min.js:4 https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_Current/MapServer/8/query net::ERR_CONNECTION_RESET
When submitting a new citysdk request with new location data or variable data, the active map request is not updated, it instead keeps the first citysdk request sent, and only ever uses that one.
When user chooses a new active map while the program is processing and outputting data for a current active map data request, the program encounters errors with which map to output data to.
We need a progress bar/icon to let the user know their submission is being processed. It looks like this code would be a good starting point:
function checkLoading() {
if (census.SUPPLEMENTAL_REQUESTS_IN_FLIGHT == 0) {
jQuery(".loading-icon-initialstate").hide();
return;
} else if (census.SUPPLEMENTAL_REQUESTS_IN_FLIGHT > 0) {
window.setTimeout(checkLoading, 1500);
}
}
When a user currently selects population and then wants to select income, the program will not hold the memory of the selection to income. This needs to be fixed so as to allow the user to see multiple variables across different maps.
The date in the upper-right of the screen is hard-coded. This should be the current day.
I have not been able to cement the conditions when this occurs, but sometimes when I load up the map and get it to display polygons for citysdk data, the citysdk response (handled by the geocallback function) has all of the geographic data, but whereas in a working response, each point also has a value corresponding to the variable given, these do not, which results in every polygon being the same color, whichever color is associated with a value of 0 (null).
I have been trying to recreate the error for a bit now, and have not been able to (I think it might have something to do with internet connections, but it needs to be looked into I believe), but I will upload screenshots of the error messages and the incorrect polygons when I am able to recreate it.
Nick and Carlos need to bring their code together into master.
It got removed somewhere in the changes, it is just a minor change, but right now there is no indication that I saw of which map is active at the current moment
It appears that the google maps API doesn't work for neither me nor nick, on either js-overhaul or even master.. I think this may have to do with the issue of us leaving the API keys (both census and google maps) on github witch is open domain for anyone to take, so maybe someone has taken our census key and is requesting to much data? - regardless I think we should request a new google maps API key, and remove the keys from github and implement them on our local systems in a special file witch will be .gitignore'd and just passed among ourselves in more secure forms.
The current map legend and title of the map should be hidden when the submit button is pressed.
As of build c887770 on branch Nick-Testing I am unable to drag the two left maps, nor am I able to put focus on either.
(continuation of #17).
Makes the hard coding of zoom location for the active map dynamic to the location entered by the user
Supplement the help mode by providing tooltips to the radio buttons that allow you to choose variables.
The only way to put focus on a map is a quick click, but if you drag a map it does not take focus.
We need it so that whatever map is being touched has focus.
I removed it and set it to regular body tag
I think we should stop calling them variables, in terms of when trying to explain it to the public. We can obviously still call them variables but I think variables doesn't sound friendly(#38).
In working on the titles for the tables. I was testing the idea with 1, 2, and 4 tables. I found out then that the table that holds the maps had some hard-coded styling that made appear to work, but in reality is was not working properly. The problem is that we have a static table that will always have at least 2 rows. So even if the other cells are not showing, the table will just have a row below the single map that is empty and this makes the single map appear to be taking only half of the space. The solution is going to be:
This is likely to affect display.maps.js and top.bar.js (where the update takes place).
This may be a possible reference back to the white space issue #16
Create a production release so that we can link our github.io to a stable release, currently at the moment our page changes as the master changes. I would just like to get people's opinion on weather we should keep it dynamic with how the project grows or if we want a more stable page.
Currently, we have the long & lat coords for the points around a region. However, we need to figure out how to draw the edge of a region such as a tract. Then we can shade it in. The demonstration code on the City SDK can be our first start:
I have feeling that we will have to dig into their code to understand how they trace and shade in-order to write our customized tracing and shading to get the heat-map effect.
There are other map examples for us to look at:
Container Geometry
Drawing on an Arbitrary region
We get multiple consecutive null responses from the citysdk server request. See the citysdk issue for more details and code snippets and the error log.
Hey, you ever get around to making this live or its still living locally?
Would love to talk to you more about CitySDK if you still attending Code for Atlanta's meetups!
When the progress bar loads and it moves from the left hand side of the screen to the right, it will go back to the left hand side and start all over. The bar should be set up so that when it reaches the right hand side, the map is loaded.
The minimum value in our color ranges is almost transparent. We need to change it to where the minimum value, although lighter than the other values (definitely the lightest), it should still be plainly visible. Whether this is done by putting a thin border around all polygons, or just making the minimum color value a bit darker and easier to see
We need to pick a domain name for the application.
I have already checked and cmv.org, cmv.info are taken at this time. I am thinking that a .info domain is the best for what our app does.
I throw out an idea: censusmapvis.info
any ideas?
Currently, the app is only set to allow the user to look at geographic data for Gwinnett County. The app needs to be fixed to allow the user to see information anywhere in the country.
Currently, when the user selects an option to look at the map zooms all the way out.
We don't want regular users being able to view all of the debug messages about inner workings of the program, so we need to turn these off for the production/hosted version of the program
We currently have the 'bootstrap' setup in a way that only works well in full screen mode. We need to redesign code to be more responsive.
keyword here is bootstrap, from what i can tell this issue is most heavy in the way we have setup our index.html bootstrap code and the CSS is not as big of a contributing factor.
We still need to add the preset options for user to select from viewing 1, 2, or 4 maps at a time on the screen.
To create titles that make sense to the user, I need to be about to see something like the variable median_female_age and convert that to Median Female Age at the very least. In other cases it may require that we do more than simply translate the variable name with string manipulation.
on merging Nick-Testing with mikebranch it will not show maps, this may not be related to the merge since i had the issue of maps not showing before the merge. But I have decided to keep the merge instead of hard reseting and seeing if we can fix this small issue.
~ mikebranch can go on we will just fix the issue and re-merge if needed, it won't be as big of a merge the second time around.
Would be nice if when we get to step 2 (the first time it mentions variables) if we could instead of listing more variables, is instead open the variable up for them or force them to open it and show the steps of clicking a radio button and then going through the process of clicking submit. I imagine a more forceful tutorial where they cannot progress until they comply with the instructions(#38).
We are getting a Not A Number (NaN) response on the legend when the Unemployment is selected.
Not sure what is causing this, but it seems to be consistently happening. We probably need to check the raw data on the census site.
I was testing zip code 30013 and 30032. It looks like it's intermittent. So it may be that data is just not always being brought down. If so, then we need to check for this and reissue the request or something.
Currently, the date is showing September 11, 2001. It does not change as the time passes.
Currently, there is a button to get help on using the project. However, when it is clicked nothing happens. Thus, a help page should be added explaining how the project works.
There has to be a way for the user to see what the legend/colors mean on the map.
This would show graphs, like a bell curve, that shows all of the data for what the user selected. This is in reference to issue #16
Be able to check what year range we receive from the API; When you ask the API for a year for example 2018, the API may not have 2018 so it usually gives you the next best thing so maybe 2017, we need to be able to see what range it has given us to more accurately represent what date we're looking at as opposed to what we think we're looking at.
In the top left hand side of the home screen there is a search bar. Why is it there? Is there a plan to use this at all? Something to relook at. If it has not purpose then purge it out.
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.