Название: Getting to Know Web GIS
Автор: Pinde Fu
Издательство: Ingram
Жанр: Программы
Серия: Getting to Know
isbn: 9781589485228
isbn:
Smart mapping aims to provide a strong, new “cartographic artificial intelligence” that supports map styles including a heat map, color map, size map, point map, color and size map, time map, predominance map, and more.
Smart mapping enables users to visually analyze, create, and share professional-quality maps easily and quickly with minimal mapping knowledge or software skills. Smart mapping uses a data-driven workflow to provide new and easy ways to symbolize your data and suggest the “smart” defaults. Smart mapping delivers continuous color ramps and proportional symbols, improved categorical mapping, heat maps, and new ways to use transparency effects to show additional details about your data via a streamlined and updated user interface. Unlike traditional software defaults that are the same every time, smart mapping analyzes your data quickly in many ways, suggesting the right defaults when you add layers and change symbolizing fields. The nature of your data, the map you want to create, and the story you want to tell all drive these smart choices.
Smart mapping doesn’t just style your layer. It also performs exploratory data analysis to help you and your users discover the science of where. Smart mapping does not oversimplify the map-authoring experience or take control away from you. You can still specify parameters manually to extend default capabilities. For more information on smart mapping, see http://www.esri.com/landing-pages/arcgis-online/smart-mapping.
Pop-ups
Pop-up windows are considered windows to show geographic information and deliver geographic insight. They are a common tool that your end users rely on to interact with your operational layers. Today’s users click or tap a location or feature on the map and expect to see a pop-up showing more information.
The default pop-up appearance for a layer is a plain list of attributes and values. You can configure the pop-ups to show custom-formatted text, attachments, images, and charts and links to external web pages. These pop-ups enhance the attributes associated with each feature layer in the map and present the information in more intuitive, interactive, and meaningful ways.
ArcGIS Arcade
How do you display data when there is no column in the schema containing that data? Traditionally you would have to alter the underlying data, such as adding a new column. But if you are not the owner or don’t have the privilege, you can’t alter the data. Arcade solves this common problem. Arcade is a portable, lightweight, and secure expression language written for use in the ArcGIS platform to style layers, label layers, and add values to layer pop-ups. With Arcade, you can build custom expressions based on existing fields and geometries without having to alter the data. Here are a couple simple examples:
Label the percentage of the young and elder in the total population.Round(($feature.AGE_5DOWN + $feature.AGE_65UP)/ $feature.TOTAL_POP * 100 ) + “%”
Calculate the weekday of the crime events in a layer.Weekday($feature.Reported_Date_Time)
You can almost think of Arcade as “Microsoft Excel for ArcGIS.” In much the same way that Microsoft Excel lets you write formulas to work with spreadsheet data, Arcade lets you do the same with layer attributes and geometries. Like other expression languages, it can perform mathematical calculations, manipulate text, and evaluate logical statements. It also supports multi-statement expressions, variables, and flow control statements. Arcade was designed specifically for creating custom visualizations and labeling expressions in the ArcGIS Platform, including ArcGIS Online and ArcGIS Enterprise.
With Arcade, you can build custom expressions, use them to configure your layer style and pop-up without having to alter the underlying data.
While the syntax contains similarities to other scripting languages, Arcade is not designed for writing stand-alone apps. It is intended solely for evaluating embedded expressions such as those used in visualization, labeling, and alias contexts within applications of the ArcGIS platform. For more details, refer to https://developers.arcgis.com/arcade/guide.
Web app user experience design principles
User experience is an important factor when you configure your web layers, maps, and apps. A good Web GIS app should deliver informative content and enhance necessary functionality for a fast, easy, and fun user experience. Story Maps facilitate your creation of web apps with pleasant user experiences.
Fast: “Don’t make me wait,” say today’s users. Web GIS apps should use caching, database tuning, appropriate client/server task partitioning, and load balancing to achieve optimal performance, scalability, and availability. When you use ArcGIS Online, these are mostly taken care of by Esri for you automatically. But these aspects are important checkpoints when you use ArcGIS Enterprise to host your own layers and apps.
Easy: Today’s users also say, “Don’t make me think about which button to click,” and “If I don’t know how to use your site, it’s your problem, and I will leave the site quickly!” Web GIS apps should focus on a specific purpose. Do not overwhelm users with unnecessary buttons and data layers. Make the user interface intuitive. The interface should provide feedback, such as visual cues, that lead users through a well-defined workflow and assure them that they are on the right track.
Fun: Integrate photos, charts, videos, and animation into your web apps. Used properly, these media enhance user engagement, convey your key information, and improve user satisfaction.This tutorial
In this tutorial, you will learn how to create a Web GIS app that presents the spatial patterns of US population growth, explore the reasons behind the patterns, and share what you found with the public using Story Maps. In the process, you will learn the skills to create a feature layer using geocoding, style your layer using smart mapping, configure layer pop-ups using Arcade, and create a Story Map Journal web app.
Data: For the operational layers, you are provided with a CSV file, C:\EsriPress\GTKWebGIS\Chapter2\Top_50_US_Cities.csv, which contains the 2010 to 2016 population and housing information of the 50 most-populated cities in the US.
There are no latitude and longitude fields in the CSV.
Other operational layers are not provided. You will find them in the Living Atlas.
Requirements:
Your map symbols should be easy to understand.
If a city or region is clicked, your app should display associated details in intuitive ways.
Your app should present the population change patterns and the reasons behind the patterns in story maps format.
System requirements:
An ArcGIS Online or Portal for ArcGIS publisher account. You can use the trial account you created in chapter 1.
A web browser.
Microsoft Excel or a text editor.2.1 Create a feature layer using geocoding
In this section, you will create a hosted feature layer, which will be your main operational layer.
1 In СКАЧАТЬ