Permalink
Commits on Mar 22, 2016
  1. Merge pull request #5 from spatialhast/patch-1

    add installation and command line information
    pauricthelodger committed Mar 22, 2016
Commits on Oct 23, 2015
  1. Bump version to 1.3.0

    mghughes committed Oct 23, 2015
  2. renderers.py: Fix default optimization behaviour for PngRenderer

    Expected behaviour was no optipng optimization
    (optimization=False), but a bug caused the default
    to be int(False) == 0, which caused optipng to be
    run with optimization level 0 by default in the
    `render` method.
    mghughes committed Oct 23, 2015
Commits on May 11, 2015
  1. gdal.py: Fix Spatial Reference comparisons.

    Maxime Dupuis committed May 11, 2015
  2. main.py: Style fixes

    Maxime Dupuis committed May 11, 2015
Commits on Feb 19, 2015
  1. gdal.py: Properly deal with Web Mercator equivalent projections

    There are a whole bunch of equivalent projection to EPSG:3857. Let OSR deal
    with them.
    Maxime Dupuis committed Feb 19, 2015
  2. Bumped version to 1.2.0

    Maxime Dupuis committed Feb 19, 2015
Commits on Dec 16, 2014
  1. Added tag version-1.2.0 for changeset 2f00ad4ab2ec

    Maxime Dupuis committed Dec 16, 2014
  2. Added tag version-1.2.0 for changeset 69d8b7d7c0c9

    Maxime Dupuis committed Dec 16, 2014
  3. gdal.py: VRT.render() now uses BIGTIFF=IF_SAFER.

    If the uncompressed size of the GeoTIFF is bigger than 2GB, GDAL will create
    a BigTIFF.
    Maxime Dupuis committed Dec 16, 2014
  4. Style fixes all around.

    Maxime Dupuis committed Dec 16, 2014
Commits on Jan 29, 2014
  1. gdal.py: Datasets deal with ESRI Web Mercator projections properly.

    If the Dataset's projection isn't recognisable by OSR, try to determine its
    EPSG code, try to identify an equivalent ESRI code instead. If it succeeds,
    the SpatialReference returned will be based on a EPSG one.
    Maxime Dupuis committed Jan 29, 2014
Commits on Jan 13, 2014
  1. gdal.py: Deal with ESRI Web Mercator projections properly.

    Added two ESRI WKID in the constants file along with their equivalent EPSG
    code.
    Maxime Dupuis committed Jan 13, 2014
Commits on Jan 8, 2014
  1. gdal.py: Fix a tile alignment problem.

    Some times, when upscaling and slicing a partial world, the bottom TMS extents,
    which is used to determine the Y position of tiles, would be wrongfully
    rounded down, thus rendering the tiles exactly 1 tile downward from where
    they should be on the map.
    
    Rounding the calculations of the TMS extents before converting the floating
    point values into integers fixes the problem.
    Maxime Dupuis committed Jan 8, 2014
Commits on Nov 26, 2013
  1. gdal.py: For EPSG:3857, cancel the flattening to properly align verti…

    …cally.
    Maxime Dupuis committed Nov 26, 2013
  2. Change default projection from EPSG:3785 to EPSG:3857.

    EPSG:3857 is understood by Proj4 and thus understood by GDAL. It is also the
    projection that is used in most web apps, such as Google Maps or Microsoft
    Bing. Having the default to EPSG:3785 is not good.
    Maxime Dupuis committed Nov 26, 2013
Commits on May 29, 2013
  1. Version 1.1.0

    sfllaw committed May 29, 2013
Commits on Apr 9, 2013
  1. vips.py: Verifying width and height of the upsampled image against an…

    … epsilon
    
    We might have to deal with floating point errors when computing the new
    width and height of the upsampled image. Using an epsilon makes sure that we're
    within an acceptable integer range.
    
    After verifying that, we round the resulting width and height, and int() them
    before continuing normally.
    Maxime Dupuis committed Apr 9, 2013
  2. renderers.py: Encode the output file names.

    Vips doesn't like to receive unicode strings, so we encode the temporary file
    names when rendering the tiles.
    Maxime Dupuis committed Apr 9, 2013
Commits on Mar 26, 2013
  1. test_scripts.py: Use gdal2mbtiles/main.py for testing script execution

    Since we removed scripts/gdal2mbtiles, we need something to run
    against before we install the console entry point.
    sfllaw committed Mar 26, 2013
Commits on Jan 10, 2013
  1. Remove scripts/gdal2mbtiles as the entry point is defined by setup.py

    Also, configure logging by default.
    Maxime Dupuis committed Jan 10, 2013
Commits on Dec 20, 2012
  1. vips.py: Proper band sizes, copy buffers in ReadAsArray to prevent co…

    …rruption
    
    The band's X and Y size was not referring to the dataset, so if you got a
    handle on the band and then scaled the dataset, the X and Y sizes were not
    changed and were thus wrong. Always report the X and Y sizes from the dataset.
    
    There was a bug in the band and dataset ReadAsArray methods where if you tried
    to read from the buffer, the values could be modified because the ndarray
    returned was referring to the direct buffer in memory. Copying the buffer
    before returning the ndarray is the correct thing to do.
    Maxime Dupuis committed Dec 20, 2012
Commits on Dec 14, 2012
  1. Package gdal2mbtiles

    sfllaw committed Dec 14, 2012