Hi all,
I'm trying to use the Maps/Semantic Maps extensions to Mediawiki primarily to evaluate them prior to deployment in a research application I'm planning. However, right from the off I've struck a problem. I can't seem to get Geocoding to work, and I wonder if anyone can help.
{{#geocode:Edinburgh}} returns nothing at all {{#display_map:Edinburgh}} complains that "The value edinburgh is not valid for parameter coordinates.", displaying a map over the Atlantic Ocean, whereas... {{#display_map:55.952242,-3.187337}} displays correctly.
I'm using the latest 0.65 bundled version of Maps and Semantic maps, with google (although none of the other maps/geocoding service combinations work either). I am coming from behind an institutional proxy so wondered if this might be a factor.
I hope this is an obvious one to solve, since I am really excited about using these extensions.
Thanks in advance for any help you can offer, Andrew
-- Mr Andrew McHugh LLB(Hons) MSc Innovative Research & Development Manager HATII 11 University Gardens University of Glasgow G12 8QJ
Tel: +44 (0)141 330 2675 Email: a.mchugh@hatii.arts.gla.ac.uk Website: http://www.planets-project.eu/
Hey,
I am coming from behind an institutional proxy so wondered if this might
be a factor. Assuming you have the needed api key set correctly (the Google Maps one if you are using any Google Maps maps without explicitly specifying any geoservice), it's indeed probably the proxy you mention. I don't think there is a lot that can be done from the extensions side to solve such issues.
Cheers
-- Jeroen De Dauw * http://blog.bn2vs.com * http://wiki.bn2vs.com Don't panic. Don't be evil. 50 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! --
Thanks for your reply Jeroen. Is there no way I can configure the extension to use our proxy, or do you know of a geocoding service I can establish within our proxy?
Many thanks again,
Andrew
From: maps-l-bounces@lists.wikimedia.org [mailto:maps-l-bounces@lists.wikimedia.org] On Behalf Of Jeroen De Dauw Sent: 20 August 2010 13:30 To: Map integration Subject: Re: [Maps-l] No doubt simple problem with Geocoding
Hey,
I am coming from behind an institutional proxy so wondered if this
might be a factor. Assuming you have the needed api key set correctly (the Google Maps one if you are using any Google Maps maps without explicitly specifying any geoservice), it's indeed probably the proxy you mention. I don't think there is a lot that can be done from the extensions side to solve such issues.
Cheers
-- Jeroen De Dauw * http://blog.bn2vs.com * http://wiki.bn2vs.com Don't panic. Don't be evil. 50 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! --
Hey,
Thanks for your reply Jeroen. Is there no way I can configure the
extension to use our proxy, or do you know of a geocoding service I can establish within our proxy?
Maps 0.6.6 alpha (on svn trunk) supports the MediaWiki proxy setting [0], which should allow you to use the geocoding services without any problems. Can you give this a try? You can get the code here [1] and here [2]. If you don't know how to get it from svn, I'll build an alpha package for you.
[0] https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Manual:$wgHTTPProxy [1] http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Maps/ [2] http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SemanticMaps/
Cheers
-- Jeroen De Dauw * http://blog.bn2vs.com * http://wiki.bn2vs.com Don't panic. Don't be evil. 50 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! --