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

From Freephile Wiki
Jump to navigation Jump to search
 
Line 7: Line 7:
 
  | ?hasCoordinates
 
  | ?hasCoordinates
 
  | ?AddressLocality
 
  | ?AddressLocality
  | ?email
+
  | ?telephone
 
}}
 
}}
 
</nowiki>
 
</nowiki>
Line 18: Line 18:
 
  | ?hasCoordinates
 
  | ?hasCoordinates
 
  | ?AddressLocality
 
  | ?AddressLocality
  | ?email
+
  | ?telephone
 
}}
 
}}
  
Line 48: Line 48:
 
Using <nowiki>{{#geocode:Salisbury, MA}}</nowiki> we get  
 
Using <nowiki>{{#geocode:Salisbury, MA}}</nowiki> we get  
 
Salisbury, MA has the coordinates: {{#geocode:Salisbury, MA}}
 
Salisbury, MA has the coordinates: {{#geocode:Salisbury, MA}}
 +
 +
Using a full street address, we get {{#geocode:66 Ferry Rd. Salisbury, MA}}

Latest revision as of 13:02, 19 March 2020

Ask Query[edit | edit source]

{{#ask: [[hasCoordinates::+]] | format=map | zoom=7 | center=Salisbury, MA | height=300 | ?hasCoordinates | ?AddressLocality | ?telephone }} 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

Using a full street address, we get 42° 49' 46.55" N, 70° 51' 13.92" W