User:Admin/sandbox/maps
< User:Admin | sandbox
Ask Query
{{#ask: [[hasCoordinates::+]] | format=map | zoom=7 | center=Salisbury, MA | height=300 | ?hasCoordinates | ?AddressLocality | ?email }} produces
Loading map...
{"format":"googlemaps3","type":"ROADMAP","minzoom":false,"maxzoom":false,"types":["ROADMAP","SATELLITE","HYBRID","TERRAIN"],"limit":50,"offset":0,"link":"all","sort":[""],"order":[],"headers":"show","mainlabel":"","intro":"","outro":"","searchlabel":"... further results","default":"","import-annotation":false,"width":"auto","height":"300px","centre":{"text":"","title":"","link":"","lat":42.841757700000002,"lon":-70.860608299999996,"icon":""},"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"visitedicon":"","wmsoverlay":false,"zoom":7,"layers":[],"controls":["pan","zoom","type","scale","streetview","rotate"],"zoomstyle":"DEFAULT","typestyle":"DEFAULT","autoinfowindows":false,"resizable":false,"kmlrezoom":false,"poi":true,"cluster":false,"clustergridsize":60,"clustermaxzoom":20,"clusterzoomonclick":true,"clusteraveragecenter":true,"clusterminsize":2,"imageoverlays":[],"kml":[],"gkml":[],"searchmarkers":"","fullscreen":false,"scrollwheelzoom":false,"showtitle":true,"hidenamespace":false,"template":"","userparam":"","activeicon":"","pagelabel":false,"ajaxcoordproperty":"","ajaxquery":"","locations":[{"text":"\u003Cb\u003E\u003Ca href=\"/wiki/Agaric\" title=\"Agaric\"\u003EAgaric\u003C/a\u003E\u003C/b\u003E\u003Chr /\u003E\u003Ca href=\"/wiki/Property:AddressLocality\" title=\"Property:AddressLocality\"\u003EAddressLocality\u003C/a\u003E: Cambridge, MA\u003Cbr /\u003E\u003Cspan class=\"smw-highlighter\" data-type=\"1\" data-state=\"inline\" data-title=\"Property\" title=\"This property is a special property in this wiki.\"\u003E\u003Cspan class=\"smwbuiltin\"\u003E\u003Ca href=\"/wiki/Property:Email\" title=\"Property:Email\"\u003EEmail\u003C/a\u003E\u003C/span\u003E\u003Cspan class=\"smwttcontent\"\u003EThis property is a special property in this wiki.\u003C/span\u003E\u003C/span\u003E: \u003Ca class=\"external\" href=\"mailto:ask@agaric.coop\"\u003Eask@agaric.coop\u003C/a\u003E","title":"Agaric","link":"","lat":42.371263888888997,"lon":-71.097099999999998,"icon":""},{"text":"\u003Cb\u003E\u003Ca href=\"/wiki/BFC_Computing\" title=\"BFC Computing\"\u003EBFC Computing\u003C/a\u003E\u003C/b\u003E\u003Chr /\u003E\u003Ca href=\"/wiki/Property:AddressLocality\" title=\"Property:AddressLocality\"\u003EAddressLocality\u003C/a\u003E: Plainfield, NH\u003Cbr /\u003E\u003Cspan class=\"smw-highlighter\" data-type=\"1\" data-state=\"inline\" data-title=\"Property\" title=\"This property is a special property in this wiki.\"\u003E\u003Cspan class=\"smwbuiltin\"\u003E\u003Ca href=\"/wiki/Property:Email\" title=\"Property:Email\"\u003EEmail\u003C/a\u003E\u003C/span\u003E\u003Cspan class=\"smwttcontent\"\u003EThis property is a special property in this wiki.\u003C/span\u003E\u003C/span\u003E: \u003Ca class=\"external\" href=\"mailto:info@bfccomputing.com\"\u003Einfo@bfccomputing.com\u003C/a\u003E","title":"BFC Computing","link":"","lat":43.564988888888998,"lon":-72.209227777777997,"icon":""},{"text":"\u003Cb\u003E\u003Ca href=\"/wiki/FOSS_User_Group_Natick\" title=\"FOSS User Group Natick\"\u003EFOSS User Group Natick\u003C/a\u003E\u003C/b\u003E\u003Chr /\u003E\u003Ca href=\"/wiki/Property:AddressLocality\" title=\"Property:AddressLocality\"\u003EAddressLocality\u003C/a\u003E: Natick, MA\u003Cbr /\u003E\u003Cspan class=\"smw-highlighter\" data-type=\"1\" data-state=\"inline\" data-title=\"Property\" title=\"This property is a special property in this wiki.\"\u003E\u003Cspan class=\"smwbuiltin\"\u003E\u003Ca href=\"/wiki/Property:Email\" title=\"Property:Email\"\u003EEmail\u003C/a\u003E\u003C/span\u003E\u003Cspan class=\"smwttcontent\"\u003EThis property is a special property in this wiki.\u003C/span\u003E\u003C/span\u003E: \u003Ca class=\"external\" href=\"mailto:no-reply@example.org\"\u003Eno-reply@example.org\u003C/a\u003E","title":"FOSS User Group Natick","link":"","lat":42.284430555556,"lon":-71.347433333333001,"icon":""},{"text":"\u003Cb\u003E\u003Ca href=\"/wiki/IMarc\" title=\"IMarc\"\u003EIMarc\u003C/a\u003E\u003C/b\u003E\u003Chr /\u003E\u003Ca href=\"/wiki/Property:AddressLocality\" title=\"Property:AddressLocality\"\u003EAddressLocality\u003C/a\u003E: Amesbury, MA\u003Cbr /\u003E\u003Cspan class=\"smw-highlighter\" data-type=\"1\" data-state=\"inline\" data-title=\"Property\" title=\"This property is a special property in this wiki.\"\u003E\u003Cspan class=\"smwbuiltin\"\u003E\u003Ca href=\"/wiki/Property:Email\" title=\"Property:Email\"\u003EEmail\u003C/a\u003E\u003C/span\u003E\u003Cspan class=\"smwttcontent\"\u003EThis property is a special property in this wiki.\u003C/span\u003E\u003C/span\u003E: \u003Ca class=\"external\" href=\"mailto:hello@imarc.com\"\u003Ehello@imarc.com\u003C/a\u003E","title":"IMarc","link":"","lat":42.856677777778003,"lon":-70.928947222222007,"icon":""},{"text":"\u003Cb\u003E\u003Ca href=\"/wiki/Miller_Microcomputer_Services\" title=\"Miller Microcomputer Services\"\u003EMiller Microcomputer Services\u003C/a\u003E\u003C/b\u003E\u003Chr /\u003E\u003Ca href=\"/wiki/Property:AddressLocality\" title=\"Property:AddressLocality\"\u003EAddressLocality\u003C/a\u003E: Natick, MA\u003Cbr /\u003E\u003Cspan class=\"smw-highlighter\" data-type=\"1\" data-state=\"inline\" data-title=\"Property\" title=\"This property is a special property in this wiki.\"\u003E\u003Cspan class=\"smwbuiltin\"\u003E\u003Ca href=\"/wiki/Property:Email\" title=\"Property:Email\"\u003EEmail\u003C/a\u003E\u003C/span\u003E\u003Cspan class=\"smwttcontent\"\u003EThis property is a special property in this wiki.\u003C/span\u003E\u003C/span\u003E: \u003Ca class=\"external\" href=\"mailto:TheMillers@millermicro.com\"\u003ETheMillers@millermicro.com\u003C/a\u003E","title":"Miller Microcomputer Services","link":"","lat":42.299908333333001,"lon":-71.365583333333007,"icon":""},{"text":"\u003Cb\u003E\u003Ca href=\"/wiki/The_Perl_Shop\" title=\"The Perl Shop\"\u003EThe Perl Shop\u003C/a\u003E\u003C/b\u003E\u003Chr /\u003E\u003Ca href=\"/wiki/Property:AddressLocality\" title=\"Property:AddressLocality\"\u003EAddressLocality\u003C/a\u003E: Boston, MA\u003Cbr /\u003E\u003Cspan class=\"smw-highlighter\" data-type=\"1\" data-state=\"inline\" data-title=\"Property\" title=\"This property is a special property in this wiki.\"\u003E\u003Cspan class=\"smwbuiltin\"\u003E\u003Ca href=\"/wiki/Property:Email\" title=\"Property:Email\"\u003EEmail\u003C/a\u003E\u003C/span\u003E\u003Cspan class=\"smwttcontent\"\u003EThis property is a special property in this wiki.\u003C/span\u003E\u003C/span\u003E: \u003Ca class=\"external\" href=\"mailto:tmetro@theperlshop.com\"\u003Etmetro@theperlshop.com\u003C/a\u003E","title":"The Perl Shop","link":"","lat":42.374572222222,"lon":-71.063622222221994,"icon":""}]}
The same query with a table output:
HasCoordinates | AddressLocality | EmailThis property is a special property in this wiki. | |
---|---|---|---|
Agaric | 42° 22' 16.55" N, 71° 5' 49.56" W | Cambridge, MA | ask@agaric.coop |
BFC Computing | 43° 33' 53.96" N, 72° 12' 33.22" W | Plainfield, NH | info@bfccomputing.com |
FOSS User Group Natick | 42° 17' 3.95" N, 71° 20' 50.76" W | Natick, MA | no-reply@example.org |
IMarc | 42° 51' 24.04" N, 70° 55' 44.21" W | Amesbury, MA | hello@imarc.com |
Miller Microcomputer Services | 42° 17' 59.67" N, 71° 21' 56.10" W | Natick, MA | TheMillers@millermicro.com |
The Perl Shop | 42° 22' 28.46" N, 71° 3' 49.04" W | Boston, MA | tmetro@theperlshop.com |
Display Map
{{#display_map:Salisbury, MA; Boston, MA; Cambridge, MA; | height=300}} produces
Loading map...
{"type":"ROADMAP","minzoom":false,"maxzoom":false,"types":["ROADMAP","SATELLITE","HYBRID","TERRAIN"],"mappingservice":"googlemaps3","width":"auto","height":"300px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"visitedicon":"","wmsoverlay":false,"zoom":false,"layers":[],"controls":["pan","zoom","type","scale","streetview","rotate"],"zoomstyle":"DEFAULT","typestyle":"DEFAULT","autoinfowindows":false,"resizable":false,"kmlrezoom":false,"poi":true,"cluster":false,"clustergridsize":60,"clustermaxzoom":20,"clusterzoomonclick":true,"clusteraveragecenter":true,"clusterminsize":2,"imageoverlays":[],"kml":[],"gkml":[],"searchmarkers":"","fullscreen":false,"scrollwheelzoom":false,"locations":[{"text":"","title":"","link":"","lat":42.841757700000002,"lon":-70.860608299999996,"icon":""},{"text":"","title":"","link":"","lat":42.355433400000003,"lon":-71.060511000000005,"icon":""},{"text":"","title":"","link":"","lat":42.365634700000001,"lon":-71.104001800000006,"icon":""}]}
Geo Coordinates
Using {{#geocode:Salisbury, MA}} we get Salisbury, MA has the coordinates: 42° 50' 30.33" N, 70° 51' 38.19" W