Comments (14)
If anyone wants to figure this out on their own, we're offering a $1,000 bounty for it.
Edit: Solved.
@jakehewitt Can you tell how you soled it?
from tileserver-gl.
I have been working on trying to get arm support in my maplibre-native fork and made a test tileserver-gl arm64 with it includes it. would anyone here be willing to test?
wifidb/tileserver-gl:v5.0.4
https://hub.docker.com/r/wifidb/tileserver-gl/tags
I am trying to get my changes upstream to maplibre so they can be used here, but that is still a work in progress.
maplibre/maplibre-native#535
maplibre/maplibre-native#520
from tileserver-gl.
If anyone wants to figure this out on their own, we're offering a $1,000 bounty for it.
Edit: Solved.
from tileserver-gl.
As a followup, when I try to install via npm I get this:
npm ERR! Linux 4.4.13-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--unsafe-perm" "-g" "tileserver-gl"
npm ERR! node v6.5.0
npm ERR! npm v3.10.3
npm ERR! path /usr/lib/node_modules/.staging/abbrev-4786dede
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/lib/node_modules/.staging/abbrev-4786dede' -> '/usr/lib/node_modules/tileserver-gl/node_modules /abbrev'
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/lib/node_modules/.staging/abbrev-4786dede' -> '/usr/lib/node_modules/tileserver-gl/node_modules /abbrev'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /home/sysop/vectortiles/npm-debug.log
npm ERR! code 1
I have to run it using the --unsafe-perm flag because otherwise npm appears to have root permissions issues. This is a documented issue with npm.
Kind of at a loss here, not sure why I can't get this working. FWIW, I'm doing this on a Raspberry Pi 3.
from tileserver-gl.
Running full version of tileserver-gl on ARM is not supported at the moment.
It requires native dependencies, which are not easy to compile on ARM. So, AFAIK, it's not possible to create the compatible docker image either.
But! You should be able to run the tileserver-gl-light
which has no native dependencies (see http://tileserver.readthedocs.io/en/latest/installation.html#tileserver-gl-light-on-npm).
from tileserver-gl.
I am looking to use the vector rasterization process, so tileserver-gl-light would not be appropriate for that. I am building a standalone device and need to store world-wide map detail and serve it to myself. Any other suggestions?
from tileserver-gl.
@RedFiveAZ If you need the rasterization, then you must install the full version with all dependencies - so the light version will not help you.
You have to take one binary library after another from npm - and ensure every single one does compile correctly on ARM platform and can be properly installed. As this project is 100% open-source it is technically possible - but you must put a non-trivial effort into the task.
First step is direct native installation with npm. Docker container specific for ARM platform could be created from npm trivially, once direct installation runs.
@klokantech team is not going to work on this unless there is a client who requires this explicitly. Feel free to jump on this task - and provide a pull request. We would be glad to review.
from tileserver-gl.
I've also the same error, running on osgeo (ubuntu) and also with --unsafe-perm flag = true
npm ERR! Linux 4.4.0-31-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "tileserver-gl"
npm ERR! node v6.9.2
npm ERR! npm v3.10.9
npm ERR! path /usr/lib/node_modules/.staging/abbrev-4786dede
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/lib/node_modules/.staging/abbrev-4786dede' -> '/usr/lib/node_modules/tileserver-gl/node_modules/abbrev'
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/lib/node_modules/.staging/abbrev-4786dede' -> '/usr/lib/node_modules/tileserver-gl/node_modules/abbrev'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /root/npm-debug.log
npm ERR! code 1
from tileserver-gl.
@petrsloup Can we reopen this issue? This is still a valid request.
from tileserver-gl.
Still having issues with arm, has this really been solved?
from tileserver-gl.
Until we get the official ARM release for "tileserver-gl" on the docker
I have tested the following workaround on Raspbian (arm64) and it is working fine.
sudo docker run --privileged --rm tonistiigi/binfmt --install amd64
sudo docker run --rm -it -v $(pwd):/data -p 8080:80 --platform linux/amd64 maptiler/tileserver-gl
PS: I know it is not an optimal solution.
from tileserver-gl.
Works on arm64 @acalcutt!
from tileserver-gl.
In theory, arm64 support should now be included in maptiler/tileserver-gl:v4.3.2 . Can anyone still interested in this give it a test.
from tileserver-gl.
Working well on arm64 for new releases.
from tileserver-gl.
Related Issues (20)
- Latest arm64 Docker Image is broken HOT 15
- Tiles not rendering at certain zoom levels HOT 3
- Tileserver crashes/throws error in tile mode for certain pbf HOT 6
- broken docker image maptiler/tileserver-gl-light:v4.6.3 HOT 7
- Crashing tileserver-gl worker (docker, kernel trap) HOT 10
- firefox warning NS_BINDING_ABORTED in web developer tools network tab HOT 2
- Unit test cases for maptiler tileserver HOT 1
- min/maxRendererPoolSizes in config have no effect HOT 8
- Multiple mbtiles serving on tileserver-gl HOT 1
- maptiler-server & nginx proxy to a URL with sub-folder HOT 3
- Texts are cut off in raster maps and static maps HOT 5
- maxScaleFactor @4x and more does not work HOT 3
- Maptiler retaining Renderer after each process.
- Question about cache. Fast loading of tiles. HOT 1
- MBtiles data with static png images lead to erroneous URLs in index.json HOT 3
- Unhandled exception when pmtiles is used and GeoJSON is requested HOT 5
- Provided Tilejson file's "tiles" attribute uses "HTTP" instead of "HTTPS" HOT 3
- Add cache bust feature
- style paths with (null) in sources
- Serving multiple maps (.MBTiles) in th same server. HOT 2
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-gl.