Tuesday, November 3, 2015

WEB GIS Lab 6

Introduction
The main goal of this lab is to learn how to make a Web GIS applications that are responsive in mobile clients. The first task is to develop a search app that end-users can use to search for addresses of places, congressional districts, information about senators, and higher educational institutions. To conclude, a query app is developed that will ultimately return graphical and text census information for counties in Wisconsin.

Methods



The first assigned task was to complete a web application that can search for congressional districts, senator locations, and finding location of addresses in the United States. To begin a HTML document is prepped with appropriate tags so the web application can run freely using a desktop and smart phone. Now that the HTML doc is guiding into the right direction and JavaScript is develop. Within the script multiple tools are required to ensure the final web application can function properly. The functions assembled are map, search, feature layer, info template, and dom ready. The map is given a gray basemap and has a zoom focus on the the U.S. Now that we have a reference we can bring in the search bar. The search bar is assigned a single button to complete the search and an info window. Inside the search bar a drop down menu is also created to show the three different categories you can search. Next, the search features are linked inside the script and are accredited with relevant fields that will show up once the features information window when it is selected. Once the feature layers are referenced the web app is ready for launch and use.

The next section requires a modification to the search application and a different reference service. The new reference service used is universities features. To complete the modifications the feature layer is first created in ArcMap, where the symbols are altered, and then published to the rest server. When referencing the university layer there are changes in the search drop down menu and the info template. Inside the info template the university name is only selected for display.

The second part of lab six is to create a query application. The query app starts with the same procedure are part one, but requires changes inside the JavaScript. The tools required inside the script and map, feature layer, query, content pane, border container, analog gauge, and analog Arc indicator. The map used is an ocean's basemap and is centered at Wisconsin. Wisconsin's counties map is acquired from ArcGISOnline sample service to be used for the final app. The service provides information on the county's population in 2007, which will be used to compare Wisconsin's county's to Wisconsin's most populous county. Next a query is develop that will allow for this comparison. After establishing the correct query an analog gauge is created to model the percentage of the county's population to the most populous county. This step involved many functions in order to get the proper display. The app gauge contained all the style settings for creating the gauge, like the height and width, the percentage display, the content box, and finishing with the updated gauge function, which would allow the population field to be used for contrasting. The final gauge can be seen in Wisconsin's county comparison in the bottom right.

Congressional District
University Locator

Wisconsin's County Comparison

No comments:

Post a Comment