Results 1 to 4 of 4

Thread: Permalinks now using mercator projection, links from OSM place pages broken

  1. #1
    Neuer skobbler
    Join Date
    08.07.2012
    Posts
    2

    Permalinks now using mercator projection, links from OSM place pages broken

    There is a template that a lot of OpenStreetMap wiki pages use that automatically includes links to MapDust for a given place:

    http://wiki.openstreetmap.org/wiki/Template:Place

    Each place specifies the coordinates in decimal degrees lat/long and then these are used for various links. The link to MapDust is as follows:

    Code:
    http://www.mapdust.com/?zoom={{{zoom|12}}}&lat={{{lat}}}&lon={{{long}}}&layers=B000
    This used to correctly go to MapDust for a given location. However at some point the Permalinks changed from WGS84 decimal degrees to, I believe, Spherical Mercator meters. (I guess those Permalinks aren't really that "permanent" if they changed coordinate systems).

    So for lat/lon instead of say lat=43.67925 lon=-71.580375, MapDust now wants something like lat=5415938.81 lon=-7968290.9

    Is there a way to have MapDust accept WGS84 decimal degrees like the other services that the OSM wiki links to?

    There may be a way to update the OSM wiki to do the conversion on the fly, but I'd thought I'd ask the MapDust folks first. MapDust is all about making OpenStreetMap data better, so I would think the MapDust people would want to make it as easy as possible for OpenStreetMap users to find and fix

    Thanks,
    Peter
    OSM User: Peter Dobratz

  2. #2
    Neuer skobbler
    Join Date
    08.07.2012
    Posts
    2
    I've fixed the OSM wiki template code to do the conversion so that MapDust links work correctly.

  3. #3
    A skobbler
    Join Date
    29.03.2010
    Location
    Berlin
    Posts
    159
    Great stuff! Thanks dobratzp.

  4. #4
    Neuer skobbler
    Join Date
    13.04.2015
    Posts
    2
    Hello dear Yes I've fixed the OSM wiki template code to do the conversion so that MapDust links work correctly

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •