[MapProxy] Merged Tiles- Differences Between Versions
Jeremy Holt
jholt at adc4gis.com
Mon Jul 15 07:20:14 PDT 2013
Sure thing,
Attached are the configs (trimmed) for both versions of mapproxy. These
focus on two related layers that exist across versions.
As stated, the same request is being made to both mapproxy instances, but
with different results. You should see the error output by following the
second link provided, but I've included that as well.
The 1.5 version is running on Ubuntu 12.04.2 LTS (GNU/Linux
3.2.0-40-generic x86_64)
The 0.8 version is running on CentOS
Hopefully this is enough to establish if the issue is with my configs, or
if this functionality has changed so much between versions that a new
workflow needs to be defined.
Thanks!!
On Mon, Jul 15, 2013 at 3:35 AM, Oliver Tonnhofer <olt at omniscale.de> wrote:
> Hi,
>
> please provide a few more details (configuration, exact error output).
> See also http://mapproxy.org/support.html#how-to-ask-for-help
>
>
> Regards,
> Oliver
>
> --
> Oliver Tonnhofer | Omniscale GmbH & Co KG | http://omniscale.com
> http://mapproxy.org | https://github.com/olt | @oltonn
>
>
>
>
>
>
>
>
--
Jeremy Holt
GIS Consultant
Applied Data Consultants, Inc.
www.adc4gis.com
715-874-4397 ext. 243
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20130715/825e8358/attachment.html>
-------------- next part --------------
# #########################
# # MapProxy configuration
# #########################
# # which servers should be started?
# server: ['wms', 'tms', 'kml']
# # WMS server options
wms:
# supported image formats
image_formats: ['image/jpeg', 'image/png', 'image/gif', 'image/GeoTIFF', 'image/tiff']
# supported SRS
srs: ['EPSG:4326', 'EPSG:4258', 'CRS:84', 'EPSG:900913',
'EPSG:31466', 'EPSG:31467', 'EPSG:31468',
'EPSG:25831', 'EPSG:25832', 'EPSG:25833',
'EPSG:103930', 'EPSG:26914', 'EPSG:103901',
'EPSG:103902', 'EPSG:103426', 'EPSG:96922',
'EPSG:103450', 'EPSG:103441', 'EPSG:0', 'EPSG:103950',
'EPSG:103456', 'EPSG:103456', 'EPSG:103444', 'EPSG:103969', 'EPSG:103408', 'EPSG:32054', 'EPSG:103459', 'EPSG:3070', 'EPSG:103454', 'EPSG:102100', 'EPSG:103407', 'EPSG:103460', 'EPSG:103413', 'EPSG:103409', 'EPSG:102704', 'EPSG:103406', 'EPSG:103446', 'EPSG:103433', 'EPSG:103411']
# # when set to True return tracebacks on error
# # do not enable this in production!
# debug_mode: False
# # image/transformation options
image:
# nearest, bilinear, bicubic
resampling_method: 'bicubic'
jpeg_quality: 85
# stretch cached images by this factor before
# using the next level
stretch_factor: 1.15
# shrink cached images up to this factor before
# returning an empty image (for the first level)
max_shrink_factor: 4.0
# # coordinate transformation options
# srs:
# # WMS 1.3.0 requires all coordiates in the correct axis order,
# # i.e. lon/lat or lat/lon. Use the following settings to
# # explicitly set a CRS to either North/East or East/North
# # ordering.
# axis_order_ne: ['EPSG:9999', 'EPSG:9998']
# axis_order_en: ['EPSG:0000', 'EPSG:0001']
# # you can set the proj4 data dir here, if you need custom
# # epsg definitions. the path must contain a file named 'epsg'
# # the format of the file is:
# # <4326> +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs <>
# proj_data_dir: './srs'
srs:
proj_data_dir: './srs'
# # number of concurrent requests to a tile source
tile_creator_pool_size: 12
# # default names of the configuration files
services_conf: 'services.yaml'
#log_conf: 'log.ini'
# # cache options
cache:
# where to store the cached images
base_dir: '../var/cache_data'
# where to store lockfiles
lock_dir: '../tmp/tile_locks'
# request x*y tiles in one step
meta_size: [6, 6]
# add a buffer on all sides (in pixel) when requesting
# new images
meta_buffer: 256
# do not process requests with more than x tiles
max_tile_limit: 2048
# # TMS/Tile server options
tiles:
# HTTP cache control expire time
expires_hours: 72
# # time out for requests to tile sources
http_client_timeout: 600
-------------- next part --------------
service:
md:
title: WGX MapProxy Instance
layers:
# DOUGLAS COUNTY, NE
- douglascone:
md:
title: Douglas County, NE Main Tab
param:
format: image/png32
srs: 'EPSG:102704'
res: [651.0416666666665,564.2361111111111,477.4305555555556,390.62500000000006,303.8194444444444,217.01388888888889,130.20833333333334,86.80555555555554,69.44444444444444,43.40277777777777,30.381944444444443,21.701388888888886,15.190972222222221,8.680555555555555,6.510416666666666,4.340277777777778,3.472222222222222,2.6041666666666665,1.736111111111111,0.8680555555555555,0.43402777777777773,0.1736111111111111]
request_format: image/png32
tile_size: [256, 256]
sources:
- type: cache_wms
req:
url: http://172.25.20.151:6080/arcgis/services/DouglasCoNE/DouglasCoNE_Main/MapServer/WMSServer?
layers: 5,9,15,16,17,18,21
transparent: 'true'
- douglascone_aerial_2010:
md:
title: 2010 6in Color Aerial
param:
format: image/jpeg
srs: 'EPSG:102704'
res: [651.0416666666665,564.2361111111111,477.4305555555556,390.62500000000006,303.8194444444444,217.01388888888889,130.20833333333334,86.80555555555554,69.44444444444444,43.40277777777777,30.381944444444443,21.701388888888886,15.190972222222221,8.680555555555555,6.510416666666666,4.340277777777778,3.472222222222222,2.6041666666666665,1.736111111111111,0.8680555555555555,0.43402777777777773,0.1736111111111111]
request_format: image/jpeg
tile_size: [256, 256]
sources:
- type: cache_wms
req:
url: http://172.25.20.151:6080/arcgis/services/DouglasCoNE/DouglasCoNE_Main/MapServer/WMSServer?
layers: 0
transparent: 'false'
-------------- next part --------------
services:
demo:
kml:
tms:
# needs no arguments
wmts:
wms:
srs: ['EPSG:4326', 'EPSG:900913','EPSG:103405', 'EPSG:4258','EPSG:31466', 'EPSG:31467', 'EPSG:31468', 'EPSG:25831', 'EPSG:25832', 'EPSG:25833', 'EPSG:103930', 'EPSG:26914', 'EPSG:103901', 'EPSG:103902', 'EPSG:103426', 'EPSG:96922', 'EPSG:103450', 'EPSG:103441', 'EPSG:0', 'EPSG:103950', 'EPSG:103456', 'EPSG:103456', 'EPSG:103444', 'EPSG:103969', 'EPSG:103408', 'EPSG:32054', 'EPSG:103459', 'EPSG:3070', 'EPSG:103454', 'EPSG:102100', 'EPSG:103407', 'EPSG:103460', 'EPSG:103413', 'EPSG:103409', 'EPSG:102704', 'EPSG:103406', 'EPSG:103446', 'EPSG:103433', 'EPSG:103411']
image_formats: ['image/jpeg', 'image/png32', 'image/png' ]
layers:
- name: douglascone_layer
title: DouglasCoNE Test
sources: [douglascone]
- name: douglascone_aerial_2010_layer
title: douglascone_aerial_2010
sources: [douglascone_aerial_2010]
caches:
douglascone:
grids: [douglascone_grid]
sources: [douglascone_wms]
douglascone_aerial_2010:
grids: [douglascone_grid]
sources: [douglascone_aerial_2010_wms]
format: image/jpeg
sources:
douglascone_wms:
type: wms
concurrent_requests: 2
req:
url: http://172.25.20.9:6080/arcgis/services/DouglasCoNE/DouglasCoNE_Main/MapServer/WmsServer?
layers: 5,9,15,16,17,18,21
supported_srs: ['EPSG:4326', 'EPSG:102704']
supported_formats: ['image/png', 'image/png32', 'image/jpeg']
douglascone_aerial_2010_wms:
type: wms
concurrent_requests: 2
req:
url: http://172.25.20.9:6080/arcgis/services/DouglasCoNE/DouglasCoNE_Main/MapServer/WmsServer?
layers: 0
supported_srs: ['EPSG:4326', 'EPSG:102704']
supported_formats: ['image/jpeg']
format: image/jpeg
grids:
douglascone_grid:
srs: 'EPSG:102704'
tile_size: [256, 256]
bbox: [2587272.295988, 473711.14879303, 2808192.4348768, 643416.00990415]
res: [651.0416666666665,564.2361111111111,477.4305555555556,390.62500000000006,303.8194444444444,217.01388888888889,130.20833333333334,86.80555555555554,69.44444444444444,43.40277777777777,30.381944444444443,21.701388888888886,15.190972222222221,8.680555555555555,6.510416666666666,4.340277777777778,3.472222222222222,2.6041666666666665,1.736111111111111,0.8680555555555555,0.43402777777777773,0.1736111111111111]
globals:
srs:
proj_data_dir: './srs'
# # cache options
cache:
# where to store the cached images
base_dir: '/mnt/cache'
# where to store lockfiles
lock_dir: '/tmp/tile_locks'
# # request x*y tiles in one step
meta_size: [6, 6]
# # add a buffer on all sides (in pixel) when requesting
# # new images
meta_buffer: 256
# image/transformation options
image:
# resampling_method: nearest
# resampling_method: bilinear
resampling_method: bicubic
jpeg_quality: 90
# # stretch cached images by this factor before
# # using the next level
stretch_factor: 1.15
# # shrink cached images up to this factor before
# # returning an empty image (for the first level)
max_shrink_factor: 4.0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MP_service_error.xml
Type: text/xml
Size: 308 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20130715/825e8358/attachment.xml>
More information about the MapProxy
mailing list