my mapcache service
woot! this is a service abstract!
this is a custom grid I made up for an example
EPSG:4326
EPSG:foobar
256 256
-180 -90 180 90
0.1 0.05 0.025 0.0125
Lambert 1993
-357823.2365 6037008.6939 1313632.3628 7230727.3772
EPSG:2154
IGNF:LAMB93
2048 1024 512 256 128 64 32 16 8 4 2 1 0.5 0.25 0.125 0.0625
m
256 256
-9.62 41.18 10.3 51.54
EPSG:4171
IGNF:RGF93
0.026726773770953713 0.013363386885476856 0.006681693442738428 0.003340846721369214 0.001670423360684607 0.0008352116803423035 0.00041760584017115176 0.00020880292008557588 0.00010440146004278794 0.00005220073002139397 0.000026100365010696985 0.000013050182505348493 0.000006525091252674246 0.000003262545626337123 0.0000016312728131685616 0.0000008156364065842808
dd
256 256
Goportail - France mtropolitaine
-524288 4456448 786432 5767168
EPSG:310024802
IGNF:GEOPORTALFXX
EPSG:310024001
2048 1024 512 256 128 64 32 16 8 4 2 1 0.5 0.25 0.125 0.0625
m
256 256
Goportail - Antilles franaises
-6791168 1761280 -6553600 2023424
EPSG:310915814
IGNF:GEOPORTALANF
EPSG:310495002
2048 1024 512 256 128 64 32 16 8 4 2 1 0.5 0.25 0.125 0.0625
m
256 256
Goportail - Guyane
-6070272 235047 -5726208 647168
EPSG:310486805
IGNF:GEOPORTALGUF
EPSG:310486003
2048 1024 512 256 128 64 32 16 8 4 2 1 0.5 0.25 0.125 0.0625
m
256 256
Goportail - Mayotte
4901888 -1447936 4932608 -1405952
EPSG:310702807
IGNF:GEOPORTALMYT
EPSG:310702005
2048 1024 512 256 128 64 32 16 8 4 2 1 0.5 0.25 0.125 0.0625
m
256 256
Goportail - Runion et dpendances
5734400 -2383872 5808128 -2318336
EPSG:310700806
IGNF:GEOPORTALREU
EPSG:310700004
2048 1024 512 256 128 64 32 16 8 4 2 1 0.5 0.25 0.125 0.0625
m
256 256
Goportail - Nouvelle-Caldonie
16777216 -2555904 17301504 -2162688
EPSG:310547809
IGNF:GEOPORTALNCL
2048 1024 512 256 128 64 32 16 8 4 2 1 0.5 0.25 0.125 0.0625
m
256 256
Goportail - Saint-Pierre et Miquelon
-4325376 5177344 -4259840 5308416
EPSG:310706808
IGNF:GEOPORTALSPM
EPSG:310706006
2048 1024 512 256 128 64 32 16 8 4 2 1 0.5 0.25 0.125 0.0625
m
256 256
Goportail - Wallis et Futuna
-19267584 -1638400 -19005440 -1441792
EPSG:310642810
IGNF:GEOPORTALWLF
2048 1024 512 256 128 64 32 16 8 4 2 1 0.5 0.25 0.125 0.0625
m
256 256
Goportail - Crozet
3801088 -5242880 4128768 -5046272
EPSG:310642801
IGNF:GEOPORTALCRZ
2048 1024 512 256 128 64 32 16 8 4 2 1 0.5 0.25 0.125 0.0625
m
256 256
Goportail - Kerguelen
4915200 -5636096 5177344 -5373952
EPSG:310642812
IGNF:GEOPORTALKER
2048 1024 512 256 128 64 32 16 8 4 2 1 0.5 0.25 0.125 0.0625
m
256 256
Goportail - Polynsie franaise
-16384000 -2097152 -15990784 -1703936
EPSG:310032811
IGNF:GEOPORTALPYF
EPSG:310032009
2048 1024 512 256 128 64 32 16 8 4 2 1 0.5 0.25 0.125 0.0625
m
256 256
Goportail - Amsterdam et Saint-Paul
-6791168 1761280 -6553600 2023424
EPSG:310642813
IGNF:GEOPORTALASP
2048 1024 512 256 128 64 32 16 8 4 2 1 0.5 0.25 0.125 0.0625
m
256 256
Terre Adlie 1950
196098 225276 720386 749564
EPSG:2986
IGNF:TERA50STEREO
2048 1024 512 256 128 64 32 16 8 4 2 1 0.5 0.25 0.125 0.0625
m
256 256
Goportail - Monde
-20037504 -10018752 20037504 10018752
EPSG:310642901
IGNF:MILLER
39135.75 19567.875 9783.9375 4891.96875 2445.984375
m
256 256
/tmp
/tmp/template-test/{tileset}#{grid}#{dim}/{z}/{x}/{y}.{ext}
/tmp/mysqlitetiles.db
value
create table if not exists tiles(tileset text, grid text, x integer, y integer, z integer, data blob, dim text, ctime datetime, primary key(tileset,grid,x,y,z,dim))
select 1 from tiles where x=:x and y=:y and z=:z and dim=:dim and tileset=:tileset and grid=:grid
select data,strftime("%s",ctime) from tiles where tileset=:tileset and grid=:grid and x=:x and y=:y and z=:z and dim=:dim
insert or replace into tiles(tileset,grid,x,y,z,data,dim,ctime) values (:tileset,:grid,:x,:y,:z,:data,:dim,datetime('now'))
delete from tiles where x=:x and y=:y and z=:z and dim=:dim and tileset=:tileset and grid=:grid
/tmp/foo/
/tmp/
{tileset}-{grid}-{dim}-{z}-{y}-{x}.{ext}
https://myserver/webdav/{tileset}/{grid}/{z}/{x}/{y}.{ext}
my-virtualhost-alias.domain.com
foo
foo
foo
foo
https://foo.s3.amazonaws.com/tiles/{tileset}/{grid}/{z}/{x}/{y}/{ext}
foo.s3.amazonaws.com
foo
foo/sdsvd
eu-west-1
REDUCED_REDUNDANCY
public-read
https://foo.blob.core.windows.net/tiles/{tileset}/{grid}/{z}/{x}/{y}/{ext}
foo.blob.core.windows.net
foo
foobarcccccccccccccccccccccyA==
tiles
https://storage.googleapis.com/mytiles-mapcache/{tileset}/{grid}/{z}/{x}/{y}.{ext}
GOOGPGDWFDG345SDFGSD
sdfgsdSDFwedfwefr2345324dfsGdsfgs
public-read
cache_tiff/{tileset}/{grid}/L{z}/R{inv_y}/C{x}.tif
https://example.com/cache_tiff/{tileset}/{grid}/L{z}/R{inv_y}/C{x}.tif
/dev/shm/google-mapcache.header
10
3
https://storage.googleapis.com/cache_tiff/{tileset}/{grid}/L{z}/R{inv_y}/C{x}.tif
GOOGPGDWFDG345SDFGSD
sdfgsdSDFwedfwefr2345324dfsGdsfgs
10
3
fast
256
75
RGB
true
best
PNG_BEST
JPEG
image/png
basic
http://vmap0.tiles.osgeo.org/wms/vmap0
30
300
http://localhost/cgi-bin/mapserv?
image/png
default
/Users/tbonfort/dev/mapserver-utils/osm-google.map
http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi
image/png
nexrad_base_reflect
true
http://geoservices.brgm.fr/geologie?
image/png
GRAVI_BASE
true
text/plain,application/vnd.ogc.gml
GRAVI_BASE
vmap0
sqlite
WGS84
g
vmap0 map
blabla
foo
bar
PNG
5 5
10
3600
86400
foobar
foobarbaz
foo
bar
^(?!.*\.\.)[a-zA-Z0-9\./]*\.map$
0/5000/1000
nexrad
disk
mixed
WGS84
basic
disk
PNG
WGS84
5 5
30
osm mapserver served map of midi-pyrnes
see http://mapserver-utils.googlecode.com
osm
sqlite
PNG
FXX
MILLER
WGS84
g
5 5
1
10
JPEG
assemble
bilinear
myjpeg
4096
report
/tmp
0.01
/tmp
localhost
11211
memcache-host
11212
0.3
true
2000
1000000
info
true