Difference between revisions of "User:Admin/sandbox/maps"

From Freephile Wiki
Jump to navigation Jump to search
Line 20: Line 20:
 
  | ?email
 
  | ?email
 
}}
 
}}
 +
 +
The same query with a table output:
 +
{{#ask: [[hasCoordinates::+]]
 +
| format=table
 +
| ?hasCoordinates
 +
| ?AddressLocality
 +
| ?email
 +
}}
 +
  
  

Revision as of 10:40, 19 March 2020

Ask Query[edit | edit source]

{{#ask: [[hasCoordinates::+]] | format=map | zoom=7 | center=Salisbury, MA | height=300 | ?hasCoordinates | ?AddressLocality | ?email }} produces

Loading map...

The same query with a table output:

 HasCoordinatesAddressLocality
Agaric42° 22' 16.55" N, 71° 5' 49.56" WCambridge, MA
BFC Computing43° 33' 53.96" N, 72° 12' 33.22" WPlainfield, NH
FOSS User Group Natick42° 17' 3.95" N, 71° 20' 50.76" WNatick, MA
IMarc42° 51' 24.04" N, 70° 55' 44.21" WAmesbury, MA
Miller Microcomputer Services42° 17' 59.67" N, 71° 21' 56.10" WNatick, MA
The Perl Shop42° 22' 28.46" N, 71° 3' 49.04" WBoston, MA



Display Map[edit | edit source]

{{#display_map:Salisbury, MA; Boston, MA; Cambridge, MA; | height=300}} produces

Loading map...



Geo Coordinates[edit | edit source]

Using {{#geocode:Salisbury, MA}} we get Salisbury, MA has the coordinates: 42° 50' 30.33" N, 70° 51' 38.19" W