[Chameleon-dev] [Bug 1627] WFSSearch widget: integrate final changes

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Tue Jan 2 09:42:25 EST 2007


http://bugzilla.maptools.org/show_bug.cgi?id=1627





------- Additional Comments From bartvde at osgis.nl  2007-01-02 09:42 -------
3.
add maxFeatures option to searchoptionapi.php:

add:
$iMaxResults = 250;

this:
    $oGeoCoder->addSearchService(
        new WebFeatureService( $oGeoCoder, $szHost.$szOnlineResource.
        '&service=WFS&version=1.0.0', $szTypeName, strtoupper( $szNameSpace.':'.
        $_REQUEST['propertyname']) ) ,$szNameSpace );

should become:
    $oGeoCoder->addSearchService(
        new WebFeatureService( $oGeoCoder, $szHost.$szOnlineResource.
        '&service=WFS&version=1.0.0', $szTypeName, strtoupper( $szNameSpace.':'.
        $_REQUEST['propertyname']) , "", "250" ) );

this change should be done twice in the code!

4. a utf8_encode is missing:

        // add the param
        $oGeoCoder->addSearchAttribute( new SearchAttribute(
            $aszParamValues[0], utf8_encode($aszParamValues[2]),
            $aszParamValues[1] == 'propertyislike' ) );



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Chameleon-dev mailing list