Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usable as a library? #71

Closed
StyXman opened this issue May 10, 2016 · 2 comments
Closed

Usable as a library? #71

StyXman opened this issue May 10, 2016 · 2 comments

Comments

@StyXman
Copy link

StyXman commented May 10, 2016

I would like to use this code as a Python module to enable MBTiles writing to a tool I use to render tilesets. The problem is that some parts of the module (all inside the mbutil directory) is assuming it's only part of the mb-util script. For instance:

https://github.com/mapbox/mbutil/blob/master/mbutil/util.py#L41

This should be handled in the util's code. Probably others are to follow.

On the other hand, there are no functions to be able to read/write individual tiles, which could be refactored from the current code.

I plan to start a PR soon, but I would like to hear your opinions on this.

@tmcw
Copy link
Contributor

tmcw commented Nov 27, 2016

Happy to accept a PR implementing a change that would make this usable as a library!

@tmcw
Copy link
Contributor

tmcw commented Jan 24, 2017

Closing; happy to accept a PR.

@tmcw tmcw closed this as completed Jan 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants