[MapProxy] mapproxy and KML

Oliver Tonnhofer olt at omniscale.de
Fri Jun 1 07:32:27 PDT 2012


On 01.06.2012, at 16:04, Friedrich,Martin wrote:
> Here it is.
> 
> layers:
>  - name: osm
>    title: Omniscale OSM WMS - osm.omniscale.net
>    sources: [osm_cache]
>  - name: Grund-Karten
>    title: Grund-Karten
>    sources: ["versorgung:Grund-Karten"]

So the layername is `Grund-Karten`...

> caches:
>  osm_cache:
>    grids: [lemgo_grid]
>    sources: [osm_wms]
>  #grundkarte_cache:
>    #grids: [lemgo_grid]
>    #sources: [osm_wms]
>    #use_direct_from_level: 9
>    #sources: ["versorgung:grundkarte,Wasser"] #,

but you don't use a cache. KML won't work without a cache. If you use that cache...

> grids:
>  global_geodetic_sqrt2:
>    base: GLOBAL_GEODETIC
>    res_factor: 'sqrt2'
> 
>  lemgo_grid:
>    srs: "EPSG:25832"
>    bbox: "476228,5745334,513419,5782688"
>    bbox_srs: "EPSG:25832"
>    num_levels: 13

then it will use EPSG:25832 as the SRS.

so http://server/kml/Grund-Karten_EPSG25832/0/0/0.kml?

Regards,
Oliver

-- 
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
http://mapproxy.org | https://bitbucket.org/olt | @oltonn






More information about the MapProxy mailing list