Skip to content

A nginx module to serve map tiles directly from mbtiles container files

License

Notifications You must be signed in to change notification settings

pace/ngx_http_mbtiles_module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

A nginx module to serve map tiles directly from mbtiles container files.

Nginx configuration example

  • mbtiles_file - points to the mbtiles file
  location ~ ^/(.*?)/(.*?)/(.*?)/(.*?)$ {
      mbtiles_file "$document_root/$1.mbtiles";
      mbtiles_zoom "$2";
      mbtiles_column "$3";
      mbtiles_row "$4";
  }

Installation

Prerequisits

You need to have a sqlite3-dev package installed. On Ubuntu or Debian you can install it using:

apt-get install libsqlite3-dev

About

A nginx module to serve map tiles directly from mbtiles container files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages