Skip to content

api.openhistoricalmap.org should mirror the OpenHistoricalMap API #719

Closed

Description

@1ec5

The OpenStreetMap API can be accessed at either www.openstreetmap.org/api or api.openstreetmap.org/api. Some software connects through api.openstreetmap.org/api, while others like the OSM website itself link to the www.openstreetmap.org/api endpoint. By contrast, the OpenHistoricalMap API can only be accessed at www.openhistoricalmap.org/api; there is no api.openhistoricalmap.org subdomain. This difference causes mappers a good deal of confusion among JOSM users, since JOSM is configured for api.openstreetmap.org/api by default. Can we support accessing the API through api.openhistoricalmap.org as an alternative to the canonical www.openhistoricalmap.org/api route?

Additionally, many users are accustomed to dropping the “www.” subdomain, but uploading a changeset will fail if you configure JOSM to connect to openhistoricalmap.org/api. I don’t know if that’s due to rewrite rules as well or something else.

Activity

  1. added
    API
    on Mar 21, 2024
  2. Rub21 commented on May 6, 2024

    @Rub21
    Member
  3. 1ec5 commented on May 6, 2024

    @1ec5
    MemberAuthor

    Thanks, this is working well. I tested the View ‣ Advanced info (web) menu item, the Data ‣ Open custom URL menu item (after configuring utilplugins2), and the “View changeset in browser” menu item in the Changeset Manager. I’ve updated the “Contributing” and “JOSM” pages on the wiki to prefer api.openhistoricalmap.org.

  4. added theissue type on Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

API

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions