atlasr
                                
                                
                                
                                    atlasr copied to clipboard
                            
                            
                            
                        Make a command to install the tile database
When I set up all servers and go to http://127.0.0.1:8889, the browser say that /api/tile/metadata.json is missing.  It returns 404 with "error" in the body.
I trace the code and find this error, DatabaseError(__Unknown, "file is not a database"), at line 171in source/api/tile/src/main.rs
How can I fix this issue? Thanks.
Did you install the mbtiles database?
oh sorry it's commented, https://github.com/atlasr-org/atlasr/blob/master/justfile#L104. I need to release that correctly!
I try to download the mbtiles with following command.
https://openmaptiles.com/download/WyJjOWUzNGM1NS04MDQxLTQ4MTMtYmUzMy0yNmFjMGUyN2I5MWIiLCItMSIsODcxM10.DsGknA.wk4qsZRjBSL8gQrp22h2CRpCyi4/osm-2017-07-03-v3.6.1-europe_switzerland.mbtiles?usage=open-source' > database/europe_switzerland.mbtiles.
But the download link is expired.
I may know how to download it, register and download from https://openmaptiles.com/downloads/tileset/osm/europe/switzerland/.
I can correctly set up this map viewer, thanks for your help.
It may be a good way to check the .mbtiles file, and prompt to help the user to download it.
And I am happy to write the check in just file.