Changeset 19078 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastreGrabber.java
- Timestamp:
- 2009-12-12T22:17:40+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastreGrabber.java
r18544 r19078 46 46 private URL getURLRaster(WMSLayer wmsLayer, EastNorth lambertMin, EastNorth lambertMax) throws MalformedURLException { 47 47 // GET /scpc/wms?version=1.1&request=GetMap&layers=CDIF:PMC@QH4480001701&format=image/png&bbox=-1186,0,13555,8830&width=576&height=345&exception=application/vnd.ogc.se_inimage&styles= HTTP/1.1 48 final int cRasterX = 1000; // keep width constant and adjust width to original image proportions48 final int cRasterX = 800; // keep width constant and adjust width to original image proportions 49 49 String str = new String(wmsInterface.baseURL+"/scpc/wms?version=1.1&request=GetMap"); 50 50 str += "&layers=CDIF:PMC@"; … … 73 73 str += lambertMax.east() + ","; 74 74 str += lambertMax.north(); 75 //str += "&width=800&height=600"; // maximum allowed by wms server76 str += "&width=1000&height=800"; // maximum allowed by wms server75 str += "&width=800&height=600"; // maximum allowed by wms server 76 //str += "&width=1000&height=800"; // maximum allowed by wms server 77 77 //str += "&exception=application/vnd.ogc.se_inimage"; // used by normal client but not required 78 78 str += "&styles=LS3_90,LS2_90,LS1_90,PARCELLE_90,NUMERO_90,PT3_90,PT2_90,PT1_90,LIEUDIT_90";
Note:
See TracChangeset
for help on using the changeset viewer.