ReLucBlog - SIG, MOZILLA & NTIC

Aller au contenu | Aller au menu | Aller à la recherche

lundi 12 novembre 2007

LiziMaps : OpenLayers integration.

The next week, I released MozMapLayers 0.9, an add-on to use OpenLayers in XUL application. This new LiziMaps version, the 0.7, is based on OpenLayers and thus on MozMapLayers for the baselayer rendering.

If you updated LiziMaps with the add-on system, you have to install MozMapLayers.

The OpenLayers integration isn't the only evolution :

  • the possibility of obtaining information related to a vector object, via ;
  • the possibility of obtaining an OpenLayers version of the baselayer, via , that you can test in LiziLayers;
  • and some other bugs fixing. For example, you can use Web Map Context file (WMC) producedd by the wms-sites.com, like this one.

lundi 3 septembre 2007

LiziMaps : SLD Line, Polygon and Point Symbolizer

I'm happy to announce the release of LiziMaps 0.4.

In this version, the creation and styling code for vector layer was improved. This one is faster and more respectful of the OGC Styled Layer Descriptor (SLD) standard.

Now, LiziMaps supports the symbolizers :

  • sld:LineSymbolizer
  • sld:PolygonSymbolizer
  • sld:PointSymbolizer

The major evolution concerns the sld:PointSymbolizer. It's possible to :

  • select a symbol centered in the coordinates of the point and whose size is proportional ;
  • define the size of the symbol ;
  • define a rotation of the symbol ;
  • define the rendering of the symbol (fill and stroke).

If You want to test : click here

lundi 30 juillet 2007

LiziMaps : WMS protocol

The version 0.2 of LiziMaps has been released.

The version makes ergonomics improvement but more especially the possibility of generating and visualizing URL whose protocol is wms.

A new button, base-lauer-url-button, has been appeared in the interface. This button gives you the wms URL associated with the current base layer view. You can save this URL in your bookmarks or use it in a Web page. The wms protocol also gives the possibility to place very simply at the disposal of the LiziMaps users Web Map Service.

If you have updated LiziMaps, either directly by starting your Firefox or by checking the presence of an update in the Add-ons dialog, or installed LiziMaps 0.2, you can directly click on the following links :

Here my own chart of the basins Canadian oceanic slopes created with LiziMaps :

bassins versants océaniques canadiens

Technically wms protocol URL is composed like this :

  • scheme = wms
  • the host is that of the service
  • the path is that of the service
  • then a list of parameters if you wish to specify a map based on the service

The usable parameters are :

  • LAYERS, the layers NAME list of the service.
  • STYLES, the selected layers style NAME. If this parameter doesn't exist, the default styles will be used.
  • SRS, map's Spatial Reference System. If this parameter isn't specified, the service default srs will be used.
  • BBOX, the map's bounding box in the specified srs. If it's not specified, the default srs bounding box will be used.
  • FORMAT, the image format provides by the service. The default format is image/png.

If no parameters are specified, the wms URL gives access directly to the Web Map Service, for example :

Interesting, isn't it ?

mercredi 25 juillet 2007

LiziMaps : Firefox as GIS application

We (3Liz) released the first public version, V0.1, developer preview, of our Firefox mapping add-on : LiziMaps.

This add-on give you the ability to create your own maps based on Web Service standardize by the Open Geospatial Consortium (OGC). This mean that you can use a Web Map Service (WMS 1.0.0 to 1.1.1) to create your base layer. You can select the layers you want to view, organize these layers and select the layer's style you want. You can then with Web Feature Services (WFS 1.0.0) select layers, organize it and create styles by editing rules of presentation. Finally you can export the view of your own map to PNG image.

Technically, we use :

  • WMS 1.0.0 to 1.1.1 ;
  • WFS 1.0.0 ;
  • SVG for vector presentation ;
  • Canvas for image export ;
  • XBL re-usable elements ;
  • and of course XUL, CSS and JS.

The add-on is already localised in French and in English

The next steps will be to create WMS and WFS protocols.

Finally if you want to test LiziMaps on Gran Paradiso, which is for the moment in Alpha 6, it's not useful. There are some regression in SVG. For example the SVGSVGElement method getViewBoxToViewport, we are very regularly used does not exist any more, but is a standard method...