vss-devel / tilers-tools Goto Github PK
View Code? Open in Web Editor NEWA few tools to create raster tile sets from digital maps and convert between tile set formats
A few tools to create raster tile sets from digital maps and convert between tile set formats
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
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
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.