GithubHelp home page GithubHelp logo

vss-devel / tilers-tools Goto Github PK

View Code? Open in Web Editor NEW
14.0 5.0 6.0 415 KB

A few tools to create raster tile sets from digital maps and convert between tile set formats

Python 87.08% Batchfile 0.18% HTML 12.74%
gdal tilesets pyramid digital-maps bsb-charts

tilers-tools's People

Contributors

vadp avatar vss-devel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

tilers-tools's Issues

Too many values to unpack

I used this script a long time ago and it worked then, but something must have changed, as I have python complaining now:

python tiler.py /Volumes/Three/Documents/Kartes/Vesturiskas/KdWR/KdwR_J11_Lyserort_1917_400dpi.map INFO:root: /Volumes/Three/Documents/Kartes/Vesturiskas/KdWR/KdwR_J11_Lyserort_1917_400dpi.map : Kdwr_j11_lyserort_1917_400dpi.jpg (/Volumes/Three/Documents/Kartes/Vesturiskas/KdWR/KdwR_J11_Lyserort_1917_400dpi.jpg) INFO:root: WGS 84, Latitude/Longitude INFO:root: /Volumes/Three/Documents/Kartes/Vesturiskas/KdWR/KdwR_J11_Lyserort_1917_400dpi.vrt -> /Volumes/Three/Documents/Kartes/Vesturiskas/KdWR/KdwR_J11_Lyserort_1917_400dpi.zyx Traceback (most recent call last): File "tiler.py", line 181, in <module> main(sys.argv) File "tiler.py", line 175, in main parallel_map(process_src, flatten(res)) File "/Users/normis/tilers-tools/tilers_tools/tiler_functions.py", line 97, in parallel_map return map(func, iterable) File "tiler.py", line 66, in process_src prm.generate_tiles() File "/Users/normis/tilers-tools/tilers_tools/tiler_backend.py", line 696, in generate_tiles self.create_target_dataset() File "/Users/normis/tilers-tools/tilers_tools/tiler_backend.py", line 524, in create_target_dataset base_ds = self.create_warped_vrt(top_left_coord, res, size) File "/Users/normis/tilers-tools/tilers_tools/tiler_backend.py", line 545, in create_warped_vrt ok, src_igeotr = gdal.InvGeoTransform(src_geotr) ValueError: too many values to unpack

python --version
Python 2.7.10

Memory problem

I'm tried to build tiles with command tiler.py -z 0,19 maps/global_ortho.vrt -t maps/orthotiles but as result it eat all the memory.

What is the proper way of call tiler.py ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.