open source basecamp

RSS
Twitter
 
Blog

Posts Tagged ‘Tilecache’

SwitzerlandMobility: new website!

Thursday, May 5th, 2011 by Emmanuel Belo

On May 1st, Camptocamp deployed the new version of the interactive map website map.schweizmobil.ch. The component “MY, Draw with the SwitzerlandMobilityCard” is the innovation of this last version which now allows users to prepare their trips by mapping them on official and standard signalized route network for non-motorized traffic. Users can now customize their itineraries with the following functions :

  • drawing and archiving
  • calculation of specifications (distance, difference in altitude, profile, time)
  • printing
  • GPS routing and data export
  • GPS routing import and display on a Web map
  • sending and sharing maps of your itineraries with friends.

map.schweizmobil.ch is based on the Open Source MapFish project initiated by Camptocamp.

Hosting of the solution on the le cloud is provided by Camptocamp’s Infrastruture Solutions division.

SuisseMobile : nouveau site cartographique

Monday, May 2nd, 2011 by Emmanuel Belo

Camptocamp a mis en production ce premier mai la nouvelle version du site cartographique interactif map.schweizmobil.ch. Cette dernière version intègre un nouveau concept qui permet à l’utilisateur de préparer ses excursions. Vous pouvez désormais utiliser la carte Web de SuisseMobile non seulement pour obtenir des informations sur les itinéraires balisés mais dès maintenant aussi pour préparer vos propres parcours:

  • dessiner et archiver vos propres parcours
  • calculer leurs caractéristiques (distance, dénivellation, profil en long, temps de marche)
  • les imprimer
  • obtenir leurs tracés GPS et les exporter
  • importer des tracés GPS et les représenter sur la carte Web
  • envoyer les cartes de vos propres parcours à des amis.

Cette nouvelle mouture du site cartographique map.schweizmobil.ch est basée sur la technologie Open Source MapFish dont Camptocamp est l’éditeur. L’hébergement sur le cloud est assurée par notre division infrastructure.

Assurez la réussite de vos projets grâce au support de Camptocamp !

Monday, November 15th, 2010 by Yves Jacolin

Vous prévoyez de développer un projet basé sur des bibliothèques Open Source ?  Vous êtes bloqué sur un problème que vous ne pouvez pas résoudre faute de compétences en interne ? Vous désirez pouvoir vous appuyer sur des compétences fortes en externe sur les technologies que vous maîtrisez mal et vous concentrer sur les aspects métiers du projet ?

Camptocamp vous propose des prestations de support adaptées aux solutions Open Source comprenant à la fois des packages de support standard et du support sur-mesure !

Forte de ses dix années d’expérience, notamment dans les applications Web géospatiales, Camptocamp possède une expertise technologique et métier sur toutes les applications majeures de la géomatique Open Source. Camptocamp vous apporte ainsi une haute valeur ajoutée sur les principales thématiques suivantes : SIG bureautique, SGBDR Spatial, catalogue de données, moteur cartographique, applications Web, infrastructure de données spatiales, applications embarquées et interopérabilité.

(more…)

From TileCache to WMTS

Sunday, May 9th, 2010 by Cédric Moullet

I love TileCache ! We have created billions of tiles with it (http://map.geo.admin.ch/,http://plan.epfl.ch/, http://map.veloland.ch/, http://coppet.geocommunes.ch/ etc, etc…). The only issue with TileCache is that it’s not an official standard.
The OGC has just released, on 2010.04.06, the first version of the WMTS (Web Map Tile Service) implementation standard. And the very good thing is that one part of the standard proposes a RESTFul implementation. I can already hear some comments like ‘all this time for that’, but now that it exists, it’s probably a good idea to use it. I still think that the service oriented architecture (KVP and more fantastic SOAP (have a look at the wmts:BinaryContent XML tag…)) is a non sense, so this article will only focus on the resource oriented architecture. The standard contains a nice sentence: “The RESTful pattern provides the ability to set up conformant WMTS servers simply”, so let’s have a look if it’s possible to use a TileCache tile sets and serve it as RESTFull WMTS .

Layer
The notion of layer is the same in TileCache and WMTS.

Tile Matrix Set
The notion of Tile Matrix Set doesn’t exist in TileCache. A Tile Matrix Set is a collection of tile matrices defined at different scales. For one layer, you can define several Tile Matrix Sets, typically if you want to create tiles in various coordinate systems.

Tile Matrix
A tile matrix is a collection of tiles for a fixed scale. The tile organization is not the same in TileCache and in WMTS.
For TileCache, the first tile (0,0) is on the bottom left:

For WMTS, the first tile (0,0) is on the top left:

But, it’s quite easy to name the same tile in both coordinate systems. The following conversion functions can be used:
* WMTS.i = TILECACHE.x
* WMTS.j = HeightNumberOfTiles – TILECACHE.y

The notion of scale in TileCache is simply an integer indexing the tile pyramid (from 0 to n). WMTS offers more freedom for the scale and the identifier can be chosen freely. But it’s still possible to convert from WMTS to TileCache:
* WMTS.z (or Tile Matrix identifier) = TILECACHE.scale

Style
In WMTS, the style has been defined as mandatory. Not very clever from my point of view. This should be an optional value. But let’s add “default” everywhere… And I still don’t understand why the style is defined on the layer level.

Redirection from TileCache to WMTS
A TileCache url:

– http://myTileServer/myLayer/15/000/000/000/000/000/002.jpeg

Can be easily redirected to a WMTS url:

– http://myTileServer/myLayer/default/myTileMatrixSet/15/0/0.jpeg

And, in order to use and see the WMTS tiles, OpenLayers, offers, for example, a very convenient class XYZ:

– new OpenLayers.Layer.XYZ(”myLayer”,
“http://myTileServer/myLayer/default/myTileMatrixSet/${z}/${y}/${x}.jpeg”)

New SwitzerlandMobility mapping website online

Monday, March 23rd, 2009 by Emmanuel Belo

We are proud to announce the release of the new SwitzerlandMobility mapping website using MapFish Framework

Many functionalities are available:
* ergonomic design
* large amount of pregenerated base layers (aerial and national maps provided by swisstopo)
* around 50 layers that are concatenated with TileCache
* layertree with groups and radio buttons
* advanced tooltips
* high quality print

This website takes advantage of amazon web services as cloud computing infrastructure.

Secure TileCache With Pylons and Repoze

Sunday, February 15th, 2009 by Cédric Moullet

Eric Lemoine has just written an interesting blog regarding the usage of Repoze to secure Tilecache.

MapFish and Tilecache

Monday, December 1st, 2008 by Cédric Moullet

Two nice improvements have been made in Tilecache:
- TileCache can now convert the image send to the browser from the original format (defined in the configuration file) to a format specified in the WMS request. This feature has been developed for IE6 because this old browser can’t handle transparent png files. If you want to support this feature, configure your OpenLayers WMS layer to something like:

new OpenLayers.Layer.WMS(”admin”, “http://www.example.com”, {
layers: ['A', 'B', 'C'],
format: OpenLayers.Util.alphaHack() ? ‘image/gif’ : ‘image/png’
});

And don’t set the alpha option to true.
Remember that this feature is time consuming if a format conversion has to be made
- If several layers need to be merged, OpenLayers can do that. But, this merge process is time consuming on the client side. Tilecache is now able to do that on the server side and let you build performant application.