How to add a basemap(geotiff) as a custom basemap in OSM?

Hello, I georeferenced a historic Sanborn map in QGIS and exported it as a GeoTIFF and wondering how I can upload this into OSM as a custom basemap to digitize. Is this possible? From what I learned is that I cannot directly “convert” the GeoTIFF into a WMS or TMS token. I would first need to obtain a valid token from the service(ArcPro,Cybersource/Digital) that issues them. Is there another alternative? I would prefer to use the in-browser editor because I’m not very savvy with JOSM, but I’m willing to hear any suggestions.

Thanks!

I would try the QGIS Development Server.

  • Save the georeferenced historic Sanborn map as a QGIS project, sanborn.qgz
  • Run on the command line qgis_mapserver: qgis_mapserver -p sanborn.qgz
  • Add in Josm an imagery layer as:
wms:http://localhost:8000//geoserver/wms?FORMAT=image/png&TRANSPARENT=TRUE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=sanborn&STYLES=&CRS={proj}&WIDTH={width}&HEIGHT={height}&BBOX={bbox}

sanborn in this “URL” is the layer name, adjust it if the layer in QGIS is called differently.