Giter VIP home page Giter VIP logo

www.openmaptiles.org's Issues

russian federation too big

I found russian federation under city section of the download page and the size is over 24GB.
Probably it is a mistake.

screen shot 2017-01-19 at 18 05 57

Styles: Vector Tiles are missing for OSM Liberty

https://openmaptiles.org/styles/#osm-liberty

image

This is because the Maptiler key for OSM Liberty was not valid anymore and now we use the placeholder {key} for the vt source and glyphs.

Possible options:

What is your preference?

Uneable to show my mbtiles file. Error: Unimplemented type: 3

Its is my code :
`
var vectorTileStyling = {

  water: {
    fill: true,
    weight: 1,
    fillColor: '#06cccc',
    color: '#06cccc',
    fillOpacity: 0.2,
    opacity: 0.4,
  },
  admin: {
    weight: 1,
    fillColor: 'pink',
    color: 'pink',
    fillOpacity: 0.2,
    opacity: 0.4
  },
  waterway: {
    weight: 1,
    fillColor: '#2375e0',
    color: '#2375e0',
    fillOpacity: 0.2,
    opacity: 0.4
  },
  landcover: {
    fill: true,
    weight: 1,
    fillColor: '#53e033',
    color: '#53e033',
    fillOpacity: 0.2,
    opacity: 0.4,
  },
  landuse: {
    fill: true,
    weight: 1,
    fillColor: '#e5b404',
    color: '#e5b404',
    fillOpacity: 0.2,
    opacity: 0.4
  },
  park: {
    fill: true,
    weight: 1,
    fillColor: '#84ea5b',
    color: '#84ea5b',
    fillOpacity: 0.2,
    opacity: 0.4
  },
  boundary: {
    weight: 1,
    fillColor: '#c545d3',
    color: '#c545d3',
    fillOpacity: 0.2,
    opacity: 0.4
  },
  aeroway: {
    weight: 1,
    fillColor: '#51aeb5',
    color: '#51aeb5',
    fillOpacity: 0.2,
    opacity: 0.4
  },
  transportation: {	// openmaptiles only
    weight: 0.5,
    fillColor: '#f2b648',
    color: '#f2b648',
    fillOpacity: 0.2,
    opacity: 0.4,

// dashArray: [4, 4]
},
building: {
fill: true,
weight: 1,
fillColor: '#2b2b2b',
color: '#2b2b2b',
fillOpacity: 0.2,
opacity: 0.4
},
water_name: {
weight: 1,
fillColor: '#022c5b',
color: '#022c5b',
fillOpacity: 0.2,
opacity: 0.4
},
transportation_name: {
weight: 1,
fillColor: '#bc6b38',
color: '#bc6b38',
fillOpacity: 0.2,
opacity: 0.4
},
place: {
weight: 1,
fillColor: '#f20e93',
color: '#f20e93',
fillOpacity: 0.2,
opacity: 0.4
},
housenumber: {
weight: 1,
fillColor: '#ef4c8b',
color: '#ef4c8b',
fillOpacity: 0.2,
opacity: 0.4
},
poi: {
weight: 1,
fillColor: '#3bb50a',
color: '#3bb50a',
fillOpacity: 0.2,
opacity: 0.4
},

  // Do not symbolize some stuff for openmaptiles
  country_name: [],
  marine_name: [],
  state_name: [],
  place_name: [],
  waterway_name: [],
  poi_name: [],
  road_name: [],
  housenum_name: [],
};

  var openmaptilesUrl = "assets/db/abidjan.mbtiles";


  var openmaptilesVectorTileOptions = {
    rendererFactory: L.canvas.tile,
    attribution: '<a href="https://openmaptiles.org/">&copy; OpenMapTiles</a>, <a href="http://www.openstreetmap.org/copyright">&copy; OpenStreetMap</a> contributors',
    vectorTileLayerStyles: vectorTileStyling,
    subdomains: '0123',
    key: 'UmmATPUongHdDmIicgs7',
    maxZoom: 14
  };


  var openmaptilesPbfLayer = L.vectorGrid.protobuf(openmaptilesUrl, openmaptilesVectorTileOptions).addTo(this.map);

`

Document osm id encoding

As mentioned here, osm ids in openmaptiles are encoded in a specific way, but it's not documented anywhere. OpenMapTiles Schema doesn't even mention that layers like place, poi, water_name return osm id. I think it should be documented.

Source code for self hosting server?

The website says "Open-source maps made for self-hosting", but I can't find the source code for your "openmaptiles-server" application. Is that available somewhere?

Get Started

Should we really recommend so many tilehosting options?

In practice we want people to either use tileserver-gl directly with Node or with Docker. That's it (and mention tileserver-php and serverless).

(also why have the operating system in the tabs?)

screenshot from 2016-12-12 17-02-20

Add Esperanto to the selectable languages

Hey I am part of a group of people that works on the Esperanto map of Wikimedia: http://maps.wikimedia.org/?lang=eo

I like openmaptiles a lot, especially how it takes data from Wikidata. There are many Esperanto names of cities and places on Wikidata and right now we have to manually move them to OpenStreetMap which is a lot of work. Your map would be a much better approach.

Esperanto is already implemented as an option on openmaptiles:
https://github.com/openmaptiles/openmaptiles/blob/c86f4a557a489c7e79ad2aec98051c066ccf7ad7/openmaptiles.yaml#L45

But it is not available as an option on the dropdown on https://www.maptiler.com/maps/

Would you consider adding it as an option? If you show me how other languages are implemented I am also happy to implement this feature myself.

Suggestion: Use compression for downloadable map tiles

Hey,

I was downloading a file mbtiles files for a map, and noticed that the files were uncompressed. I checked with gzip, and was able to get a compression ratio of 0.56 for f.ex. Chile and 0.68 for Canada:

455M chile.mbtiles
255M chile.mbtiles.gz  <-- 200 MB saved
5.2G canada.mbtiles
3.6G canada.mbtiles.gz <-- 1.6 GB saved

Given that the files are static and rarely updated, wouldn't it be prudent to have them compressed?

By compressing them statically, and then setting the Content-Transfer-Encoding header, the end result for clients should be identical to what it is now (as browsers will decode them before saving ..). That, or just serve up the .gz files so clients will know they're GZipped.

editor.openmaptiles.org is outdated

The Maputnik instance of editor.openmaptiles.org, which is linked here
https://openmaptiles.org/docs/style/maputnik/
and here
https://openmaptiles.org/styles/
is outdated, there are newer releases:
https://github.com/maputnik/editor/releases

Sometimes there are also questions about differences between maputnik.github.io/editor/ and editor.openmaptiles.org:
maplibre/maputnik#164 (comment)
maplibre/maputnik#177 (comment)

What are the reasons for hosting an own instance of Maputnik? Maybe they could be adressed in another way, so that it would be OK for you to link to https://maputnik.github.io/editor instead?

Migration to MapLibre GL

As you may or may not already know, MapBox GL JS has recently updated to 2.0 and has moved to a non-OSS license.

Source: mapbox/mapbox-gl-js#10162

Their pricing policy has changed so an access token is always required and the account gets charged based on map instance loads, not just requests to their API's. This would mean that you would still have to pay MapBox for using their library, even when self-hosting a tile server with openmaptiles sources. This makes using MapBox GL far less desirable combined with openmaptiles.

An opensource fork has risen and has been rebranded to MapLibre. I think it would be beneficial for both parties to to update the openmaptiles website and start using their name and demos, replacing all MapBox GL references.

I'm willing to make this change, and was actualy getting started, but I'm having trouble getting the website to run locally on my machine. I intalled Jekyll, but when I run jekyll serve I get following error:

  Conversion error: Jekyll::Converters::Scss encountered an error while converting 'base.scss':
                    Error: File to import not found or unreadable: _reset. on line 1:1 of base.scss >> @import "_reset"; ^

Arabic labels on demo map

Arabic letters in map labels are separated and placed left-to-right

Here's how Dubai ( دبي‎ ) appears:

screen shot 2018-07-25 at 3 17 29 pm

Fortunately this is something which has been fixed in MapBoxGL - when you first load this site, you'll see MapBoxGL with Arabic labels (blink and you might miss it - it cycles through the languages) https://mapbox.github.io/mapbox-gl-language/

Bigger Font

I propose we bump the base font size to 18px.
It is for my taste too small now to look good (in docs the lines contain too much words horizontally).

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.