Changeset 20247 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastreGrabber.java
- Timestamp:
- 2010-03-02T15:15:29+01:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastreGrabber.java
r20240 r20247 19 19 20 20 public class CadastreGrabber { 21 22 public final static double epsilon = 1e-11;23 21 24 22 private CadastreInterface wmsInterface = new CadastreInterface(); … … 62 60 private URL getURLVector(EastNorth lambertMin, EastNorth lambertMax) throws MalformedURLException { 63 61 String str = new String(wmsInterface.baseURL+"/scpc/wms?version=1.1&request=GetMap"); 64 str += "&layers=CDIF:LS3,CDIF:LS2,CDIF:LS1,CDIF:PARCELLE,CDIF:NUMERO"; 65 str += ",CDIF:PT3,CDIF:PT2,CDIF:PT1,CDIF:LIEUDIT"; 66 str += ",CDIF:SUBSECTION"; 67 str += ",CDIF:SECTION"; 68 str += ",CDIF:COMMUNE"; 62 str += "&layers="+CadastrePlugin.grabLayers; 69 63 str += "&format=image/png"; 70 64 //str += "&format=image/jpeg"; … … 75 69 str += "&width="+CadastrePlugin.imageWidth+"&height="+CadastrePlugin.imageHeight; 76 70 //str += "&exception=application/vnd.ogc.se_inimage"; // used by normal client but not required 77 str += "&styles=LS3_90,LS2_90,LS1_90,PARCELLE_90,NUMERO_90,PT3_90,PT2_90,PT1_90,LIEUDIT_90"; 78 str += ",SUBSECTION_90"; 79 str += ",SECTION_90"; 80 str += ",COMMUNE_90"; 71 str += "&styles="+CadastrePlugin.grabStyles; 81 72 System.out.println("URL="+str); 82 73 return new URL(str.replace(" ", "%20"));
Note:
See TracChangeset
for help on using the changeset viewer.
