- GeoServer Beginner's Guide(Second Edition)
- Stefano Iacovella
- 433字
- 2021-07-08 09:21:08
Making your thematic map
Are you ready to build some maps? We can do this without the use of GeoServer since we have not yet discussed how to install it; we will cover that in the next chapter. For the moment we will play with an online map engine to assist your understanding of thematic map concepts:
- First, download the WorldBank.csv file from the Packt site. This file contains a set of economic data already prepared for you. The data comes from the World Bank and was preprocessed to let you focus on the thematic map:
The World Bank is an international financial institution that provides loans to countries of the world for capital programs. It also distributes a lot of social and economic data under an open data license. The data used in this section is available at http://datacatalog.worldbank.org/.

- To build the thematic map, we will use an online engine. Although it's built on open source software, it's a commercial solution. You need to register to use it, but, for the purpose of this section, and for other small maps you may want to create, you can use the free of charge account. Point your browser to https://carto.com/:

- Click on the Sign up link from the home page and complete your application for a free of charge account. After signing up, log in to Carto and you will arrive at the front dashboard, the starting point for building your maps:

- Select the WorldBank.csv file and drag it on the dashboard to create your first map. The engine will process your data, trying to georeference it, and then a new map will be shown for you:

- The map you just created does not seem interesting. All the countries use the same orange symbol, what about the economic data from World Bank? Locate the toolbar in the right part of the user interface and press the symbol with a paintbrush; this will show you a custom interface to change the rendering of your data:

- Select the choropleth category and leave the other setting at default. Now your map shows the countries with a color ramp, according to the GDP value. You can explore the setting; try to change the classification and the color ramp used:

You built a brand new thematic map, selecting data and symbol colors. You will need to set these parameters exactly in GeoServer to produce beautiful maps. This time we did it without exploring the technical details behind feature rendering. In Chapter 6, Styling Your Layers, you will learn how to use SLD (Styled Layer Descriptor) to make thematic maps.
推薦閱讀
- Go語(yǔ)言高效編程:原理、可觀測(cè)性與優(yōu)化
- 軟件測(cè)試項(xiàng)目實(shí)戰(zhàn)之性能測(cè)試篇
- MATLAB實(shí)用教程
- Easy Web Development with WaveMaker
- Haskell Data Analysis Cookbook
- Swift 4從零到精通iOS開(kāi)發(fā)
- 深度探索Go語(yǔ)言:對(duì)象模型與runtime的原理特性及應(yīng)用
- R Data Science Essentials
- Arduino電子設(shè)計(jì)實(shí)戰(zhàn)指南:零基礎(chǔ)篇
- Drupal 8 Development:Beginner's Guide(Second Edition)
- Java EE 8 and Angular
- HTML5游戲開(kāi)發(fā)實(shí)戰(zhàn)
- Java程序設(shè)計(jì)
- Access 2016數(shù)據(jù)庫(kù)應(yīng)用與開(kāi)發(fā):實(shí)戰(zhàn)從入門到精通(視頻教學(xué)版)
- Office VBA開(kāi)發(fā)經(jīng)典:中級(jí)進(jìn)階卷