Tuesday, November 17, 2015

WEB GIS Lab 7

Introduction
Volunteered geographic information (VGI) allows the general public to collect as well as upload geographic locations and its related attribute information into a web GIS application. This task entails crowdsourcing, where instead of hiring people to collect GIS data, you develop a web GIS application and seek information collected by the general public. The main goal of this lab is to learn how to create a web GIS VGI app that can be used by the general public.
Methods

The first part of lab seven involved authoring a map document that supports feature services and web editing. To begin this section of the lab the creation of domains and subtypes are required, which are rules that govern the values within fields of a feature class or non-spatial attribute table. The domain names given are type, condition, and health. The domain names are then given a description, in this case fire hydrants, sidewalk, and green space. Each domain name now is given a property, which is long integer under the field type and the domain type is coded values. The coded value is permitted with numbers as values and then each number is allowed a description of what the number represents. For example the fire hydrant is granted two coded values 0 and 1, 0 represents red and 1 represents yellow.

Now that the database properties are established the creation of features and attributes can now be collected. A basemap needs to be first added, so we can locate the proper location of features. Once the basemap is loaded to the document new feature classes can be created for each domain. A point feature is created for fire hydrants, line feature for sidewalks, and polygon feature for green space. Each feature class is then given a projected coordinate system and since we are publishing to the web, we use the WGS 1984 Web Mercator. After accepting the remaining defaults windows the feature classes are finally created, however each class is assigned field names. The field names are type, condition, and health, the domains that were first created before. A data type is associated with each field name and the type, condition, and health are accredited with long integer. The last field name applied to each feature is comment and is given text for a data type. This allows for the developer and end-user to make comments on each feature created.
Domain names, properties, & coded values
New Feature Class Fields
Next, the features are selected an appropriate symbol that best represents its characteristics. Following the symbol designs we can finally create our features on ArcMap. This is done by starting an edit session in the editor toolbar and selecting the create feature tab. Once the feature is created the attributes must be added along with an attachment of a photo or video. Right clicking on the feature class and then choosing manage-create attachments will allow for the feature attachment. After all the features are created on the basemap we can now save and stop editing. The features are ready for publish as soon as the basemap is removed. To publish this service the same following procedures done in lab two are repeated. Refer to the second paragraph in lab two that explains how to publish to the server.

To complete the lab a HTML, CSS, and JavaScript is developed to ultimately display the final service. The functions assembled in the JS are esriConfig, map, snapping manager, editor, feature layer, geometry service, draw, keys, parser, array Utills, and i18n. Each function is then enabled throughout the script to ensure the end-user has a user-friendly experience. The final web application can be observed and edited at this URL – https://gis14.uwec.edu/f15Geog455/praschl/lab7/LP_index.html


Desktop version of VGI web app

VGI pop-up window
Smart phone version of VGI web app

No comments:

Post a Comment