Changeset 15725 in osm for applications
- Timestamp:
- 2009-06-07T10:34:00+02:00 (16 years ago)
- Location:
- applications/editors/josm/plugins/wmsplugin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wmsplugin/sources.cfg
r13210 r15725 3 3 # NOTE: default items should be common and worldwide 4 4 # 5 true;Landsat;http://onearth.jpl.nasa.gov/wms.cgi?request=GetMap&layers=global_mosaic&styles=& srs=EPSG:4326&format=image/jpeg6 true;Open Aerial Map;http://openaerialmap.org/wms/?VERSION=1.0&request=GetMap&layers=world&styles=& srs=EPSG:4326&format=image/jpeg5 true;Landsat;http://onearth.jpl.nasa.gov/wms.cgi?request=GetMap&layers=global_mosaic&styles=&format=image/jpeg 6 true;Open Aerial Map;http://openaerialmap.org/wms/?VERSION=1.0&request=GetMap&layers=world&styles=&format=image/jpeg 7 7 # fails with division by zero error 8 8 false;NPE Maps;http://nick.dev.openstreetmap.org/openpaths/freemap.php?layers=npe … … 19 19 false;Oberpfalz Geofabrik.de;http://oberpfalz.geofabrik.de/wms4josm? 20 20 false;Streets NRW Geofabrik.de;http://tools.geofabrik.de/osmi/view/strassennrw/josmwms 21 # Terraserver USCG- High resolution maps 22 false;Terraserver Topo;http://terraservice.net/ogcmap.ashx?version=1.1.1&request=GetMap&Layers=drg&styles=&format=image/jpeg 23 true;Terraserver Urban;http://terraservice.net/ogcmap.ashx?version=1.1.1&request=GetMap&Layers=urbanarea&styles=&format=image/jpeg -
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSGrabber.java
r15707 r15725 103 103 { 104 104 String projname = Main.proj.toCode(); 105 if( projname.equals("EPSG:3785")) // don't use mercator code105 if(Main.proj instanceof org.openstreetmap.josm.data.projection.Mercator) // don't use mercator code 106 106 projname = "EPSG:4326"; 107 107 String res = "";
Note:
See TracChangeset
for help on using the changeset viewer.