open source basecamp

RSS
Twitter
 
Blog

Archive for February, 2009

New profile function in MapFish

Friday, February 27th, 2009 by Cédric Moullet

To start this function (demo here), click on . and draw a line in the map. Then, a profile will appear. If you select a point in the profile, then the point appears in the map ;-)
As it is a demo, the DTM is avalailable only around Neuchâtel.

New profile function in MapFish

Friday, February 27th, 2009 by Cédric Moullet

To start this function (demo here), click on . and draw a line in the map. Then, a profile will appear. If you select a point in the profile, then the point appears in the map ;-)
As it is a demo, the DTM is avalailable only around Neuchâtel.

MapFish: interaction between client and server

Thursday, February 26th, 2009 by Cédric Moullet

I just received a question regarding the communciation between MapFish client and MapFish server. As I gave an answer in french, here is one in english ;-)
MapFish provides a MapSearcher class for querying a map. I will use this sample to describe it’s usage (source code can be accessed here).

Let’s try to see how it works: the information function “i” located in the toolbar lets the user select some features and show them in a grid.

On the server side, it is needed to have an implemation of the MapFish protocol which will interact with the database. See the summits.py code.

On the client side (all the code can be found in search.html) you need:

  1. to use the MapFish protocol with “protocol = mapfish.Protocol.decorateProtocol({…
  2. to create a Map searcher: “var mapSearcher = new mapfish.Searcher.Map({…” which will use the protocol
  3. to add the “i” button in the toolbar: “toolbar.addControl(mapSearcher, {…
  4. to create a grid “new Ext.grid.GridPanel({…”, a store “var store = new Ext.data.Store({…” and a store mediator “var searchStoreMediator = new mapfish.widgets.data.SearchStoreMediator({…” to show the result provided by the MapFish protocol in a grid.

MapFish: interaction between client and server

Thursday, February 26th, 2009 by Cédric Moullet

I just received a question regarding the communciation between MapFish client and MapFish server. As I gave an answer in french, here is one in english ;-)
MapFish provides a MapSearcher class for querying a map. I will use this sample to describe it’s usage (source code can be accessed here).

Let’s try to see how it works: the information function “i” located in the toolbar lets the user select some features and show them in a grid.

On the server side, it is needed to have an implemation of the MapFish protocol which will interact with the database. See the summits.py code.

On the client side (all the code can be found in search.html) you need:

  1. to use the MapFish protocol with “protocol = mapfish.Protocol.decorateProtocol({…
  2. to create a Map searcher: “var mapSearcher = new mapfish.Searcher.Map({…” which will use the protocol
  3. to add the “i” button in the toolbar: “toolbar.addControl(mapSearcher, {…
  4. to create a grid “new Ext.grid.GridPanel({…”, a store “var store = new Ext.data.Store({…” and a store mediator “var searchStoreMediator = new mapfish.widgets.data.SearchStoreMediator({…” to show the result provided by the MapFish protocol in a grid.

Livre Blanc "Introduction à l’Open Source et au logiciel libre"

Tuesday, February 24th, 2009 by Cédric Moullet

Monsieur Patrice Bertrand, Directeur Général de Smile a écrit un très intéressant livre blanc consacré à l’Open Source. Bonne lecture !

Livre Blanc “Introduction à l’Open Source et au logiciel libre”

Tuesday, February 24th, 2009 by Cédric Moullet

Monsieur Patrice Bertrand, Directeur Général de Smile a écrit un très intéressant livre blanc consacré à l’Open Source. Bonne lecture !

GeoBI: GeoReport prototype is done

Wednesday, February 18th, 2009 by Cédric Moullet

MapFish has been used as cartographic component for the prototype of GeoReport. You can find more information here and the installation notes are here

GeoBI: GeoReport prototype is done

Wednesday, February 18th, 2009 by Cédric Moullet

MapFish has been used as cartographic component for the prototype of GeoReport. You can find more information here and the installation notes are here

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.

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.