Skip to main content
6 votes
Accepted

MapProxy with WMTS source and reprojection

The problem was with the res-parameter. I had to calculate the scales based on the GetCapabilities. Here is a good guide how to do it properly https://lists.osgeo.org/pipermail/mapproxy/2013-August/...
mikkokut's user avatar
  • 211
4 votes
Accepted

Reverse Y axis in MapProxy TMS source

I think you need to add a grid specification to your tiles source, e.g.: sources: gisdb_tms: type: tile url: http://localhost:1234/styles/positron/%(z)s/%(x)s/%(y)s.png transparent: ...
batsc's user avatar
  • 86
3 votes

How do I configure MapProxy to show only cache?

Leaving the sources array empty is allowed when you specify an explicit cache property. The following example uses an mbtiles cache, but any cache format should work: caches: local_only: grids: [...
theDmi's user avatar
  • 308
3 votes
Accepted

MapProxy installation on Windows: "SyntaxError: Non-ASCII character '\x90' in file"

Update, Jan 2017: There is a new [MapProxy] 1.9.1 release which should fix this. Source: https://github.com/mapproxy/mapproxy/issues/279 There is an open bug about this on the MapProxy issue ...
chrki's user avatar
  • 2,665
2 votes

Wrong coordinates of mapproxy TMS in Leaflet 0.7

You should be initializing your leaflet map with the EPSG:4326 CRS. e.g.: let map = L.map('map', { layers: [osm, bing, googlemercator], crs: L.CRS.EPSG4326 }) If you don't do that, the tile ...
IvanSanchez's user avatar
  • 10.3k
2 votes

How do I add a MapProxy overlay to Google Maps API?

You need to install mapproxy on your laptop and use mapproxy-serve to configure correctly mapproxy. Mapproxy configuration is based on a yaml file. In this file you need to declare your mapserver ...
xavierraffin's user avatar
2 votes

Using MapProxy to convert WMTS to WMS or TMS

What client won't consume WMTS Which is basically Google XYZ TILE Schema You just first try connecting your map client to this https://tiles.arcgis.com/tiles/ovln19YRWV44nBqV/arcgis/rest/services/...
GeospatialInformationTech's user avatar
2 votes

Mapproxy as transparent OpenStreetMap cache

There a lot of things that can go wrong, especially srs / grid / bbox, as I've found out trying to work this out... So here is full working example for transparent OSM cache, to help next poor soul ...
Matija Nalis's user avatar
2 votes

Creating WMS proxy without capabilities document?

Standalone GeoWebCache http://geowebcache.org/docs/current/index.html does not try to read GetCapabilities. All it requires in the configuration is the GetMap url and the name of the WMS layer that ...
user30184's user avatar
  • 67k
2 votes

Creating WMS proxy without capabilities document?

The easiest way I can imagine is to write a static XML file that has a valid GetCapabilities structure and access that static capabilities with any WMS client. GetCapabilies response contains also ...
user30184's user avatar
  • 67k
2 votes
Accepted

Creating WMS proxy without capabilities document?

You can use MapProxy for that. I do use MapProxy to provide proper Capabilities documents to clients (like OpenLayers or QGIS). I also use it to reproject tile services (like OpenStreetMap tile server)...
jgrocha's user avatar
  • 5,415
2 votes
Accepted

Access WMTS from a GeoTIFF Layer in GeoServer

You have a couple of options: Request the GeoServer layer as a WMTS tile set via GeoWebCache (which is built into your GeoServer install) - MapProxy should be able to combine two WMTS layers. Use ...
Ian Turton's user avatar
  • 82k
2 votes
Accepted

Problems with tiles in MapProxy

I finally found a configuration that works, mostly through trial and error: services: demo: tms: use_grid_names: true origin: 'nw' kml: use_grid_names: true wmts: wms: md: ...
Fang's user avatar
  • 301
2 votes
Accepted

Error while seeding via MapProxy from GeoServer

Increasing the MapProxy Timeout value via globals.http.client_timeout parameter helped me solve this issue.
lakshmi's user avatar
  • 83
2 votes

TMS in UTM grid with MapProxy & OpenLayers 4?

I finally made it work with this configuration: I put the transformed bbox into the grid-definition and set the min_res to the openlayers-resolution of zoom level 0 in mapproxy.yaml: grids: ...
Franka's user avatar
  • 161
2 votes
Accepted

Mapproxy tiles are partly black instead of transparent

Finally solved the issue following the advice of a message on MapProxy mailing list. Seems to be a problem with with an old version of Pillow on Ubuntu 16.04. Update to latest version (and than ...
geraldo's user avatar
  • 960
2 votes

Can't reseed tiles on mapproxy from geoserver wms

You have to set refresh_before or cleanups : remove_before: setting in your seed.yaml. Without them new tiles will not be created.
Tyomik_mnemonic's user avatar
2 votes
Accepted

MapProxy Installation problem with PyProj

My guess is that your pyproj is too new. I reinstalled my setup on a different computer and had to roll back all the way to pyproj 1.9.6. I haven't dug deeper into it, but i think that pyproj has ...
Stefan's user avatar
  • 1,667
2 votes

MapProxy Installation problem with PyProj

To add to Stefan's answer and Baal's comment, I needed these additional commands to make proj 1.9.6 available. (Confirming his suggestion was my issue too) The Make and GCC stuff wasn't obvious to ...
milkmansson's user avatar
2 votes
Accepted

Use custom projection in MapProxy

The only solution I found so far is to edit proj.db directly to add the custom projections. It looks like the pyproj library has evolved over time but MapProxy hasn't caught up with its changed file ...
Gavin's user avatar
  • 525
2 votes

Issues setting up MapProxy to download tiles from an ArcGIS REST Service

The WMS configuration should be right under the services section, in you case there is an extra indentation putting it under demo. Your services section should look like this: services: demo: wms: ...
Shimon Cohen's user avatar
1 vote

MapProxy GetFeatureInfo: passing additional parameter to QGIS Server

Just put it in req part like that: req: [...] WITH_GEOMETRY: TRUE FI_POINT_TOLERANCE : 10 All you request to this WMS GetFeatureInfo will have this parameters.
GSienko's user avatar
  • 1,091
1 vote

MapProxy : possible config issue?

Everything works just fine on my machine, so this isn't a problem with your config file. I run mapproxy 1.11.0, using exactly the yaml definition you posted in your question. I add a WMTS layer from ...
geraldo's user avatar
  • 960
1 vote
Accepted

Publish GeoTIFF-Layer from Geoserver in Mapproxy

If you are using the internal GeoWebcache then you simply need the WMTS capabilities document which is linked from the front page of GeoServer. Inside that document you will find the templates you ...
Ian Turton's user avatar
  • 82k
1 vote

Mapproxy as transparent OpenStreetMap cache

If someone else comes along this Question. The answer to this has been given by Matija Nalis in the P.S. section at the bottom of their answer. You have to use http://localhost:8080/tiles/... in your ...
CaptainInler's user avatar
1 vote
Accepted

MapProxy doesn't start with EPSG:28992 while it starts and works fine with EPSG:4326

I have solved this issue and now MapProxy works fine with EPSG:28992. Problem: In the CentOS installation of package 'Proj' in 'usr/share/proj' directory the file with the name 'epsg' is missing. ...
lakshmi's user avatar
  • 83
1 vote
Accepted

How do I start a MapProxy Instance in the background?

So the command which worked for me is the following: screen -L sudo mapproxy-util serve-develop mapproxy.yaml -b 0.0.0.0:8010
lakshmi's user avatar
  • 83
1 vote

MapProxy WMS Print Scale Problem

according to the MapProxy documentation in the link, there's a utility available to work out scales for you. It's a subcommand for the mapproxy-util command line tool, you can include dpi as an input,...
Steven Kay's user avatar
  • 20.5k
1 vote
Accepted

Host a WMS service from MapProxy SQLite cache?

The documentation was misleading me. You can indeed host a wms server given a sqlite cache. My problem was in my config. I specified the path wrong possibly in globals (used windows style \ instead ...
Karl Uibo's user avatar
  • 121
1 vote

Error in Mapproxy Tile generation for some map zoom level

I figured it out what was the isuue with the error while maptile generation at this zoom level so want to share my experience here. Actually the problem was with my wms sorce where i had configured ...
Rajesh Kumar's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible