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

       Web browser: ---
             Bug #: 39633
           Summary: Export of coordinates to KML -- does not export all
                    coordinates due to bad "offset"
           Product: MediaWiki extensions
           Version: master
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: major
          Priority: Unprioritized
         Component: SemanticMaps
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


When exporting semantic query of a list of coordinates to KML, results are
empty if list of values is less than 10.  Somehow, "offset" value is set to 10,
and cannot be changed by specifying another "offset" value in the query.

I resolved this issue by adding the following to SM_KMLPrinter.php at line 136
(though I do not code in PHP, so someone should review this):

if ( array_key_exists( 'offset', $this->m_params ) ) {
            $link->setParameter( $this->m_params['offset'], 'offset' );
        }

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to