Comments (6)
Thanks, what ended up working in the end was cloning and running setup.py on the master branch for each of these (in this order)
- tilserver,
- mapbox-vector-tile,
- tilequeue
from tileserver.
Looks like it's expecting a new version of mapbox-vector-tile. Can you try using mapbox-vector-tile 0.3.0?
from tileserver.
I'm explicitly installing map box vector tile via pip, which uses version 0.3.0, and still seem to be getting the error.
Here are my build steps:
sudo apt-get update \
&& apt-get install -y git build-essential autoconf libtool pig-config \
python-dev python-virtualenv libgeos-dev libpq-dev python-pip python-pil \
libmapnik3.0 libmapnik-dev mapnik-utils python-mapnik
# avoids an errors when running requirements.txt
pip install pip --upgrade
pip install python-dateutil
pip install mapbox-vector-tile
git clone https://github.com/tilezen/tileserver.git
cd /tileserver
git checkout tags/v0.6.1
pip install -U -r requirements.txt
python setup.py develop
from tileserver.
It seems that setup.py
installs mapbox-vector-tile v0.0.11
.
If I upgrade mapbox-vector-tile
after running setup.py then it upgrades the following:
Collecting mapbox-vector-tile
Downloading mapbox-vector-tile-0.3.0.tar.gz
Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages (from mapbox-vector-tile)
Collecting protobuf (from mapbox-vector-tile)
Downloading protobuf-2.6.1.tar.gz (188kB)
Collecting shapely (from mapbox-vector-tile)
Downloading Shapely-1.5.16.tar.gz (180kB)
Collecting future (from mapbox-vector-tile)
Downloading future-0.15.2.tar.gz (1.6MB)
Building wheels for collected packages: mapbox-vector-tile, protobuf, shapely, future
Running setup.py bdist_wheel for mapbox-vector-tile: started
Running setup.py bdist_wheel for mapbox-vector-tile: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/1b/34/56/288168c0f92ca9eb2945495ea57227963d358f08980bd6714c
Running setup.py bdist_wheel for protobuf: started
Running setup.py bdist_wheel for protobuf: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/c9/97/49/1bf6b7b58d0adec650bcb625b6656877437d1f7d18c32e88ee
Running setup.py bdist_wheel for shapely: started
Running setup.py bdist_wheel for shapely: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/c8/d4/e8/59d227c699be1c99199bff376d98b363c0099cd43697b0d644
Running setup.py bdist_wheel for future: started
Running setup.py bdist_wheel for future: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/11/c5/d2/ad287de27d0f0d646f119dcffb921f4e63df128f28ab0a1bda
Successfully built mapbox-vector-tile protobuf shapely future
Installing collected packages: protobuf, shapely, future, mapbox-vector-tile
Found existing installation: protobuf 2.6.0
Uninstalling protobuf-2.6.0:
Successfully uninstalled protobuf-2.6.0
Found existing installation: Shapely 1.4.3
Uninstalling Shapely-1.4.3:
Successfully uninstalled Shapely-1.4.3
Found existing installation: mapbox-vector-tile 0.0.11
Uninstalling mapbox-vector-tile-0.0.11:
Successfully uninstalled mapbox-vector-tile-0.0.11
Successfully installed future-0.15.2 mapbox-vector-tile-0.3.0 protobuf-2.6.1 shapely-1.5.16
However, the error still occurs.
from tileserver.
Sorry, I was too hasty in my response. Seems like that function doesn't actually exist in that tag. Can you try mapbox-vector-tile master?
If that works for you and you'd prefer to point to a tag, I can push out what's currently on master to a new 0.4.0 release.
from tileserver.
Great! Glad to hear it works for you and sorry for the confusion. Let us know if you want us to release a new tag.
from tileserver.
Related Issues (20)
- ImportError: No module named tileserver.cache HOT 2
- custom layers in postgis HOT 9
- ImportError: No module named meta.python HOT 11
- psycopg2.ProgrammingError HOT 15
- Performance question HOT 3
- Tileserver is not accepting remote connections HOT 1
- Error with python setup.py develop, install directory is hard-coded (or sudo is required) HOT 3
- ImportError: cannot import name DataFetcher in v2.1.0, wrong tilequeue version in requirements HOT 10
- Cat readme into setup.py long description HOT 4
- pip intall error HOT 2
- pip install fails HOT 2
- Provide binary via pip. HOT 2
- AssertionError: Missing min_zoom in layer water
- Not seeing any output through tileserver appears to be running. Any advice? HOT 2
- My Server seems very slow in serving tiles,pls explain how to add tilequeue for buffering HOT 6
- CORS problem due to missing min_zoom in layer water HOT 3
- Question about scaling HOT 11
- syntax error HOT 1
- Writing to cache/store after generation HOT 4
- Redis caching problem on last config file HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tileserver.