Skip to content

serialphotog/mTiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mTiler - A Map Tiling Utility

The goal of mTiler is to develop a utility application that can merge map tiles generated by various other mapping applications.

mTiler Screenshot

The Problem

To understand what I'm trying to achieve with this utility, let's look at an example. mTiler works on a project directory similar to the following:

|--RRG Whole (EXPORT)_F4_atlas
|--|--14
|--|--|--4379
|--|--|--|--6332
|--|--|--|--6333
|--|--|--|--6334
|--|--|--|--6335
|--|--|--4380
|--|--|--|--6332
|--|--|--|--6333
|--|--|--|--6334
|--|--|--|--6335
|--|--|--[...]
|--|--[...]
|--RRG Whole (EXPORT)_F5_atlas
|--|--[...]
|--|--|--[...]
|--[...]

The first level of directories (E.G. 'RRG Whole (EXPORT)_F4_atlas') are the atlas project directories. Within these directories are various directories representing different zoom levels on a map (E.G. 14, 17, etc.). Within the zoom level directories are the map regions (E.G. 4379, 4380, etc.). Finally, within each map region are the tiles for that region (E.G. 6332, 6333, etc.).

The vast majority of these tiles contain incomplete data. For example:

Example of incomplete map tile

The purpose of this app is to compare the tiles from the map regions across all of the atlas project to align them and create a new tile with all of the missing data filled in.

Usage

mTiler is designed to be extremely easy to use. Simply set the input path to point to the raw tiles that need to be merged and the output path to be the directory you want the resulting, merged tiles to be written to. Once this is done, simply hit the Start button and let mTiler do its thing!

NOTE: I recommend making your output directory seperate from the input directory, though it isn't necessary.It'll simply keep things cleaner ;)

License

Copyright 2018 Adam Thompson

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

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.