org.geotools.tpk.TPKBundle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gt-tpk Show documentation
Show all versions of gt-tpk Show documentation
TPK File support for GeoTools.
The newest version!
/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2019, Open Source Geospatial Foundation (OSGeo)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;
* version 2.1 of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
*/
package org.geotools.tpk;
import java.io.IOException;
import java.io.InputStream;
import java.util.Map;
import java.util.function.Supplier;
import java.util.logging.Logger;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
/**
* A zoom level consists of 1 or more bundles A bundle is physically always 128 columns by 128 rows
* but may be "logically" smaller (ie it doesn't necessarily have data for each row/column)
*/
public class TPKBundle {
// when we need to access the TPKFile/specific files within we use these
// provider functions
private Supplier TPKFile;
private Supplier
© 2015 - 2024 Weber Informatics LLC | Privacy Policy