Revision 32367 branches/v2_0_0_prep/libraries/org.gvsig.arcims/src/org/gvsig/remoteclient/arcims/ArcXMLFeatures.java

View differences:

ArcXMLFeatures.java
97 97
        /**
98 98
         * Get the minimum distance between points as the mean distance per pixel
99 99
         */
100
        Rectangle2D geoExtent = status.getExtent();
100
        Rectangle2D geoExtent = status.getEnvelopeRect();
101 101
        double iX = geoExtent.getWidth() / status.getWidth();
102 102
        double iY = geoExtent.getHeight() / status.getHeight();
103 103
        double accuracy = 1.0 * ((iX + iY) / 2.0);
......
409 409
            status.getWhere(), //where
410 410
            ArcXML.getFilterCoordsys(srsView), //SRS of the service
411 411
            ArcXML.getFeatureCoordsys(srsView), //SRS of the view
412
            ArcXML.getEnvelope(status.getExtent(), ds), //envelope
412
            ArcXML.getEnvelope(status.getEnvelopeRect(), ds), //envelope
413 413
            "", //accuracy
414 414
            true, //GlobalEnvelope
415 415
            false, //SkipFeatures

Also available in: Unified diff