Changeset 18289 in osm


Ignore:
Timestamp:
2009-10-27T10:41:49+01:00 (15 years ago)
Author:
guggis
Message:

Updated to JOSM r2327

Location:
applications/editors/josm/plugins/cadastre-fr
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/build.xml

    r17710 r18289  
    2727                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/FR:JOSM/Fr:Plugin/Cadastre"/>
    2828                <attribute name="Plugin-Mainversion" value="2012"/>
    29                 <attribute name="Plugin-Stage" value="2168"/>
     29                <attribute name="Plugin-Stage" value="2327"/>
    3030                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    3131            </manifest>
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/WMSLayer.java

    r18271 r18289  
    149149     */
    150150    private void divideBbox(Bounds b, int factor) {
    151         EastNorth lambertMin = Main.proj.latlon2eastNorth(b.min);
    152         EastNorth lambertMax = Main.proj.latlon2eastNorth(b.max);
     151        EastNorth lambertMin = Main.proj.latlon2eastNorth(b.getMin());
     152        EastNorth lambertMax = Main.proj.latlon2eastNorth(b.getMax());
    153153        double minEast = lambertMin.east();
    154154        double minNorth = lambertMin.north();
     
    254254        GeorefImage georefImage =
    255255            new GeorefImage(new BufferedImage(1,1,BufferedImage.TYPE_INT_RGB ), // not really important
    256             Main.proj.latlon2eastNorth(bounds.min),
    257             Main.proj.latlon2eastNorth(bounds.max));
     256            Main.proj.latlon2eastNorth(bounds.getMin()),
     257            Main.proj.latlon2eastNorth(bounds.getMax()));
    258258        for (GeorefImage img : images) {
    259259            if (img.overlap(georefImage))
     
    344344    public void setRasterBounds(Bounds bounds) {
    345345        EastNorth rasterCenter = Main.proj.latlon2eastNorth(bounds.getCenter());
    346         EastNorth eaMin = Main.proj.latlon2eastNorth(bounds.min);
    347         EastNorth eaMax = Main.proj.latlon2eastNorth(bounds.max);
     346        EastNorth eaMin = Main.proj.latlon2eastNorth(bounds.getMin());
     347        EastNorth eaMax = Main.proj.latlon2eastNorth(bounds.getMax());
    348348        double rasterSizeX = communeBBox.max.getX() - communeBBox.min.getX();
    349349        double rasterSizeY = communeBBox.max.getY() - communeBBox.min.getY();
Note: See TracChangeset for help on using the changeset viewer.