mapproxy - foss4g2010.foss4g.org/presentations/3225.pdfmapproxy the caching proxy for web map...
TRANSCRIPT
![Page 2: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/2.jpg)
From Oldenburg in Germany
We focus on:
- OpenSource WebGIS, Server development
- OpenStreetMap WMS
- MapProxy development and support
![Page 3: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/3.jpg)
Content
What is it?
About the project
Examples
News
![Page 4: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/4.jpg)
What is it?
![Page 5: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/5.jpg)
Clients
Server
MapProxy
![Page 6: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/6.jpg)
Combine Layer/ServerProjection
Change
Image formats
Protocols/versions
EnhanceWatermarks
Attribution lines
CacheImprove WMS Performance
Tiled access
![Page 7: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/7.jpg)
Map: Copyright David Liuzzo
![Page 8: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/8.jpg)
Map: Copyright David Liuzzo
![Page 9: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/9.jpg)
Sources
WMS1.0.0/1.1.1/1.3.0
WMS-C
TMS Custom Tiles(Google Maps/Bing/etc.)
![Page 10: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/10.jpg)
Services
WMS1.0.0/1.1.1/1.3.0
WMS-C
TMS KMLSuper Overlays
![Page 11: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/11.jpg)
About the project
![Page 12: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/12.jpg)
History
Started late 2008
In production since mid 2009
OpenSource since early 2010
![Page 13: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/13.jpg)
Releases
0.8.4 current
0.9.0 upcoming release
![Page 14: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/14.jpg)
Written in Python
Runs onLinux/UnixWindows
License Affero GPL v3
Testedlots of unit/system
tests
Deployment HTTP or FastCGI
![Page 15: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/15.jpg)
DistributedSCM ✓
Issue tracker ✓Mailing list ✓
Blog ✓
![Page 16: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/16.jpg)
Example-driven introduction
![Page 17: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/17.jpg)
Getting started
% paster create --template \ mapproxy_conf foss4g_example% cd foss4g_example% paster serve etc/develop.ini --reload
![Page 18: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/18.jpg)
http://localhost:8080/service?…
![Page 19: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/19.jpg)
Example 1
BlueMarbleby NASA
Satellite imagery Background
US populationby demo.opengeo.org
Vector data Overlay
Enhance existing WMS server
![Page 20: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/20.jpg)
sourcessources: us_pop_wms: type: wms req: url: http://demo.opengeo.org/geoserver/wms? layers: ‘topp:states’ transparent: true format: image/png bluemarble_wms: type: wms supported_srs: ['EPSG:4326'] req: url: http://neowms.sci.gsfc.nasa.gov/wms/wms? layers: BlueMarbleNG
![Page 21: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/21.jpg)
caches & layers
caches: us_pop_cache: sources: [bluemarble_wms, us_pop_wms] grids: [GLOBAL_GEODETIC]
layers: world: title: BlueMarble + US Population sources: [us_pop_cache]
![Page 22: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/22.jpg)
services
services: tms: kml: wms: srs: ['EPSG:900913', 'EPSG:4326'] image_formats: [image/png, image/jpeg] md: title: MapProxy WMS Demo abstract: FOSS4G Demo contact: person: Oliver Tonnhofer organization: Omniscale
![Page 23: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/23.jpg)
WMS
http://localhost:8080/service?request=GetCapabilities&service=WMS
GetMap
GetCapabilities
EPSG:4326 EPSG:900913
![Page 24: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/24.jpg)
TMShttp://localhost:8080/tms/1.0.0/world_EPSG4326
<?xml version="1.0" encoding="UTF-8" ?> <TileMap version="1.0.0"> <Title>BlueMarble + Country Borders</Title> <Abstract></Abstract> <SRS>EPSG:4326</SRS> <BoundingBox minx="-180.0" miny="-90.0" maxx="180.0" maxy="90.0" /> <Origin x="-180.0" y="-90.0" /> <TileFormat width="256" height="256" mime-type="image/jpeg" extension="jpeg" /> <TileSets profile="global-geodetic"> <TileSet href="http://localhost:8080/tms/1.0.0/world_EPSG4326/0" units-per-pixel="0.703125" order="0" /> <TileSet href="http://localhost:8080/tms/1.0.0/world_EPSG4326/1" units-per-pixel="0.3515625" order="1" />
...
![Page 25: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/25.jpg)
TMShttp://localhost:8080/tms/world_EPSG4326/3/4/5.jpeg
ETag: 5c4a1f9bcaf1b95b283a512357ff42fcCache-control: max-age=259200 public...
HTTP cache control
HTTP/1.1 304 Not Modified
![Page 26: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/26.jpg)
TMShttp://localhost:8080/tms/world_EPSG4326/3/4/5.jpeg
![Page 27: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/27.jpg)
http://localhost:8080/kml/world_EPSG4326/0/0/0.kml
KML
![Page 28: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/28.jpg)
Spherical mercator?Google Maps, Bing, OSM, etc.
Reprojects BlueMarble from EPSG:4326
adds tms/1.0.0/world_EPSG900913
caches: us_pop_cache: sources: [bluemarble_wms, us_pop_wms] grids: [GLOBAL_GEODETIC, GLOBAL_MERCATOR]
![Page 29: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/29.jpg)
Featureinfo?
world layer is now queryable
sources: us_pop_wms: type: wms wms_opts: featureinfo: true req: url: http://demo.opengeo.org/geoserver/wms? layers: ‘topp:states’ transparent: true format: image/png
![Page 30: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/30.jpg)
GetFeatureInfo
![Page 31: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/31.jpg)
Example 2Improve WMS performance
OpenStreetMap WMS with CPU/IO intensive rendering
- Large dataset
- Lots of details
- Rendering with anti-aliasing
![Page 32: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/32.jpg)
sources
sources: osm_wms: type: wms req: url: http://localhost:81/mapnik? layers: osm
![Page 33: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/33.jpg)
caches
caches: osm_cache: sources: [osm_wms] grids: [osm_germany] link_single_color_images: true
![Page 34: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/34.jpg)
Caching
MapProxy allows free-zooming
but
caches at fixed resolutions
![Page 35: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/35.jpg)
Vector scaling
![Page 36: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/36.jpg)
x2
x2
![Page 37: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/37.jpg)
![Page 38: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/38.jpg)
Vector scaling
![Page 39: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/39.jpg)
2√
![Page 40: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/40.jpg)
grid
grids: osm_germany: srs: ‘EPSG:25832’ bbox: [-3.82, 46.18, 24.91, 55.23] bbox_srs: ‘EPSG:4326’ res_factor: sqrt2
![Page 41: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/41.jpg)
More grid options
min_resolution max_resolution num_levels
tile_size res res_factor
![Page 42: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/42.jpg)
Cache pre-generation
% mapproxy-seed -f etc/mapproxy.yaml \ etc/seed.yaml -c 8
![Page 43: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/43.jpg)
Cache pre-generation
% mapproxy-seed -f etc/mapproxy.yaml \ etc/seed.yaml -c 8
Multiprocessing
![Page 44: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/44.jpg)
views: germany: bbox: [7.36, 46.33, 14.28, 56.09] bbox_srs: ‘EPSG:4326’ level: [0, 14] srs: ['EPSG:900913', 'EPSG:4326']
seeds: osm: views: ['germany'] remove_before: month: 1 days: 3
seed.yaml
![Page 45: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/45.jpg)
Colorado not-Colorado
![Page 46: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/46.jpg)
germany: polygons: 'polygons/GM.txt' polygons_srs: EPSG:900913 level: [0, 14] srs: ['EPSG:900913', 'EPSG:4326']
seed.yaml
germany: ogr_datasource: 'shps/world_boundaries_m.shp' ogr_where: 'CNTRY_NAME = "Germany"' ogr_srs: 'EPSG:900913' level: [0, 14] srs: ['EPSG:900913', 'EPSG:4326']
Any OGR source (Shapefile, PostGIS, etc.)
WKT polygons http://mapproxy.org/static/polygons/
![Page 47: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/47.jpg)
Seed strategyNormal
level per level, top to bottom, left to right
![Page 48: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/48.jpg)
Seed strategy
recursive depth-first traversal
works with the OS/DB cache
Normal
level per level, top to bottom, left to right
mapproxy-seed
![Page 49: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/49.jpg)
PNG8 870x530 = 50ms
![Page 50: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/50.jpg)
ReprojectedPNG8 870x530 = 130ms
![Page 51: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/51.jpg)
Single Tile < 1ms
![Page 52: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/52.jpg)
News
![Page 53: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/53.jpg)
Python Image Library
Really fast C-based imaging library
only Issues: slow PNG performanceno transparency PNG8
![Page 54: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/54.jpg)
Python Image Library
Really fast C-based imaging library
http://bitbucket.org/olt/pil-117-fastpng
Now fixed!to be included in next PIL release
10x faster – same as libjpegfull transparency for PNG8
![Page 55: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/55.jpg)
Jython
Python implementation for JVMno support for C extensions
![Page 56: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/56.jpg)
Jython
Python implementation for JVMno support for C extensions
Jython wrapper with
Java ImageIO/JAIGeoTools
![Page 57: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/57.jpg)
Jython
NEW
Python implementation for JVMno support for C extensions
Jython wrapper with
Java ImageIO/JAIGeoTools
MapProxy as .waralpha release
![Page 58: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/58.jpg)
Visit http://mapproxy.org
Join http://lists.osgeo.org/mailman/listinfo/mapproxy
Read http://blog.mapproxy.org
Thank you.
Oliver Tonnhofer <[email protected]>
![Page 59: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/59.jpg)
![Page 60: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/60.jpg)
Backup tiles below
![Page 61: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/61.jpg)
Level 3 Level 4
![Page 62: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/62.jpg)
Level 3 Level 4
![Page 63: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/63.jpg)
Level 3 Level 4
![Page 64: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/64.jpg)
Level 3 Level 4
![Page 65: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/65.jpg)
Level 3 Level 4
![Page 66: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/66.jpg)
Level 3 Level 4
![Page 67: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/67.jpg)
Level 4 Level 3 Level 2
![Page 68: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/68.jpg)
Level 4 Level 3 Level 2
![Page 69: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/69.jpg)
Level 4 Level 3 Level 2
![Page 70: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/70.jpg)
Level 4 Level 3 Level 2
![Page 71: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/71.jpg)
Level 4 Level 3 Level 2
![Page 72: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/72.jpg)
Level 4 Level 3 Level 2
![Page 73: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/73.jpg)
Level 4 Level 3 Level 2
![Page 75: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/75.jpg)
Deployment
Develop Production
Protocol HTTP FastCGI or HTTP
Server embeddedApache, nginx,
lighttpd, varnish, squid, ...
with auto reloading
![Page 76: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/76.jpg)
Clients
Server
MapProxySources
Services
![Page 77: MapProxy - FOSS4G2010.foss4g.org/presentations/3225.pdfMapProxy The caching proxy for web map services ... lots of unit/system ... [GLOBAL_GEODETIC] layers: world: title:](https://reader034.vdocuments.us/reader034/viewer/2022051800/5ace67ea7f8b9a56098bbce5/html5/thumbnails/77.jpg)
advanced seed strategy
“empty tiles” handling
reprojection
before cachingon request
on-the-flyfree zooming
improved vector support
TMS
WMS seed polygon areasWKT shapefiles
custom color quantizer
fast PNG encoding
merge layers
watermarks
KML
WMS-C