Post by VladimirHello ALL!
1) MapCache uses Mapserv for seeding tiles or more exactly -
<source>....</source> section in a mapcache.xml file
2) Ol uses MapCache for rendering that tiles or more exactly -
new ol.layer.Tile({
source: new ol.source.TileWMS(({
url: 'myhost/mapcache/?',
params: {'LAYERS': 'mytileset'},
serverType: 'mapserver'
}))
})
where
/mapcache/ is path to a mapcache.xml(aliased through Apache),
'mytileset' is <tileset name="mytileset"> section in a mapcache.xml file
3)The Seeding and the rendering needs other configuration of
mapcache.xml file(it is needs clarification).
mapcache_seed -c mapcache.xml -t mytileset-g mygrid
or
during a certain map area is requested by client (it is needs
clarification).
Yes, this seems correct. I will not that you CAN NOT use mapcache_seed
mechanisms. So either use mapcache_seed before you deploy or use the web
requests to dynamically seed the cache. You can use mapcache_seed to do
areas.
Post by VladimirThanks for any correction.
Best regards.
Wed, 1 Oct 2014 19:33:12 -0400 от Travis Kirstine
Tim,
MapCache Is simply a tiling server. It will take images from a
source and store them in a cache. These tiles are exposed as
services to clients - WMTS, WMS, TMS etc... MapServer on the other
hand will read source data (GIS files / database) and render images
based on rules defined in the mapfile. These images are used as the
source for MapCache.
I have read through the Mapcache documentation but I feel like I
am missing some basic elements to how it works.
I am using Mapcache to display a mbtile that I have created.
Now from what I understand, my mapcache .xml will list out the
parameters of the mbtile and then I add a layer within my
mapfile referencing the .xml which I should then be able to to
use as WMTS using openlayers. I just haven't grasped how
mapcache and mapserv work together so any clarification would be
helpful. Thanks for your time.
--
Timothy Nasman
Data Analyst | Programmer
Rolling Leaf Inc.
[V] : 910.274.1436
_______________________________________________
mapserver-users mailing list
http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
FBS Logo
*Travis Kirstine*, Web Development Supervisor
*t *905‑477‑3600/ x /301 | *m *905‑534‑4798 |
*First Base Solutions Inc.*
140 Renfrew Drive, Suite 100 | Markham | Ontario | L3R 6B3
*t* 905‑477‑3600 | *f* 905‑477‑0892 | www.firstbasesolutions.com
<http://www.firstbasesolutions.com>
_______________________________________________
mapserver-users mailing list
http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
Владимир
_______________________________________________
mapserver-users mailing list
http://lists.osgeo.org/mailman/listinfo/mapserver-users