Last modified: 2011-03-13 18:06:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T23036, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21036 - {{#geocode}} parser function doesn't parse GPS coordinates
{{#geocode}} parser function doesn't parse GPS coordinates
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
Maps (Other open bugs)
unspecified
All All
: Lowest normal (vote)
: ---
Assigned To: Jeroen De Dauw
http://www.mediawiki.org/wiki/Extensi...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-07 12:58 UTC by Karsten Hiddemann
Modified: 2011-03-13 18:06 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Karsten Hiddemann 2009-10-07 12:58:02 UTC
As reported on the discussion page of the Semantic Maps extension (see URL, Jeroen is aware of the bug, this bug report is so that I can keep track of the bug):

The {{#geocode}} parser function doesn't acknowledge that this is a correct input format:

N 51° 09.167 E 004° 58.484

When I use it unaltered together with {{#display_address}} or {{#display_addresses}} then it works, however. I just can't get {{#geocode}} to accept it and thus I can't save it as geographic data for SMW. Thus I am unable to build queries with Semantic Maps that display the pages on a map. How come that these GPS coordinates are not valid inputs for {{#geocode}} and how can I fix this?
Comment 1 Karsten Hiddemann 2010-03-18 06:24:28 UTC
I see that this bug is now assigned. Since we have been talking about the different formats like DMS ("Degrees, Minutes, Seconds"), DM (Decimal Minutes) and so on, I asked the guy who runs http://boulter.com/gps/ about his code, who has a very reliable parser that takes almost everything. He released his code for it at http://github.com/boulter/GPS-Coordinate-Parser - have a look, it might be of help to you.
Comment 2 Jeroen De Dauw 2010-04-14 12:59:20 UTC
Maps 0.6 will suport passing coordinates to #geocode. However, the GPS coordinates type will not be supported. The supported ones are DMS, DD, DM and floats, both directional and non-directional. 

I might later on add the GPS format though.
Comment 3 Jeroen De Dauw 2010-06-09 12:12:59 UTC
The architecture of 0.6 allows for this to be added pretty easily, but there is no demand except for this bug, so wontfix for now.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links