Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Expert GeoServer

You're reading from   Expert GeoServer Build and secure advanced interfaces and interactive maps

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher Packt
ISBN-13 9781789538601
Length 134 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Ben Mearns Ben Mearns
Author Profile Icon Ben Mearns
Ben Mearns
Arrow right icon
View More author details
Toc

Using the tile cache

In the previous section, you learned how to create a tile-backed app using OpenLayers. In this section, we'll take a deeper dive into using the tile cache. We'll start by viewing the app we created in the last section in the browser. Next, we'll send a request for a tile generated by the app, but this time with the command-line utility curl. Finally, you'll learn about seeding and rendering the tile cache.

Here is the OpenLayers app that we created in the previous section:

We'll use Developer tools from the browser again to see a URL for a particular tile, and then see what that looks like in curl. You can see we have tile requests here to OpenStreetMap, and also to our GeoServer instance:

I'll just grab one of these link addresses, URLs, and then, moving over into the command line, if we already have curl installed, we can...

You have been reading a chapter from
Expert GeoServer
Published in: Jul 2018
Publisher: Packt
ISBN-13: 9781789538601
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime