Changeset 18289 in osm
- Timestamp:
- 2009-10-27T10:41:49+01:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/cadastre-fr
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/build.xml
r17710 r18289 27 27 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/FR:JOSM/Fr:Plugin/Cadastre"/> 28 28 <attribute name="Plugin-Mainversion" value="2012"/> 29 <attribute name="Plugin-Stage" value="2 168"/>29 <attribute name="Plugin-Stage" value="2327"/> 30 30 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 31 31 </manifest> -
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/WMSLayer.java
r18271 r18289 149 149 */ 150 150 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()); 153 153 double minEast = lambertMin.east(); 154 154 double minNorth = lambertMin.north(); … … 254 254 GeorefImage georefImage = 255 255 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())); 258 258 for (GeorefImage img : images) { 259 259 if (img.overlap(georefImage)) … … 344 344 public void setRasterBounds(Bounds bounds) { 345 345 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()); 348 348 double rasterSizeX = communeBBox.max.getX() - communeBBox.min.getX(); 349 349 double rasterSizeY = communeBBox.max.getY() - communeBBox.min.getY();
Note:
See TracChangeset
for help on using the changeset viewer.