how to use mapproxy to serve WMS from reprojected google maps tiles, i have searched for docs, but there's no docs which describe how to add google maps as source.
Technically it is very simple to use Google tiles as source for WMS. You can do this with the following MapProxy config:
services: demo: tms: wms: md: title: MapProxy WMS Server sources: gm: type: tile url: http://mt0.google.com/vt/lyrs=m@0&hl=en&x=%(x)s&y=%(y)s&z=%(z)s grid: gm_grid grids: gm_grid: base: GLOBAL_MERCATOR origin: ul caches: gm_cache: grids: [gm_grid] sources: [gm] cache: type: file directory_layout: tms layers: - name: gm_layer title: Test of using GM tiles sources: [gm_cache]
But as mentioned above - you are allowed to access the tiles only through Google API.