Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Libraries

    landez 2.0.0

    Download button

    No screenshots available
    Downloads: 187  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Mathieu Leplatre | More programs
    LGPL / FREE
    May 27th, 2012, 07:58 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    landez description

    Build a MBTiles file from a tiles server or a Mapnik stylesheet

    landez is a module that builds MBTiles files either from a remote tile service URL or from a local Mapnik stylesheet.

    The land covered is specified using a list of bounding boxes and zoom levels.

    It uses mbutil from Mapbox https://github.com/mapbox/mbutil at the final stage to build the MBTiles file.

    INSTALL

    Landez requires nothing but python remote mode (specifying a tiles URL), but requires mapnik if the tiles are drawn locally.

    sudo aptitude install python-mapnik

    USAGE

    Remote tiles

    Using a remote tile service (Cloudmade by default):

    import logging
    from landez import MBTilesBuilder

    logging.basicConfig(level=logging.DEBUG)

    mb = MBTilesBuilder(remote=True, cache=False)
    mb.add_coverage(bbox=(-90.0, -180.0, 180.0, 90.0),
     zoomlevels=[0, 1])
    mb.run()


    Please respect Tile usage policies < http://wiki.openstreetmap.org/wiki/Tile_usage_policy >

    Local rendering

    Using mapnik to render tiles:

    import logging
    from landez import MBTilesBuilder

    logging.basicConfig(level=logging.DEBUG)

    mb = MBTilesBuilder(stylefile="yourstyle.xml", filepath="dest.mbtiles")
    mb.add_coverage(bbox=(-90.0, -180.0, 180.0, 90.0),
     zoomlevels=[0, 1])
    mb.run()



    Product's homepage

    Requirements:

    · Python

    What's New in This Release: [ read full changelog ]

    · Rework cache mechanism
    · Jpeg tiles support (#14)
    · Remove use of temporary files
    · Image post-processing (#11)

      


    TAGS:

    Mapnik stylesheet | tile server | MBTiles builder | Mapnik | stylesheet | tile



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM