Skip to content

A nodejs map tile reader for exploded tiles storage format by ESRI ArcGIS

License

Notifications You must be signed in to change notification settings

fuzhenn/tiler-arcgis-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiler-arcgis-file

Circle CI

A map tile reader by XYZ for exploded tiles of ESRI ArcGIS

Introduction

ArcGIS Exploded Tiles is the tile format used by ArcGIS 9.3.1 and before.

This library is a reader for ArcGIS's exploded tiles.

See Also

tiler-file: a nodejs map tile file reader coordinating by X,Y,Z

tiler-arcgis-bundle: a nodejs map tile reader for compact tiles by ESRI ArcGIS 10.0-10.2

Install

npm install tiler-arcgis-file

Usage

var Tiler = require('tiler-arcgis-file');
//root folder of the tiles, where the Conf.xml stands
//png is the extension of the tile file, 
var tiler = new Tiler('/home/foo/arcgis_tiles/','png');
//tile's x,y,z
tiler.getTile(3408, 2417, 2, function(error, tile) {
    if (error) {
        throw error;
    }
    console.log(tile.lastModified);
    fs.writeFileSync('foo.png', tile.data);
});

About

A nodejs map tile reader for exploded tiles storage format by ESRI ArcGIS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published