০° উত্তর ০° পূর্ব / ০° উত্তর ০° পূর্ব / 0; 0 (%E0%A6%9F%E0%A7%87%E0%A6%AE%E0%A6%AA%E0%A7%8D%E0%A6%B2%E0%A7%87%E0%A6%9F:Gbmappingitem), {{{1}}}

টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

ব্যবহার সম্পাদনা

gbmappingitem সম্পাদনা

Outputs the globe symbol linking to interactive maps; WGS-84 cordinates linking to GeoHack using the coord figures; OS grid reference (with WGS84 co-ordinates as a rollover box) linking to GeoHack using the OS ref.(Printed/pdf pages get both sets of coordinates printed at standard size)

Intended purpose: To output a compact map link with coord and GB OS grid reference for lists and tables of UK locations, with an option to reduce the text size of the coords. By retaining the {{coord}} call, all features of {{klm}}, interactive map, etc. are retained. (Template:gbmappingsmall does not currently offer this).


কীভাবে ব্যবহার করতে হয় সম্পাদনা

{{gbmappingitem|OS Grid ref |Coord Northing |Coord Easting |format = |type = |dim = |scale = |name = }}
{{gbmappingitem
| OS Grid ref
| Coord latitude
| Coord longitude
| format=
| type=
| dim=
| scale=
| name=
}}

প্রয়োজনীয় পরামিতি সম্পাদনা

The first three parameters are all required, and must be in the order given:

  • OS Grid ref: in the form AB123456 (for example). Degree of accuracy is flexible, but for most purposes a six figure reference is good, identifying a 100m square. 8 figures identifies a 10 metre square. Spaces to separate the elements are permitted. eg AB 123 456. (For details see Ordnance Survey National Grid
  • Coord Northing: +ve decimal number
  • Coord Easting: +/-ve decimal number

WGS-84 Coordinates should be decimal, to an appropriate level of accuracy (normally 4 decimal places maximum), and must use +/- (not E/W). Since the location must relate to the GB Ordnance Survey area, latitude will always be +ve.

ঐচ্ছিক পরামিতি সম্পাদনা

  • format= 0 to 11: Odd Nos force Grid ref onto a new line and indent, for use in tables. Even Nos display all on one line. Type size of the GWS-84 text is reduced with larger Nos. 0 (default) & 1 = normal size. 10 & 11 = very very tiny. See table below. (pdf output ignores this setting)
  • type= eg city(pop), city, landscape, forest. These give a broad scale guide to some maps. (defaults to city, ie a scale of 1:300,000). For a full list of types see Coord Documentation.
  • scale= eg 1:50,000, 1:300,000. This will overide the type scale.
  • dim= eg 5000, 10km etc. Distance in metres or kilometres across the width of the object. This also overides type. The default, if none of the scaling parameters are set, is 30km/1:300,000

Various of the geohack maps currently use these, (eg Bing, Google Maps, most aerial images, etc) and they could become even more useful in the future.

  • name= place name. If not supplied, will default to current PAGENAME. The GeoHack map pages show the name on any markers etc, but any links are always back to the current PAGENAME.
Table to show effect of the 'format' parameter.
Text size for coords Single line for inline text Over two lines, for use in tables
standard format=0 (default) format=1
smaller format=2 format=3
much smaller format=4 format=5
small superscript format=6 format=7
smaller superscript format=8 format=9
tiny text format=10 format=11


Example 1 (six-figure grid reference, format 0): 
{{gbmappingitem|TL042997|52.5851|-0.4634|type=forest|name=Bedford Purlieus National Nature Reserve}}

৫২°৩৫′০৬″ উত্তর ০°২৭′৪৮″ পশ্চিম / ৫২.৫৮৫১° উত্তর ০.৪৬৩৪° পশ্চিম / 52.5851; -0.4634 (Bedford Purlieus National Nature Reserve), TL042997

Example2 (ten-figure grid reference,  format 2): 
{{gbmappingitem|TL 042 997|51.50061|-0.12461|format=2|type=landmark|dim=100|name=Big Ben}}

৫১°৩০′০২″ উত্তর ০°০৭′২৯″ পশ্চিম / ৫১.৫০০৬১° উত্তর ০.১২৪৬১° পশ্চিম / 51.50061; -0.12461 (Big Ben), TL 042 997

Example3 (four-figure grid ref, format 5): 
{{gbmappingitem|TG0839|52.90|1.09|format=5|type=city(3550)|dim=2k|name=Holt, Norfolk}}

৫২°৫৪′ উত্তর ১°০৫′ পূর্ব / ৫২.৯০° উত্তর ১.০৯° পূর্ব / 52.90; 1.09 (Holt, Norfolk)
     TG0838

সীমাবদ্ধতা সম্পাদনা

It does not do the conversion! Both sets of coordinates need to be provided. It only adds the data inline - ie not at the top of the page - and Template:coord should always be used to provide the title coordinates on all geographical pages. This template should be used for lists of locations and such like within the OS Grid area, and is to enable compact inclusion of externally sourced OS grid references.

Both the WGS cordinates (via their link) and the OS grid ref (via clicking the number) link to the GeoHack page, each using their own data. It is the editor's responsibility to ensure the numbers match, and point to the right place. No cross-checking is carried out. (The main advantage of linking from both sets of coordinates is to allow people to easily check that both agree.)

Only the WGS84 link currently forwards the value in 'name', and GeoHack assumes but does not require that it will be a valid wikipedia page name. The grid ref link always sends the current page name (This is a limitiation of {{OS coord}}).

আরও দেখুন সম্পাদনা

বহিঃসংযোগ সম্পাদনা