open source basecamp

RSS
Twitter
 
Blog

Posts Tagged ‘Google Maps’

Linux Journal article: maps in OpenERP by Camptocamp!

Thursday, June 9th, 2011 by Joël Grand-Guillaume

The July ‘11 issue of Linux Journal published an article on Camptocamp’s new map component for OpenERP.

The article is available here.

Camptocamp: Official Gold partner in Switzerland, France and Austria (localisation of financial accounting for this countries) / Partenaire officiel Gold en Suisse, France et Autriche (localisation de la comptabilité financière pour ces pays) / Offizieller Gold-Partner in der Schweiz, Frankreich und Österreich (Anpassung der Finanzbuchhaltung für diese Länder)

OpenERP GeoEngine / Maps by Camptocamp: general overview

Wednesday, May 25th, 2011 by Nicolas Bessi

Dear Community,

At the 2011 OpenERP Community Days, we presented maps integration into OpenERP (See video).

Following this major announcement, the GeoEngine project was created; it originated from a lot of thinking and architecture developments by our Business Solutions and Geospatial Solutions teams. We would like now to present this project.

The OpenERP GeoEngine is separated in two distinct sub-projects:

  • The GeoEngine map view project
  • The GeoEngine core project

These standalone projects are independent from one another, but are perfectly compatible.

core_architecture

Fig. 1

The above diagram (Fig. 1) shows the global architecture of the two projects. It might look complex but it is actually simple bricks put together. It helps illustrate the way our geo-blocks integrate with the rest of the world. Now, let’s look at these blocks in more detail.

The GeoEngine core

This brick is plugged directly in the OpenERP framework and relies on the system data model, access rights and utilities. It does not provide any map or geographic visualization tools. Geo-information does not actually need any maps to have value. Added value is already related to business attributes, good back-end management, data extraction and mining.

The main objectives of the core engine are:

  • To provide an easy and well-known way to manage geo-data. We want geo-data to to be easy and intuitive. Actions like insertion, edition, relation with attribute,  search and geo-referencing are in focus. In order to achieve this goal, we provide OpenERP ORM function and operator, the same way OpenObject works. We plan to extend the ORM in order to support search,  read,  search_read,  write, and all common requests. We also include a geo-OSV field class that allows data creation, browsing, export and basic function field request.
  • To organize and prepare geo-data. Geo-data can come from multiple sources and contain multiple attributes; we want to create a XML view standard in order to present and prepare customized data, in term of layers, grouping, geo- data source merge, etc. Why doing this as we do not want to provide map visualization in the core? To fit the next objective of the core engine share data with the world.
  • To serve geo-data. Your ERP has to be able to serve your geo-data to other GIS/Business system, in order to visualize it and exploit it. We have then chosen to serve vectorial data in form of a GEOJSON base on RPC call. Raster data are accessible through a WMS  standard services using a totally integrated Python engine. This level of integration allows us to comply with OpenERP access rules.

All technologies used are -or will be- Open Source technologies only: Postgres, Python, OpenERP, PostGIS, PGRouting, Mapnik etc. We comply with the OpenERP philosophy by avoiding using external non Python lib. This approach enables us to integrate external data source into OpenERP and integrate OpenERP into other systems.

Ok, now, we agree that the GeoEngine core is cool! You are now going to tell me that maps are even more cool! Don’t worry, we have not forgotten you…

The GeoEngine map view

Now that we have all our data stored, organized and ready to be served, we want to “map” them. For version 6.1 of OpenERP, the webclient is rebuilt and provides cutting-edge Web technologies. It is therefore the perfect association to provide an OpenERP WebClient Map addon. The main objectives of the addons are:

  • To visualize, organize and conceptualize geo-data. We want any source of map data to be easily put in form, layer, choropleth etc. For this, we are going to provide a simple (json based) layer definition API. This API will be fully compatible with GeoEngine core but also with any other services. This leads up to our next objective…
  • To mashup geo-information. Any system that can fulfill the API will be also able to be a provider of map views. But you should be also able, with a simple configuration, to add any layer supported by the OpenLayers technology. This means if you want to add OpenStreetMap, Google map, etc, you can do it!
  • Visual geo CRUD. We want to have the ability to geo-reference a point, edit a shape, do measurements, etc, directly on the map. The map view will provide all standard, modern, out- of- the-box GIS features.

Conclusion

We want to open OpenERP to the GIS world, and ensure freedom and promotion of geo-data and communication between systems.

We are really excited to explore a new environment which includes both ERP and GIS system! Our experience and passion will  inevitably lead the way to this cutting edge technological adventure, in alignment with the OpenSource spirit.

The official project homepage will open very soon. Keep posted!

Nicolas Bessi, for Camptocamp

OpenERP data into Google Maps : beautiful, but is it a good idea ?

Thursday, June 25th, 2009 by Luc Maurer

There is a new very interesting OpenERP Module which imports OpenERP data into Google Map.

This module creates a .kml file with all partners and partner turnover data which could be imported into google maps => simple and really interesting.

http://openerp-team.blogspot.com/2009/06/open-erp-integration-with-google-map.html

Two questions :

  • Who is the owner of the data ?
  • Is it really a good idea to put financial data (which should be kept secret) into google map ?

The best solution would be to create a MapFish project and import kml data into mapfish :-)

MapFish for hydrology: www.swissrivers.ch

Friday, May 1st, 2009 by Cédric Moullet

www.swissrivers.ch web site is live ! The main goal of this MapFish application is to provide forecast for river flow and lake level. All this information is provided twice a day and is issued from an hydrological software developped by e-dric.ch .

MapFish et Google Maps

Sunday, October 26th, 2008 by Cédric Moullet

Le bulletin N° 21 consacré aux Infrastructures cantonales de données géographiques de l’e-geo présente les posssibilités de MapFish liées à Google Maps. Vous pouvez lire l’article ici.