Comments (3)
Same question here : I tried to use this style with tileserver-gl-light.
What i did :
- npm install -g tileserver-gl-light
- copy osm-liberty.json to /usr/lib/node_modules/tileserver-gl-light/node_modules/tileserver-gl-styles/styles
- copy all sprites from this repo to /usr/lib/node_modules/tileserver-gl-light/node_modules/tileserver-gl-styles/sprites
When i try osm-liberty I get this error in tileserver-gl-light :
GET /styles/osm-liberty.json 500 38.043 ms - 1151
TypeError: Cannot read property 'replace' of undefined
at fixUrl (/usr/lib/node_modules/tileserver-gl-light/src/serve_style.js:76:17)
at /usr/lib/node_modules/tileserver-gl-light/src/serve_style.js:83:20
at Array.forEach (native)
at /usr/lib/node_modules/tileserver-gl-light/src/serve_style.js:81:37
at Layer.handle [as handle_request] (/usr/lib/node_modules/tileserver-gl-light/node_modules/express/lib/router/layer.js:95:5)
at next (/usr/lib/node_modules/tileserver-gl-light/node_modules/express/lib/router/route.js:131:13)
at Route.dispatch (/usr/lib/node_modules/tileserver-gl-light/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/usr/lib/node_modules/tileserver-gl-light/node_modules/express/lib/router/layer.js:95:5)
at /usr/lib/node_modules/tileserver-gl-light/node_modules/express/lib/router/index.js:277:22
at Function.process_params (/usr/lib/node_modules/tileserver-gl-light/node_modules/express/lib/router/index.js:330:12)
node --version = v6.9.3
I surely did something wrong or miss and important part, but I can't see what's missing
from osm-liberty.
@abenrob One problem you face for sure right now is that you don't have the vector tiles necessary for self hosting. The restyle now depends no longer on OSM2VectorTiles.
OpenMapTiles is the new source https://github.com/openmaptiles/openmaptiles which we will release beginning of next week - and then you can download the necessary vector tiles.
from osm-liberty.
Looking forward to it - thanks for the update!
from osm-liberty.
Related Issues (20)
- One way arrow isn't very clear
- Style also POI subclass? HOT 2
- Styling for other point features besides POI
- Use only size 15 icons HOT 1
- More icons for POI subclass HOT 1
- Error reading style file HOT 5
- Missing POI icons HOT 16
- Maptiler key broken HOT 2
- Vector natural earth tiles? HOT 5
- Wetlands styling HOT 8
- Add script to format and validate the style HOT 4
- Script to catch unnecessary style elements HOT 8
- One way roads HOT 1
- Highway shields HOT 3
- Host fonts in repository HOT 8
- Self hosted offline HOT 5
- Minor roads are over tertiaries HOT 2
- Pitch and tracks are not rendered
- Add rendering for place=quarter HOT 3
- Add building names HOT 3
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 osm-liberty.