[Xastir] downloading from tile.openstreetmap.org
Tom Russo
russo at bogodyn.org
Mon Sep 22 09:12:12 PDT 2025
On Mon, Sep 22, 2025 at 09:50:49AM -0600, we recorded a bogon-computron collision of the <russo at bogodyn.org> flavor, containing:
> On Mon, Sep 22, 2025 at 09:47:25AM -0600, we recorded a bogon-computron collision of the <russo at bogodyn.org> flavor, containing:
> > The URL is put into an OSM template by the Xastir build process, so the
> > http URL is in the main Makefile.am. If it were changed in that one spot
> > it would be changed in all OSM geo files.
> >
> > I *think* that this is the correct fix.
> >
> [...]
> >
> > I have never noticed this issue before, but that's probably because I have
> > a pretty good tile cache for this very same OSM map (tiled_mapnik is my
> > favorite).
>
> confirmed, if I move my cache out of the way nothing works.
>
> > I'll do some testing and push out a fix if it works.
>
> There are several other OSM hard-coded URLs in the makefile, all using
> http instead of https. I presume they are all wrong now, but will have to
> test them out to make sure.
Ok. The three tiled OSM maps (mapnik, fosm, and cycle) all get created
by make by substituting a string in a template. As it turns out, the
opencyclemap.org one does NOT support https, so that one has to be left at
http:. The fosm and mapnik both support https, and I changed them.
Unfortunately, the makefile is set up so that the .geo files are only
regenerated when the TEMPLATE changes, and so simply rebootstrapping and
rebuilding in a prior build directory doesn't regenerate them.
So once I push this out, in order to get correct .geo files, you have to
rebootstrap, then go to your build directory and *remove* the existing OSM
.geo files. A "make" and "make install" will then recreate them with the
correct URLs.
--
Tom Russo KM5VY
Tijeras, NM
echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]
More information about the Xastir
mailing list