Commons:Wikimaps/Template

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Proposal for a maps template

[edit]

Based on the discussion so far, the ideal way is to utilize Template:Artwork, Template:Book or Template:Information as a base and create a new Template:Map for the remaining necessary map data. It has now been created and it can be commented. Of the "base" templates the Book template seems to have most of the information that go along with printed maps. It is my intention that there will be wider discussion with GLAM representatives about what is sufficient metadata from their point of view. --Susannaanas (talk) 09:31, 9 July 2013 (UTC)[reply]

Proposed Map template to be used in addition to the Artwork template (comment, add, argue, describe)

[edit]

Map related fields

  • Scale //added
  • Projection //added
  • Georeferencing data //not added
  • Date depicted //not added
  • Location depicted //not added
  • Map type (town plan, tourism map, road map, thematic map, panorama, diagram, table...)
  • Thematic map topic
  • Manuscript/printed (Manuscript, original, duplicate, simple copy, certified copy, draft/concept, printed)
  • Map sheet # / other sheets
  • Material / technique (exists in artwork)

Note: Some necessary fields exist only in the Artwork template (material, size), others exist in the Book template (publisher, ISBN).

Fields only in the Book template

[edit]

Fields only in the Artwork template

[edit]

Some thoughts on the location data

[edit]

Following are options for storing the location. There may be templates I have not yet discovered. Data to be stored seems clear: A bounding box is needed for the map boundaries (alternatively coordinates with diameter) for approximate geolocation. After georeferencing, the georeferencing data should be stored and the bounding box redefined for the purpose of finding the map in a map search.

Give a center coordinate

[edit]

Bounding box (variations of expressing)

[edit]
  • Template:GeoPolygon
Geocoded outline
"bbox": [-180.0, -90.0, 180.0, 90.0]
name=Western Australia; northlimit=-13.5; southlimit=-35.5; westlimit=112.5; eastlimit=129;
<LatLonBox>
   <north>48.25475939255556</north>
   <south>48.25207367852141</south>
   <east>-90.86591508839973</east>
   <west>-90.8714285289695</west>
   <rotation>39.37878630116985</rotation>
</LatLonBox>
  • data
lat, lon, lat, lon, (rotation)

Wikimedia storage proposals

[edit]

Georeferencing data

[edit]
  • sets of 4 numbers: Map image x, y, Coordinate lat, lon + additional data
{ "items" : [ { "created_at" : "2013/05/31 16:01:36 +0000",
        "error" : 1.71090132744029,
        "id" : 5,
        "lat" : 51.0536741847,
        "lon" : 13.7331074246,
        "map_id" : 2,
        "name" : null,
        "soft" : null,
        "updated_at" : "2013/05/31 16:01:36 +0000",
        "x" : 495.87774294675,
        "y" : 187.48902821316
      },
      { "created_at" : "2013/05/31 16:02:11 +0000",
        "error" : 4.7882729449005597,
        "id" : 6,
        "lat" : 51.051907206899998,
        "lon" : 13.741620756,
        "map_id" : 2,
        "name" : null,
        "soft" : null,
        "updated_at" : "2013/05/31 16:02:11 +0000",
        "x" : 492.11598746084002,
        "y" : 518.02194357366
      },
      { "created_at" : "2013/05/31 16:07:31 +0000",
        "error" : 5.0172434652465503,
        "id" : 7,
        "lat" : 51.048718720399997,
        "lon" : 13.739169217000001,
        "map_id" : 2,
        "name" : null,
        "soft" : null,
        "updated_at" : "2013/05/31 16:07:31 +0000",
        "x" : 272.55485893420001,
        "y" : 488.55485893415999
      },
      { "created_at" : "2013/05/31 16:31:24 +0000",
        "error" : 7.5440017207692396,
        "id" : 9,
        "lat" : 51.061062264999997,
        "lon" : 13.742942167200001,
        "map_id" : 2,
        "name" : null,
        "soft" : null,
        "updated_at" : "2013/05/31 16:31:24 +0000",
        "x" : 1054.7648902822,
        "y" : 432.97492163007001
      },
      { "created_at" : "2013/05/31 16:33:34 +0000",
        "error" : 10.9274460753455,
        "id" : 10,
        "lat" : 51.057452941299999,
        "lon" : 13.7407212981,
        "map_id" : 2,
        "name" : null,
        "soft" : null,
        "updated_at" : "2013/05/31 16:33:34 +0000",
        "x" : 825.54858934172,
        "y" : 397.61442006266998
      }
    ],
  "stat" : "ok"
}