Insert Google Map/Satellite into MapInfo as base map

933 views
Skip to first unread message

Nguyễn Văn Thị

unread,
Sep 6, 2014, 12:17:52 PM9/6/14
to mapi...@googlegroups.com
Dear anyone,
I'm doing a small project that using Mapproxy to catch google map tiles and public them as WMS to open in MapInfo. I've already Mapproxy installed and working well, but i dont know how to configure it to get map/satellite from google map. Here is my configuration:

services:
  demo:
  tms:
    use_grid_names: true
    # origin for /tiles service
    origin: 'nw'
  kml:
      use_grid_names: true
  wmts:
  wms:
    md:
      title: Google Maps
      abstract: Thu nghiem dua Google Maps vao MapInfo.

layers:
  - name: osm
    title: Google Map - maps.google.com
    sources: [osm_cache]

caches:
  osm_cache:
    grids: [webmercator]
    sources: [osm_wms]

sources:
  osm_wms:
    type: wms
    req:
      # use of this source is only permitted for testing
      url: http://mt0.google.com/vt/lyrs=m@0&hl=en&x=%(x)s&y=%(y)s&z=%(z)s

grids:
    webmercator:
        base: GLOBAL_WEBMERCATOR

globals:

But its not working!
Do anyone have idea for this,
Thank you!
Reply all
Reply to author
Forward
0 new messages