[MapProxy] EPSG:4326 requests from a Tile Source
Jason Lee
jaslee.st at gmail.com
Mon Dec 13 07:48:25 EST 2010
Hi Oliver,
I have been trying the mentioned setup in the past few days but with no luck
(accessing EPSG:900913 tiles in EPSG:4326 projection). When I try a sample
WMS fetch ("cache2" in your example), the server seems to be taking forever
to process but never responds.
Here is my sample request (somewhere in UK) :-
http://localhost:8080/service?VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=-6.14923138083586,50.5891706243825,.65875337292708,53.279367067595&WIDTH=1068&HEIGHT=422&LAYERS=cache2&STYLES=&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE<http://atlas:8080/service?VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=-6.14923138083586,50.5891706243825,.65875337292708,53.279367067595&WIDTH=1068&HEIGHT=422&LAYERS=proj_tiles&STYLES=&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE>
Regards,
Jason
On Tue, Dec 7, 2010 at 8:29 AM, Oliver Tonnhofer <olt at omniscale.de> wrote:
>
> On 06.12.2010, at 18:36, Jason Lee wrote:
>
> > Thanks again Oliver.
> > Just thinking, if I add an additional WMS source layer, "wms_layer",
> referencing the "my_tiles" layer as the WMS source. Would the reprojection
> then work?
> > i.e. "wms_layer" request in EPSG:4326 would trigger the "my_tiles"
> EPSG:900913 Tiles source on the same server. I did try it, but MapProxy
> seemed to be hanging.
>
>
> You want to access the tiles in another projection? Hmmm, it should work
> with a configuration like this:
>
> layers:
> cache1:
> sources: [cache1]
> cache2:
> sources: [cache2]
>
> caches:
> cache1:
> sources: [tilesource]
> grids: [GLOBAL_MERCATOR]
> cache2:
> sources: [wmssource]
> grids: [GLOBAL_GEODETIC]
>
> sources:
> tilesource:
> ...
> wmssource:
> req:
> url: http://localhost:8080/service?
> layers: cache1
>
> > Could you tell me more specifically, as you mentioned, how I would be
> able to request cached data in another projection?
>
> That should work out of the box if you use WMS.
>
>
> Regards,
> Oliver
>
> --
> Oliver Tonnhofer <olt at omniscale.de>
> Omniscale - Dominik Helle, Oliver Tonnhofer GbR
> Nadorster Str. 60, 26123 Oldenburg
> Tel: +49(0)441/9392774-2 (Fax: 9)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapproxy/attachments/20101213/d577a1c4/attachment.html
More information about the MapProxy
mailing list