[Xastir] downloading from tile.openstreetmap.org

Tom Russo russo at bogodyn.org
Mon Sep 22 12:24:43 PDT 2025


On Mon, Sep 22, 2025 at 10:25:45AM -0600, we recorded a bogon-computron collision of the <russo at bogodyn.org> flavor, containing:
> On Mon, Sep 22, 2025 at 10:12:12AM -0600, we recorded a bogon-computron collision of the <russo at bogodyn.org> flavor, containing:
> > 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.
> 
> A better fix will be to make cURL follow redirects.  That involves hacking
> all the code that sets up cURL sessions, but I think it's just a matter of
> adding a single option setting in both dlm.c and fetch_remote.c.  
> 
> Once again, it's the *testing* that is the hard part, and I probably won't
> get to it this week.

I have created a pull request that fixes our cURL usage to follow redirects,
and have tested that at least it works with OSM_tiled_mapnik.geo irrespective
of whether that geo file has http: or https:.

I have not tested it beyond that, so will rely on folks testing out the pull
request on other maps before I merge it to the main branch.

https://github.com/Xastir/Xastir/pull/231

-- 
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