https://bugzilla.wikimedia.org/show_bug.cgi?id=34277

       Web browser: ---
             Bug #: 34277
           Summary: [SM] search by property on coordinates produce no
                    results because SM converts the coordinate format
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: SemanticMaps
        AssignedTo: jeroen_ded...@yahoo.com
        ReportedBy: fastgoldf...@gmail.com
    Classification: Unclassified


If you click on the magnifying glass icon next to the location property in the
SMW factbox, here (login with Demo/test):

http://www.coincompendium.com/w/index.php/CCS1

It shows you a failed search by property, here (login with Demo/test):

http://www.coincompendium.com/w/index.php/Special:SearchByProperty/Location/40°-2044'-201%22-20N,-2073°-2046'-2049%22-20W

It appears to be because Semantic Maps is internally converting location
coordinates from the underlying degree system property data:

40.7335179, -73.7801447

to the degree-minute-second system property data:

40° 44' 1" N, 73° 46' 49" W

which is (poorly) described here:

http://en.wikipedia.org/wiki/Geographic_coordinate_system
http://en.wikipedia.org/wiki/Geographic_coordinate_conversion

It appears Semantic Maps is giving unusable converted degree-minute-second data
to SMW, which does not match the actual location property value in the degree
system format, and so no results are returned. 

I suggest that Semantic Maps not convert the property value to another format
that differs from the entered value. Although the converted value is easier for
humans to read, it should also probably not do that unless configured to do so.
The solution to this bug probably involves adding enhancements that give
control over formatting to the wiki user, the wiki administrator, or both. 

The wiki user could use a parser function to convert to the desired format, and
the wiki administrator could use features that configure the defaults -
although I think that may be unnecessary.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to