Giter Site home page Giter Site logo

invar's Introduction

invar

Command line tools for generating map images from Mapnik configuration and uploading them to S3.

invar is named after a metal alloy frequently used in leveling rods and survey tapes.

invar's People

Contributors

joegermuska avatar onyxfish avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

invar's Issues

s3 upload only coming through in waves

e6I9Z

You can see what I'm talking about here. And this is from a insanely fast connection at the LA Times.

Am I nuts to think that it could somehow be tuned so that it feeds things up more steadily?

JoinableQueue object is not iterable

Anyone know how to fix this when running ivframe?

File "/usr/lib/python2.6/multiprocessing/process.py", line 232, in _bootstrap
self.run()
File "/usr/local/lib/python2.6/dist-packages/invar/renderer.py", line 38, in run
for tile_queue in self.tile_queues:
TypeError: 'JoinableQueue' object is not iterable

Python issues

I am totally not an expert on this, but I had trouble getting ivs3 to run until I changed the top line from:

!#/usr/bin/python

to:

!#/usr/bin/env python

Not sure if anyone else has had that issue.

If that's a thing, same is also true in ivframe and ivtile

changeable queue size

Depending on the job size having an adjustable queue is useful for larger batch renders where you need more than just 20,000 tiles. Being able to adjust the size on the cli sazes the time from having to edit the file on your system.

I just added a param that allowed for setting the queue size, you find can find an example of it below. I would just do a pull request but you have made so many changes today it would run into merge conflicts.
https://github.com/sessionm/invar/blob/b616f84ade97c74f67d66fa89c34e79195d63b23/ivtile

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.