[Chameleon-dev] [Bug 1709] ExpressionBuilder does not deal correctly with reprojection

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Wed May 2 02:21:14 EDT 2007


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

bartvde at osgis.nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|chameleon-                  |bartvde at osgis.nl
                   |dev at lists.maptools.org      |



------- Additional Comments From bartvde at osgis.nl  2007-05-02 02:21 -------
Patch:

---
/data/geoservices/apps/chameleon/htdocs/widgets/ExpressionBuilder/ExpressionBuilder.widget.php
     2007-04-13 13:18:36.000000000 +0200
+++ /opt/chameleon/htdocs/widgets/ExpressionBuilder/ExpressionBuilder.widget.php
       2007-05-01 13:27:20.000000000 +0200
@@ -715,9 +715,9 @@
     function buildFilterString( $szExpression, $oLayer, $szGeometryAttribute )
     {
         // get projection
-        $szProjection = trim( $this->moMapObject->oMap->getprojection() );
-        if ( strlen( $szProjection ) <= 0 )
             $szProjection = trim( $oLayer->getprojection() );
+        if ( strlen( $szProjection ) <= 0 )
+            $szProjection = trim( $this->moMapObject->oMap->getprojection() );
         if ( strlen( $szProjection ) > 0 )
         {
             $szProjection = substr( $szProjection, 6 );




------- 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