Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/227.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 如何将MapPrxoy重新投影ESPG:4326配置为ESPG:3857_Android_Geoserver - Fatal编程技术网

Android 如何将MapPrxoy重新投影ESPG:4326配置为ESPG:3857

Android 如何将MapPrxoy重新投影ESPG:4326配置为ESPG:3857,android,geoserver,Android,Geoserver,我们有一个由ESPG投影的图像层:4326。 客户端使用osmdroid进行开发。 它只支持ESPG:3857墨卡托投影。 我们无法更改ESPG:4326投影的图像。 我们希望使用MapPrxoy将ESPG:4326投影的图像转换为ESPG:3857。 尝试配置MapProxy来实现它,但我不知道如何设置配置。 请求帮助 services: demo: wms: grids: wm_grid: { base: GLOBAL_WEBMERCATOR } wgs84_grid:

我们有一个由ESPG投影的图像层:4326。 客户端使用osmdroid进行开发。 它只支持ESPG:3857墨卡托投影。 我们无法更改ESPG:4326投影的图像。 我们希望使用MapPrxoy将ESPG:4326投影的图像转换为ESPG:3857。 尝试配置MapProxy来实现它,但我不知道如何设置配置。 请求帮助

services:
  demo:
  wms:

grids:
   wm_grid: { base: GLOBAL_WEBMERCATOR }
   wgs84_grid: { base: GLOBAL_GEODETIC, tile_size: [512, 512], origin: nw, bbox: [-180, -90, 180, 90], bbox_srs: 'EPSG:4326' }

layers:
  - name: tdt
    title: tianditu
    sources: [tianditu_input]

caches:
   tianditu_cache: { disable_storage: false, grids: [wm_grid], sources: [tianditu_input] }
   tianditu_input: { disable_storage: true, grids: [wgs84_grid], sources: [tianditu] }

sources:
  tianditu:
    type: tile
    grid: wgs84_grid
    url: https://XXXXXXXXXXXXX/wmts?&layer=img&style=default&tilematrixset=c&Service=WMTS&Request=GetTile&Version=1.0.0&Format=tiles&TileMatrix=%(z)s&TileCol=%(y)s&TileRow=%(x)s

globals: