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

       Web browser: ---
            Bug ID: 44933
           Summary: Geo coords stored incorrectly
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Semantic MediaWiki
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Quoting from
http://semantic-mediawiki.org/w/index.php?title=Thread:Semantic-mediawiki.org:Community_portal/Query_on_specific_value_of_Geographical_coordinate_type_property_returns_nothing&lqt_method=thread_history

When I add the query {{#ask: [[Has coordinates::62° 38' 12" N, 11° 0' 24" Ø]] |
?Has coordinates | ?Name }} in a page, the debugging feature shows that the
database call is: SELECT /* SMW::getQueryResult 194.19.124.36 */ DISTINCT
t2.smw_id AS id,t2.smw_title AS t,t2.smw_namespace AS ns,t2.smw_iw AS
iw,t2.smw_subobject AS so,t2.smw_sortkey AS sortkey FROM `wsmw_object_ids` AS
t2 INNER JOIN `wsmw_di_coords` AS t0 ON t2.smw_id=t0.s_id WHERE
((t0.o_serialized = '62.636666666667' && t0.o_lat = '11.006666666667') AND
t0.p_id='65') ORDER BY t2.smw_sortkey ASC LIMIT 51.

As you can see, there are seemingly two things that are off here. First of all,
it seems to look up the latitude in the field "o_serialized" and the longitude
in the "o_lat" field.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to