Giter Club home page Giter Club logo

Comments (11)

jirik avatar jirik commented on September 14, 2024

@bean-fidhleir Where did you download the USA.mbtiles file?

from maptiler-basic-gl-style.

bean-fidhleir avatar bean-fidhleir commented on September 14, 2024

I'm fairly sure I got it from https://openmaptiles.org, though for some unknown reason I can't now find the file again.

from maptiler-basic-gl-style.

bean-fidhleir avatar bean-fidhleir commented on September 14, 2024

Disappointingly, the only tiles I've been able successfully to serve locally have been those from the "countries" demo. All my other efforts have so far failed.

from maptiler-basic-gl-style.

jirik avatar jirik commented on September 14, 2024

You can try this one:
https://openmaptiles.com/downloads/tileset/osm/north-america/us/

Anyway, this is issue doesn't seem to be related to this repository, so I am closing. If you think this USA mbtiles is corrupted, you can open an issue at https://github.com/openmaptiles/openmaptiles or (better in this case) write us an email to [email protected]. If you think this issue is related to the server you are using for serving pbfs, you can open an issue at the server's repository.

from maptiler-basic-gl-style.

bean-fidhleir avatar bean-fidhleir commented on September 14, 2024

do you have the hash for the united-states-of-america.mbtiles file? That was its original name, or maybe it used underscores rather than dashes--I renamed it because I couldn't see the point of repeatedly typing that long string. The file was listed as being freely downloadable because the bits were a year old (I did the download just a month or two ago), but I can't now find it on the site. It took an entire day to download because my link is barely better than dialup, so you'll understand why I don't want to download it again if there's nothing wrong with the copy I already have.

from maptiler-basic-gl-style.

MartinMikita avatar MartinMikita commented on September 14, 2024

@bean-fidhleir Please, could you paste here the metadata from your MBTiles?

$ sqlite3 united-states-of-america.mbtiles "select * from metadata;"

from maptiler-basic-gl-style.

MartinMikita avatar MartinMikita commented on September 14, 2024

MD5 for the USA file of version 3.3:
80b4a9f7e6e8b2e50b89affd168e73e8 united_states_of_america.mbtiles

from maptiler-basic-gl-style.

bean-fidhleir avatar bean-fidhleir commented on September 14, 2024

Thanks for the hash, Martin. It checks out.

The metadata is:
5:36:23 Sat, 19 Aug [momcat:root]/Maptiles> sqlite3 USA.mbtiles
SQLite version 3.17.0 2017-02-13 16:02:40
Enter ".help" for usage hints.
sqlite> select * from metadata ;
mtime|1481539609137
scheme|tms
format|pbf
maskLevel|8
json|{"vector_layers":[{"id":"water","minzoom":0,"maxzoom":14,"fields":{"class":"String"}},{"id":"waterway","minzoom":0,"maxzoom":14,"fields":{"name":"String","class":"String"}},{"id":"landcover","minzoom":0,"maxzoom":14,"fields":{"class":"String","subclass":"String"}},{"id":"landuse","minzoom":0,"maxzoom":14,"fields":{"class":"String"}},{"id":"park","minzoom":0,"maxzoom":14,"fields":{"class":"String"}},{"id":"boundary","minzoom":0,"maxzoom":14,"fields":{"admin_level":"Number"}},{"id":"aeroway","minzoom":0,"maxzoom":14,"fields":{"class":"String"}},{"id":"transportation","minzoom":0,"maxzoom":14,"fields":{"class":"String","oneway":"Number","ramp":"Number","brunnel":"String","service":"String"}},{"id":"building","minzoom":0,"maxzoom":14,"fields":{"render_height":"Number","render_min_height":"Number"}},{"id":"water_name","minzoom":0,"maxzoom":14,"fields":{"name":"String","name_en":"String","class":"String"}},{"id":"transportation_name","minzoom":0,"maxzoom":14,"fields":{"name":"String","ref":"String","ref_length":"Number","class":"String"}},{"id":"place","minzoom":0,"maxzoom":14,"fields":{"name":"String","name_en":"String","class":"String","rank":"Number","capital":"Number"}},{"id":"housenumber","minzoom":0,"maxzoom":14,"fields":{"housenumber":"String"}},{"id":"poi","minzoom":0,"maxzoom":14,"fields":{"name":"String","name_en":"String","class":"String","subclass":"String","rank":"Number"}}]}
attribution|© OpenMapTiles © OpenStreetMap contributors
description|Extract from http://openmaptiles.org
basename|united_states_of_america.mbtiles
minzoom|0
maxzoom|14
id|openmaptiles
center|-95.5371,36.6658,10
name|OpenMapTiles
bounds|-125.3321,23.8991,-65.7421,49.4325
version|3.3
filesize|6287306752
type|baselayer
sqlite>

from maptiler-basic-gl-style.

bean-fidhleir avatar bean-fidhleir commented on September 14, 2024

If I'm doing something unusual that's preventing me from serving the tiles, then someone else would have to point it out to me because I'm not seeing it.

The server is my own development server-of-all-work, running FreeBSD 10.3R, the mamaboard a Supermicro A1SRM-2558F with 16G and a 3-way ZFS mirror for data.

It does serve the simple "countries" example just fine, so there's no reason I can think of that would prevent it serving the "real" tiles in one of the other examples, e.g. the "offline" one. But it doesn't, so evidently there's a problem with the "real" tiles, with the styling, with the js code, or with something I'm doing that I don't realise.

from maptiler-basic-gl-style.

jirik avatar jirik commented on September 14, 2024

@bean-fidhleir Martin tried to download united_states_of_america.mbtiles v3.3 and serve it with tileserver-gl. It worked.

Anyway, this issue is not related to this repository, as I wrote few comments earlier.

from maptiler-basic-gl-style.

bean-fidhleir avatar bean-fidhleir commented on September 14, 2024

I appreciate the confirmation that the bits are indeed servable, Jirik. That narrows it down greatly.

from maptiler-basic-gl-style.

Related Issues (18)

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.