Welcome back, map maker! In Module One, you learned about data and why it matters. In Module Two, you designed a Kobo form. In Module Three, you collected real data and managed it in the cloud. You exported your data as GeoJSON.
Now your data is sitting in a file on your computer. It has GPS points, photos, and answers. But a file is not a map. How do you turn that file into a map that people can see on a website? That is what GeoServer does.
In this module, you will learn how to install GeoServer. You will learn how to navigate its interface. You will learn how to load your data. You will learn how to publish it as a map service. By the end, your data will be a live map that anyone can view.
We will keep using simple words and lots of examples. Let’s turn your data into a map!
After you finish this module, you will be able to:
Chidi lived in Enugu. In Module Three, he had collected data about all the water taps in his village. He had GPS points. He had photos. He had answers about which taps worked and which were broken. He exported the data as a GeoJSON file.
But when he opened the file on his computer, it was just a long list of numbers and words. It looked like this:
{"type":"Feature","geometry":{"type":"Point","coordinates":[7.4985,6.4402]},"properties":{"status":"working"}}
{"type":"Feature","geometry":{"type":"Point","coordinates":[7.4989,6.4410]},"properties":{"status":"broken"}}
Chidi was confused. “How can I show this to the village council?” he asked. “They will not understand this list.”
His teacher smiled. “You need GeoServer,” she said. “GeoServer takes this list and turns it into a map. Then you can share the map with anyone.”
Chidi installed GeoServer. He loaded his GeoJSON file. He published it as a layer. He clicked “Preview”. Suddenly, a map appeared. Green dots showed working taps. Red dots showed broken taps. Chidi could see his whole village on one map.
“Now the council can see exactly which taps need repair,” he said. His teacher nodded. “You have learned the power of GeoServer.”
Moral of the story: Data in a file is hard to understand. Data on a map tells a story.
Definition: GeoServer is a free tool that turns data into map services on the internet.
Why it is important: It lets you share maps without building a website from scratch.
Simple explanation: GeoServer is like a post office. You give it your data. It packages the data into map pictures. Then anyone can ask for the map.
Real-life example: A weather website uses GeoServer to show rain maps.
School example: A school can use GeoServer to show a map of its campus on its website.
Home example: A family can use GeoServer to share a map of their favourite places.
Nigerian example: The Lagos State Government uses GeoServer to show flood risk maps.
Illustration:
+---------------------+ | GEOSERVER | | [📁] Data in | | [🗺️] Map out | | [🌐] Shared online | +---------------------+
Mini summary: GeoServer is a free tool for sharing maps. It turns data into map services.
Definition: Installing means putting GeoServer on your computer.
Why it is important: You need GeoServer on your computer to publish maps.
Simple explanation: You download a file. You unzip it. You run a script. GeoServer starts.
Real-life example: Like installing a new app on your phone.
School example: Like installing a new program on the school computer.
Home example: Like setting up a new TV.
Nigerian example: Like installing a new generator.
Steps:
Illustration:
Download GeoServer
|
V
Install Java
|
V
Unzip File
|
V
Run Startup Script
|
V
GeoServer Running! 🎉
Mini summary: Installing GeoServer is easy. Download, unzip, and run the startup script.
Definition: Starting GeoServer means running the program. Logging in means entering your username and password.
Why it is important: You need to log in to manage your data.
Simple explanation: You open your web browser. You type the GeoServer address. You enter the default username and password.
Real-life example: Like logging into your email.
School example: Like logging into the school portal.
Home example: Like unlocking your phone.
Nigerian example: Like entering your PIN at the ATM.
Steps:
http://localhost:8080/geoserver.admin.geoserver.Illustration:
Open Browser
|
V
Go to localhost:8080/geoserver
|
V
Enter username & password
|
V
Logged In! 🎉
Mini summary: Starting GeoServer is easy. Log in with the default username and password.
Definition: The interface is what you see on the screen. It has menus and buttons.
Why it is important: You need to know where things are.
Simple explanation: The main areas are Workspaces, Stores, Layers, and Layer Groups.
Real-life example: Like finding your way around a new market.
School example: Like knowing where the library, classrooms, and cafeteria are.
Home example: Like knowing where the kitchen, bedroom, and bathroom are.
Nigerian example: Like knowing where the market, church, and school are in your town.
Illustration:
+---------------------+ | GEOSERVER | | [📁] Workspaces | | [🗄️] Stores | | [🗺️] Layers | | [📚] Layer Groups | +---------------------+
Mini summary: The interface has four main areas: Workspaces, Stores, Layers, and Layer Groups.
Definition: A workspace is a container for your data. It keeps things organised.
Why it is important: Workspaces prevent confusion. You can have one workspace for water data and another for road data.
Simple explanation: A workspace is like a folder on your computer. You put related files inside.
Real-life example: A school has different classrooms for different subjects.
School example: Your exercise books are separated by subject.
Home example: Your kitchen has different shelves for different items.
Nigerian example: A market has different sections for vegetables, meat, and fabric.
Illustration:
Workspace: "WaterData"
|
V
+---------------------+
| Stores: GeoJSON |
| Layers: Taps |
+---------------------+
Mini summary: A workspace is a container. It keeps related data together.
Definition: Creating a workspace means making a new container for your data.
Why it is important: You need at least one workspace to publish data.
Simple explanation: You click “Workspaces”. You click “Add new workspace”. You enter a name and a URL. You click “Submit”.
Real-life example: Like creating a new folder on your computer.
School example: Like getting a new exercise book for a new subject.
Home example: Like getting a new box for your shoes.
Nigerian example: Like opening a new stall in the market.
Steps:
Illustration:
Click "Workspaces"
|
V
Click "Add new workspace"
|
V
Enter Name & URL
|
V
Click "Submit"
|
V
Workspace Created! 🎉
Mini summary: Creating a workspace is easy. Click “Add new workspace” and fill in the details.
Definition: A data store is a connection to your data. It tells GeoServer where to find your files.
Why it is important: GeoServer needs to know where your data is.
Simple explanation: A data store is like a bridge between GeoServer and your data file.
Real-life example: A library catalogue tells you where to find a book.
School example: A class timetable tells you where each class is.
Home example: A recipe tells you where to find ingredients.
Nigerian example: A bus route tells you how to get to your destination.
Illustration:
GeoServer
|
V
Data Store
|
V
Your Data File
Mini summary: A data store connects GeoServer to your data. It tells GeoServer where to look.
Definition: Creating a data store means telling GeoServer where your GeoJSON file is.
Why it is important: Without a data store, GeoServer cannot find your data.
Simple explanation: You click “Stores”. You click “Add new store”. You choose “GeoJSON”. You give it a name. You point to the file. You click “Submit”.
Real-life example: Like telling a taxi driver your address.
School example: Like telling a new student where the library is.
Home example: Like telling a visitor where the bathroom is.
Nigerian example: Like giving directions to your house.
Steps:
Illustration:
Click "Stores"
|
V
Click "Add new store"
|
V
Choose "GeoJSON"
|
V
Enter Name & File Path
|
V
Click "Submit"
|
V
Data Store Created! 🎉
Mini summary: Creating a data store tells GeoServer where your GeoJSON file is.
Definition: Publishing a layer means making your data available as a map layer.
Why it is important: Only published layers can be shown on a map.
Simple explanation: After creating a data store, GeoServer shows a list of layers. You click “Publish” next to the layer you want. You confirm the settings. You click “Save”.
Real-life example: Like publishing a book. Until it is published, nobody can read it.
School example: Like submitting your homework. Until you submit, the teacher cannot see it.
Home example: Like putting a photo in a frame and hanging it on the wall.
Nigerian example: Like putting your goods on display in the market.
Steps:
Illustration:
Data Store Created
|
V
List of Layers Shown
|
V
Click "Publish"
|
V
Check Settings
|
V
Click "Save"
|
V
Layer Published! 🎉
Mini summary: Publishing a layer makes your data available as a map layer.
Definition: Previewing means looking at your layer before sharing it.
Why it is important: You need to check that your map looks correct.
Simple explanation: You click “Layer Preview”. You find your layer. You click “OpenLayers”. A map opens in a new tab.
Real-life example: Like trying on clothes before buying them.
School example: Like practising a presentation before presenting.
Home example: Like tasting food before serving.
Nigerian example: Like testing a new recipe before cooking for guests.
Steps:
Illustration:
Click "Layer Preview"
|
V
Find Your Layer
|
V
Click "OpenLayers"
|
V
Map Opens!
|
V
Check Your Data
Mini summary: Previewing lets you see your layer before sharing it. Always check your map.
Definition: WMS and WFS are two ways to share map data.
Why it is important: Different tools need different services.
Simple explanation: WMS gives you a picture of the map. WFS gives you the actual data (points, lines, shapes).
Real-life example: WMS is like a printed map. WFS is like a box of map pieces.
School example: WMS is like a finished drawing. WFS is like the pencil and paper to make your own drawing.
Home example: WMS is like a cooked meal. WFS is like the raw ingredients.
Nigerian example: WMS is like a finished dress. WFS is like the fabric and thread.
Table: WMS vs WFS
| Feature | WMS | WFS |
|---|---|---|
| Gives you | A picture (image) | Data (points, lines, shapes) |
| Can you style it? | No, it comes ready-made | Yes, you can style it yourself |
| Best for | Showing maps quickly | Analysing data |
Mini summary: WMS gives pictures. WFS gives data. Both are useful.
Definition: QGIS is a free tool for viewing and editing maps.
Why it is important: QGIS lets you test your GeoServer layer from another tool.
Simple explanation: You open QGIS. You click “Add WMS/WFS Layer”. You enter the GeoServer URL. You connect. You choose your layer. You add it to the map.
Real-life example: Like checking if a website works on different browsers.
School example: Like checking if your homework is readable on a friend’s computer.
Home example: Like checking if a radio station comes through on another radio.
Nigerian example: Like checking if your phone works on another network.
Steps:
http://localhost:8080/geoserver/wms.Illustration:
Open QGIS
|
V
Add WMS/WFS Layer
|
V
Enter GeoServer URL
|
V
Connect
|
V
Choose Layer
|
V
Layer Appears! 🎉
Mini summary: QGIS lets you test your GeoServer layer. It is a good way to check your work.
Definition: A layer group is a set of layers that are shown together.
Why it is important: Layer groups make it easier to manage many layers.
Simple explanation: You create a group. You add layers to it. Then you can turn the whole group on or off.
Real-life example: A TV remote has a “power” button that turns everything off at once.
School example: A teacher can give the whole class a score at once.
Home example: A light switch can turn on all the lights in a room.
Nigerian example: A market leader can speak to all traders at once.
Illustration:
Layer Group: "Water"
|
V
+---------------------+
| Layer: Taps |
| Layer: Boreholes |
| Layer: Wells |
+---------------------+
Mini summary: Layer groups keep related layers together. They make management easier.
Definition: These are mistakes beginners often make.
Why it is important: Knowing them helps you avoid them.
Simple explanation: Here are some mistakes to watch out for.
List of mistakes:
Illustration:
Bad Practice Good Practice +----------------+ +----------------+ | No workspace | | Workspace first| | Wrong file path| | Correct path | | No preview | | Always preview | +----------------+ +----------------+
Mini summary: Avoid common mistakes. Create workspace first. Check your file path. Always preview.
Definition: You will now combine everything you learned.
Why it is important: A published map is the goal of GeoServer.
Simple explanation: Start with your GeoJSON file. Create a workspace. Create a data store. Publish a layer. Preview it. Test it in QGIS.
Real-life example: A water tap map is published and shared with the village council.
School example: A school campus map is published on the school website.
Home example: A family map of favourite places is shared with relatives.
Nigerian example: A map of health clinics in a state is published for the community.
Illustration:
GeoJSON File
|
V
Create Workspace
|
V
Create Data Store
|
V
Publish Layer
|
V
Preview
|
V
Test in QGIS
|
V
Share with the World! 🎉
Mini summary: You can now publish your data as a map. You are a map publisher!
| Word | Simple Definition |
|---|---|
| GeoServer | A free tool for sharing maps on the internet. |
| Workspace | A container for your data. |
| Data store | A connection to your data. |
| Layer | A map layer that can be shown on a map. |
| Publish | Making a layer available on the map. |
| Preview | Looking at a layer before sharing. |
| WMS | A service that gives map pictures. |
| WFS | A service that gives map data. |
| Layer group | A set of layers shown together. |
| QGIS | A free tool for viewing and editing maps. |
| GeoJSON | A file format for map data. |
| Bounding box | The area covered by your data. |
Install GeoServer
|
V
Start & Login
|
V
Create Workspace
|
V
Create Data Store
|
V
Publish Layer
|
V
Preview
|
V
Test in QGIS
|
V
Share! 🎉
Module 1: Learn about data Module 2: Design a form Module 3: Collect and manage data Module 4: Publish with GeoServer Module 5: Share with the world
| Component | What it does |
|---|---|
| Workspace | Container for data |
| Data Store | Connection to data |
| Layer | Map layer |
| Layer Group | Set of layers |
| WMS | Gives map pictures |
| WFS | Gives map data |
| Feature | WMS | WFS |
|---|---|---|
| Gives you | A picture (image) | Data (points, lines, shapes) |
| Can you style it? | No | Yes |
| Best for | Showing maps quickly | Analysing data |
Lesson 1: GeoServer turns data into map services.
Lesson 2: Installing GeoServer is easy. Download, unzip, and run.
Lesson 3: Starting GeoServer is easy. Log in with default credentials.
Lesson 4: The interface has Workspaces, Stores, Layers, and Layer Groups.
Lesson 5: A workspace is a container for your data.
Lesson 6: Creating a workspace is easy. Click “Add new workspace”.
Lesson 7: A data store connects GeoServer to your data.
Lesson 8: Creating a data store tells GeoServer where your GeoJSON file is.
Lesson 9: Publishing a layer makes your data available as a map.
Lesson 10: Previewing lets you see your layer before sharing.
Lesson 11: WMS gives pictures. WFS gives data.
Lesson 12: QGIS lets you test your GeoServer layer.
Lesson 13: Layer groups keep related layers together.
Lesson 14: Avoid common mistakes. Create workspace first. Check your file path.
Lesson 15: You can now publish your data as a map.
In this module, you learned how to publish your data as a map using GeoServer. You installed GeoServer and logged in. You learned about workspaces, data stores, layers, and layer groups. You created a workspace and a data store for your GeoJSON file. You published a layer and previewed it. You learned the difference between WMS and WFS. You tested your layer in QGIS. You also learned to avoid common mistakes. Your data is now a live map service. In the next module, you will learn how to style your map and integrate it into a website.
Match the word to its meaning.
| Word | Meaning |
|---|---|
| 1. Workspace | A. A connection to your data |
| 2. Data Store | B. A container for your data |
| 3. Layer | C. A service that gives map pictures |
| 4. WMS | D. A map layer |
| 5. QGIS | E. A free tool for viewing maps |
Answers: 1-B, 2-A, 3-D, 4-C, 5-E
Title: Publish a Group Map
Instructions: In groups of 3, take a GeoJSON file (from Module Three). Install GeoServer together. Create a workspace and a data store. Publish the layer. Preview it. Present your map to the class.
Title: Publish Your Own Data
Instructions: Install GeoServer on your computer. Create a workspace called “my_data”. Create a data store for your GeoJSON file. Publish the layer. Preview it. Take a screenshot of your map. Write down what you see.
Title: A Complete GeoServer Publication
Instructions: Take the data you collected in Module Three. Export it as GeoJSON. Install GeoServer. Create a workspace and a data store. Publish the layer. Preview it. Test it in QGIS. Write a short report about your map, including what data it shows and where it is located.
Task: Write a short paragraph (5 sentences) explaining what you learned about GeoServer. Then, list three things you found easy and one thing you found hard. Finally, describe the map you published and what data it shows.
In Module Five, we will learn about style configuration and web integration. You will make your map beautiful with colours and symbols. You will embed your map in a website. You will share it with the world. To get ready, make sure you:
See you in Module Five! 🚀
End of Module Four · Certified GeoServer/KoboToolbox User