Skip to content

Shtille/earth-tileserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Earth Tile Server

FOSSA Status

Earth Tile Server is the tile server made for Earth WebGL. It parses GET requests for coordinates and generates images (tiles) for response.

Dependencies

Building

  1. Install all dependencies.
  2. Build via make command.

Running

There are two possible run options.

When file directory is not set

When file root directory is not set, any request is treated as tile request.

When file directory is set

When file root directory is set, only requests /tile are treated as tile requests. Rest requests are treated as file requests, and tile application acts like web server.

Deploying

Install

To install sources on Ubuntu 18.04 use following script:

sudo apt update
sudo apt install git
sudo apt install gcc
sudo apt install libcurl4-openssl-dev
sudo apt install libmicrohttpd-dev
PATH=/usr/include/x86_64-linux-gnu:$PATH
mkdir dev
cd dev
git clone https://github.com/Shtille/earth-tileserver.git earth-tileserver
cd earth-tileserver
git submodule init
git submodule update
make

Run binary

To run the binary earth-tileserver.app use following script with chosen port number to listen:

cd bin
./earth-tileserver.app --port %PORT%

To run in link with Earth WebGL just specify the site file root directory:

cd bin
./earth-tileserver.app --port %PORT% --root %PATH_TO_EARTH_WEBGL%

Testing

Use test.html as test browser page for tiles loading.

License

Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).

FOSSA Status

Bug Reporting

Please log bugs under Issues on github.

Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A tile server for Earth WebGL.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors