Combining WMTS of api.geo.admin.ch with G* Maps or OpenStreetMap

218 views
Skip to first unread message

Stefan Keller

unread,
Nov 28, 2011, 3:01:42 PM11/28/11
to GeoAdmin API
Dear all

I'd like to combine the WMTS of api.geo.admin.ch with other WMTS (like
G* Maps or OpenStreetMap) using OpenLayers.
These other WMTS are not in EPSG:21781 but typically EPSG:900913
(being an alias to EPSG:3857).
Here we have a raster re-projection problem.
According to [1] this seems feasible by using proj4js - but I doubt if
this works and how performant it is (OpenLayers loads up to 60 tiles
which all have to be reprojected.)
Does anyone have experience with this?

Yours, Stefan

P.S. I know MapProxy but I really want to do this reprojection in the
client.

[1] http://wiki.openstreetmap.org/wiki/OpenLayers_Simple_Example#Use_Proj4js_for_other_transformations

Marc Monnerat

unread,
Nov 30, 2011, 2:14:57 AM11/30/11
to GeoAdmin API
Hello Stefan,

The only thing I a aware is the gdalwarp-js library, loosely based on
a HTML5 and canvas work by Klokan Petr Přidal. There are some demos
around, but only reprojecting WMS.


Marc

> [1]http://wiki.openstreetmap.org/wiki/OpenLayers_Simple_Example#Use_Proj...

Alexander Gabriel

unread,
Mar 13, 2013, 10:50:17 AM3/13/13
to geoadm...@googlegroups.com
Hi

We (Fachstelle Naturschutz Kt. Zürich in a project related web-app) have the same interest. We're using wms from Kanton Zürich serving diverse layers, maps and aerial fotos. The performance is very spotty though, at times the maps don't build up for minutes. We want to serve google aerial fotos as fallback for these situations. So they would have to be combined with layers using EPSG 21781.

Alex

Am Mittwoch, 13. März 2013 schrieb :
Hello,

I'm also interested by this issue, as I already have a map (openstreetmap and gmaps) and methods using OpenLayers API and I don't want to switch to geoadmin, so I would like to add a new swisstopo layer
--
You received this message because you are subscribed to the Google Groups "GeoAdmin API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geoadmin-api...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 


--

 

***********************************************************

 

Alexander Gabriel
Wiesenstrasse 22
8800 Thalwil
079/ 372 51 64
al...@barbalex.ch
www.barbalex.ch


Moullet Cédric swisstopo

unread,
Mar 14, 2013, 2:34:20 AM3/14/13
to geoadm...@googlegroups.com

Hi,

All the examples of client side reprojection that I have seen are not performant, so I’m not sure that it’s the way to go (but this could change with OpenLayers 3 and the usage of WebGL).

In addition, the reprojection degrades the quality of the original tiles.

For swiss applications, I can only recommend to work with EPSG:21781.

Cédric

 

De : geoadm...@googlegroups.com [mailto:geoadm...@googlegroups.com] De la part de Alexander Gabriel
Envoyé : mercredi 13 mars 2013 15:50
À : geoadm...@googlegroups.com
Objet : Re: Combining WMTS of api.geo.admin.ch with G* Maps or OpenStreetMap

Reply all
Reply to author
Forward
0 new messages