[Talk-us] OpenStreetMap Americana - Announcing a new American map style and call for collaborators!

Brian M. Sperlongano zelonewolf at gmail.com
Wed Jan 26 23:42:43 UTC 2022


Hi Greg - thanks for this question!  It is 100% possible to recreate this
locally or on your own servers via pure FOSS, and especially easy if you
only want a small area rendered.  MapTiler Cloud is simply a convenient
service that serves OpenMapTiles-compatible vector tiles for the planet,
and saves us from having to do a fairly resource-intensive planet render.
The downside is that it's not updated terribly frequently, and there is a
usage limit for their free tier, but it's something I hope that OSMUS can
address in the future.  Here's a set of steps that would get you up and
running on an openstreetmap-americana rendering of Massachusetts for
example:

1. Clone the OpenMapTiles repository (
https://github.com/openmaptiles/openmaptiles) and build an mbtiles for
Massachusetts with the command: ./quickstart.sh massachusetts.  This will
produces a tiles.mbtiles file in the folder data/
2. Run: make start-tileserver.  This will start a vector server on
localhost:8080
3. Clone the openstreetmap-americana repository (
https://github.com/ZeLonewolf/openstreetmap-americana)
4. Copy the config.default.js to config.js, and change the URL to point to
the tile server, by default this is: http://localhost:8080/data/v3.json
5. Run: make run.  This will pop open a web browser on localhost:1776
running the style.

On Wed, Jan 26, 2022 at 6:26 PM Greg Troxel <gdt at lexort.com> wrote:

>
> Can you explain if it's possible for someone to stand up an instance of
> this in a 100% open source way?   Looking at
>
>   https://github.com/ZeLonewolf/openstreetmap-americana
>
> I'm unclear on if maptiler is just a handy service to turn HTTP GET into
> pbf and there is open source code but you'd need a really big server for
> nationwide, or if there's some special sauce in there that makes this
> not doable.
>
> For example, if I wanted to run an instance that was sort of like this,
> but with a changed style, and only cover a 20km x 20 km area, is that
> relatively straigthforward (for a nerd used to severs) with only Free
> Software?
>
> I think the text says that being able to do this without the proprietary
> cloud service is the plan, but it would be nice to say that more loudly
> if so, and have a way to do it for small areas.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-us/attachments/20220126/371ca8f2/attachment-0001.htm>


More information about the Talk-us mailing list