SlideShare une entreprise Scribd logo
1  sur  15
Télécharger pour lire hors ligne
Map integration into OpenERP
Partner/community days presentation




                Camptocamp / 13. avril 2011 / www.camptocamp.com / info@camptocamp.com
History of Maps Module
Camptocamp expertise in both worlds

Cross business needs

Technical challenge
Why a new module
BECAUSE WE CAN
   Actual tools only provide basic visualization
   Nothing to address complex GIS business / technical problems


  sp
    ati                                                            ion
       al m
                                                              oject
                  ark                                   re/pr
                        eti
                           ng                                                              spat
                                                                                                  ial tr
                                                                                                         a   ckin
                                     data aggregation                                                            g
                                                             spatial query
                             n
                    pu tatio
             o    m                                                                spatial catalogue
    clo ud/c                                                         g
                                                               xin
                                                         i nde           sim
                          data                     goe                       pli
                                                                                   fic
                                 valo                                                 a   tio
                                     risa                                                     n
                                            tion
                  ing
    ti   al   rout
spa
Technologies overview
- Postgis      http://postgis.refractions.net/

- OpenLayers   http://openlayers.org/

- Python geo proxy (maybe ? maybe MapFish)

- OpenERP
Technologies overview
WHY ?
Strong and production proof
No Java or any new programming language
Great GIS features coverage


                     Full OpenSource
Screencast




             http://bit.ly/dWTVAB
Quick look
             Switch to map view
                     On

                    OFF


             Select layer(s)

                    Activate

                    Select layers



             View entity datas
Quick look
               Measure tools
                 Get Distance

                 Get Surface

                 Query Result


             Navigation tools

                  Pan

                  Zoom
Quick look
How does it works




                                                                          OpenERP WebClient
                             OpenLayers

                          map_view addon
                           OpenERP stuff

                              CherryPy




        Geojson based protocol
       (Yet encapsulated in RPC)




                                                         OpenERP Server
                            NETSVC/ETC.

                               GEO OSV
                              GEO ORM

                                   OSV
                                   ORM




                                         Postgis 1.5.2
                           Table
                     Attributs*           Postgresql
                     Geometries


 10
Into the code
New GeoOSV class



        import geo_osv
        class PartnerAddress(geo_osv.GeoOsv):
          _inherits ....




 11
Into the code
New GeoOSV class
 _georepr = [
          {
                   'geometry': 'the_geom',
                   'variable': 'partner_id',
                   'method': 'unique_values',
          },
          {
                     'geometry': 'the_geom',
                     'variable': 'total_sales',
                     'method': 'proportional_symbols',
              },
          ]

 12
Into the code
New colum class


         'the_geom' : fields.geom('Coordinate')


         'the_geom' : fields.geom('Coordinate',
         geo_type="POINT", #All postgis supported types
         dim=2, #2, 3, 4 are possible values
         srid=900913, #Projection of the column
         etc.),




 13
TODO
ORM better Geo operator
Support related geom fields
XML/YAML import export support
Query tool
Shape edition on map
Geo ref on map
Vector simplification based on extend
Geo agregations
XML View definition
View style definition

                  Now everything can be imagined
Contact
Camptocamp SA
PSE A – Parc Scientifique EPFL
1015 Lausanne, Suisse

Camptocamp France SAS
Savoie Technolac
48 avenue du Lac du Bourget
73372 Le Bourget du Lac, France

www.camptocamp.com


Luc Maurer, Directeur et co-fondateur

Tél : +41 21 619 10 12 (CH), +33 479 44 44 95 (FR)
Mobile : +41 79 606 07 73
E-mail : luc.maurer@camptocamp.com
   15

Contenu connexe

Similaire à Camptocamp maps open_e_rp.key

LocationTech Projects
LocationTech ProjectsLocationTech Projects
LocationTech ProjectsJody Garnett
 
maXbox Starter 39 GEO Maps Tutorial
maXbox Starter 39 GEO Maps TutorialmaXbox Starter 39 GEO Maps Tutorial
maXbox Starter 39 GEO Maps TutorialMax Kleiner
 
Ifgi presentation
Ifgi presentationIfgi presentation
Ifgi presentationnoho
 
Dynamic viz in the IPython Notebook
Dynamic viz in the IPython NotebookDynamic viz in the IPython Notebook
Dynamic viz in the IPython NotebookBrianna Laugher
 
Geospatial web services using little-known GDAL features and modern Perl midd...
Geospatial web services using little-known GDAL features and modern Perl midd...Geospatial web services using little-known GDAL features and modern Perl midd...
Geospatial web services using little-known GDAL features and modern Perl midd...Ari Jolma
 
Debugging node in prod
Debugging node in prodDebugging node in prod
Debugging node in prodYunong Xiao
 
Demoiselle Spatial Latinoware 2011
Demoiselle Spatial Latinoware 2011Demoiselle Spatial Latinoware 2011
Demoiselle Spatial Latinoware 2011Rafael Soto
 
Node Interactive Debugging Node.js In Production
Node Interactive Debugging Node.js In ProductionNode Interactive Debugging Node.js In Production
Node Interactive Debugging Node.js In ProductionYunong Xiao
 
State of the Art Web Mapping with Open Source
State of the Art Web Mapping with Open SourceState of the Art Web Mapping with Open Source
State of the Art Web Mapping with Open SourceOSCON Byrum
 
GeoServer for Spatio-temporal Data Handling With Examples For MetOc And Remot...
GeoServer for Spatio-temporal Data Handling With Examples For MetOc And Remot...GeoServer for Spatio-temporal Data Handling With Examples For MetOc And Remot...
GeoServer for Spatio-temporal Data Handling With Examples For MetOc And Remot...GeoSolutions
 
Overview: Building Open Source Cloud Computing Environments
Overview: Building Open Source Cloud Computing EnvironmentsOverview: Building Open Source Cloud Computing Environments
Overview: Building Open Source Cloud Computing EnvironmentsMark Hinkle
 
Raster data in GeoServer and GeoTools: Achievements, issues and future devel...
Raster data in GeoServer and GeoTools:  Achievements, issues and future devel...Raster data in GeoServer and GeoTools:  Achievements, issues and future devel...
Raster data in GeoServer and GeoTools: Achievements, issues and future devel...GeoSolutions
 
クラウドを利用した電力可視化システムの構築
クラウドを利用した電力可視化システムの構築クラウドを利用した電力可視化システムの構築
クラウドを利用した電力可視化システムの構築Ryousei Takano
 
Toolchain for real-time simulations: GSN-MeteoIO-GEOtop
Toolchain for real-time simulations: GSN-MeteoIO-GEOtopToolchain for real-time simulations: GSN-MeteoIO-GEOtop
Toolchain for real-time simulations: GSN-MeteoIO-GEOtopRiccardo Rigon
 

Similaire à Camptocamp maps open_e_rp.key (20)

LocationTech Projects
LocationTech ProjectsLocationTech Projects
LocationTech Projects
 
maXbox Starter 39 GEO Maps Tutorial
maXbox Starter 39 GEO Maps TutorialmaXbox Starter 39 GEO Maps Tutorial
maXbox Starter 39 GEO Maps Tutorial
 
Ifgi presentation
Ifgi presentationIfgi presentation
Ifgi presentation
 
Maps tek11
Maps tek11Maps tek11
Maps tek11
 
Open@EDINA
Open@EDINAOpen@EDINA
Open@EDINA
 
Dynamic viz in the IPython Notebook
Dynamic viz in the IPython NotebookDynamic viz in the IPython Notebook
Dynamic viz in the IPython Notebook
 
Geospatial web services using little-known GDAL features and modern Perl midd...
Geospatial web services using little-known GDAL features and modern Perl midd...Geospatial web services using little-known GDAL features and modern Perl midd...
Geospatial web services using little-known GDAL features and modern Perl midd...
 
Debugging node in prod
Debugging node in prodDebugging node in prod
Debugging node in prod
 
Demoiselle Spatial Latinoware 2011
Demoiselle Spatial Latinoware 2011Demoiselle Spatial Latinoware 2011
Demoiselle Spatial Latinoware 2011
 
Node Interactive Debugging Node.js In Production
Node Interactive Debugging Node.js In ProductionNode Interactive Debugging Node.js In Production
Node Interactive Debugging Node.js In Production
 
Progress_190315
Progress_190315Progress_190315
Progress_190315
 
Progress_190213
Progress_190213Progress_190213
Progress_190213
 
State of the Art Web Mapping with Open Source
State of the Art Web Mapping with Open SourceState of the Art Web Mapping with Open Source
State of the Art Web Mapping with Open Source
 
cug2011-praveen
cug2011-praveencug2011-praveen
cug2011-praveen
 
GeoServer for Spatio-temporal Data Handling With Examples For MetOc And Remot...
GeoServer for Spatio-temporal Data Handling With Examples For MetOc And Remot...GeoServer for Spatio-temporal Data Handling With Examples For MetOc And Remot...
GeoServer for Spatio-temporal Data Handling With Examples For MetOc And Remot...
 
vBACD - Crash Course in Open Source Cloud Computing - 2/28
vBACD - Crash Course in Open Source Cloud Computing - 2/28vBACD - Crash Course in Open Source Cloud Computing - 2/28
vBACD - Crash Course in Open Source Cloud Computing - 2/28
 
Overview: Building Open Source Cloud Computing Environments
Overview: Building Open Source Cloud Computing EnvironmentsOverview: Building Open Source Cloud Computing Environments
Overview: Building Open Source Cloud Computing Environments
 
Raster data in GeoServer and GeoTools: Achievements, issues and future devel...
Raster data in GeoServer and GeoTools:  Achievements, issues and future devel...Raster data in GeoServer and GeoTools:  Achievements, issues and future devel...
Raster data in GeoServer and GeoTools: Achievements, issues and future devel...
 
クラウドを利用した電力可視化システムの構築
クラウドを利用した電力可視化システムの構築クラウドを利用した電力可視化システムの構築
クラウドを利用した電力可視化システムの構築
 
Toolchain for real-time simulations: GSN-MeteoIO-GEOtop
Toolchain for real-time simulations: GSN-MeteoIO-GEOtopToolchain for real-time simulations: GSN-MeteoIO-GEOtop
Toolchain for real-time simulations: GSN-MeteoIO-GEOtop
 

Plus de Nico Tristan

Nhomar Hernandez on Partnership
Nhomar Hernandez on PartnershipNhomar Hernandez on Partnership
Nhomar Hernandez on PartnershipNico Tristan
 
OpenERP Xavier Pansaers Sales Strategy
OpenERP Xavier Pansaers Sales StrategyOpenERP Xavier Pansaers Sales Strategy
OpenERP Xavier Pansaers Sales StrategyNico Tristan
 
OpenERP Achievements 2010
OpenERP Achievements 2010 OpenERP Achievements 2010
OpenERP Achievements 2010 Nico Tristan
 
OpenERP Vision Fabien Pinckaers
OpenERP Vision Fabien PinckaersOpenERP Vision Fabien Pinckaers
OpenERP Vision Fabien PinckaersNico Tristan
 
Framework workshop
Framework workshopFramework workshop
Framework workshopNico Tristan
 
Usability - Fabien Pinckaers
Usability - Fabien PinckaersUsability - Fabien Pinckaers
Usability - Fabien PinckaersNico Tristan
 
ADN generic payroll-france
ADN generic payroll-franceADN generic payroll-france
ADN generic payroll-franceNico Tristan
 
Akretion magento erp_connect
Akretion magento erp_connectAkretion magento erp_connect
Akretion magento erp_connectNico Tristan
 
Open net the eagle project
Open net   the eagle projectOpen net   the eagle project
Open net the eagle projectNico Tristan
 
Usability workshop
Usability workshopUsability workshop
Usability workshopNico Tristan
 
Akretion fleet maintenance
Akretion fleet maintenanceAkretion fleet maintenance
Akretion fleet maintenanceNico Tristan
 

Plus de Nico Tristan (18)

Nhomar Hernandez on Partnership
Nhomar Hernandez on PartnershipNhomar Hernandez on Partnership
Nhomar Hernandez on Partnership
 
OpenERP Xavier Pansaers Sales Strategy
OpenERP Xavier Pansaers Sales StrategyOpenERP Xavier Pansaers Sales Strategy
OpenERP Xavier Pansaers Sales Strategy
 
OpenERP Achievements 2010
OpenERP Achievements 2010 OpenERP Achievements 2010
OpenERP Achievements 2010
 
OpenERP Vision Fabien Pinckaers
OpenERP Vision Fabien PinckaersOpenERP Vision Fabien Pinckaers
OpenERP Vision Fabien Pinckaers
 
Framework workshop
Framework workshopFramework workshop
Framework workshop
 
Usability - Fabien Pinckaers
Usability - Fabien PinckaersUsability - Fabien Pinckaers
Usability - Fabien Pinckaers
 
ADN generic payroll-france
ADN generic payroll-franceADN generic payroll-france
ADN generic payroll-france
 
Bhc asterisk
Bhc asteriskBhc asterisk
Bhc asterisk
 
Akretion magento erp_connect
Akretion magento erp_connectAkretion magento erp_connect
Akretion magento erp_connect
 
Bhc mobile
Bhc mobileBhc mobile
Bhc mobile
 
Bhc ocs inventory
Bhc ocs inventoryBhc ocs inventory
Bhc ocs inventory
 
Camptocamp webkit
Camptocamp webkitCamptocamp webkit
Camptocamp webkit
 
Sales wrokshop
Sales wrokshopSales wrokshop
Sales wrokshop
 
Open net the eagle project
Open net   the eagle projectOpen net   the eagle project
Open net the eagle project
 
Payroll workshop
Payroll workshopPayroll workshop
Payroll workshop
 
Syleam warehouse
Syleam warehouseSyleam warehouse
Syleam warehouse
 
Usability workshop
Usability workshopUsability workshop
Usability workshop
 
Akretion fleet maintenance
Akretion fleet maintenanceAkretion fleet maintenance
Akretion fleet maintenance
 

Camptocamp maps open_e_rp.key

  • 1. Map integration into OpenERP Partner/community days presentation Camptocamp / 13. avril 2011 / www.camptocamp.com / info@camptocamp.com
  • 2. History of Maps Module Camptocamp expertise in both worlds Cross business needs Technical challenge
  • 3. Why a new module BECAUSE WE CAN Actual tools only provide basic visualization Nothing to address complex GIS business / technical problems sp ati ion al m oject ark re/pr eti ng spat ial tr a ckin data aggregation g spatial query n pu tatio o m spatial catalogue clo ud/c g xin i nde sim data goe pli fic valo a tio risa n tion ing ti al rout spa
  • 4. Technologies overview - Postgis http://postgis.refractions.net/ - OpenLayers http://openlayers.org/ - Python geo proxy (maybe ? maybe MapFish) - OpenERP
  • 5. Technologies overview WHY ? Strong and production proof No Java or any new programming language Great GIS features coverage Full OpenSource
  • 6. Screencast http://bit.ly/dWTVAB
  • 7. Quick look Switch to map view On OFF Select layer(s) Activate Select layers View entity datas
  • 8. Quick look Measure tools Get Distance Get Surface Query Result Navigation tools Pan Zoom
  • 10. How does it works OpenERP WebClient OpenLayers map_view addon OpenERP stuff CherryPy Geojson based protocol (Yet encapsulated in RPC) OpenERP Server NETSVC/ETC. GEO OSV GEO ORM OSV ORM Postgis 1.5.2 Table Attributs* Postgresql Geometries 10
  • 11. Into the code New GeoOSV class import geo_osv class PartnerAddress(geo_osv.GeoOsv): _inherits .... 11
  • 12. Into the code New GeoOSV class _georepr = [ { 'geometry': 'the_geom', 'variable': 'partner_id', 'method': 'unique_values', }, { 'geometry': 'the_geom', 'variable': 'total_sales', 'method': 'proportional_symbols', }, ] 12
  • 13. Into the code New colum class 'the_geom' : fields.geom('Coordinate') 'the_geom' : fields.geom('Coordinate', geo_type="POINT", #All postgis supported types dim=2, #2, 3, 4 are possible values srid=900913, #Projection of the column etc.), 13
  • 14. TODO ORM better Geo operator Support related geom fields XML/YAML import export support Query tool Shape edition on map Geo ref on map Vector simplification based on extend Geo agregations XML View definition View style definition Now everything can be imagined
  • 15. Contact Camptocamp SA PSE A – Parc Scientifique EPFL 1015 Lausanne, Suisse Camptocamp France SAS Savoie Technolac 48 avenue du Lac du Bourget 73372 Le Bourget du Lac, France www.camptocamp.com Luc Maurer, Directeur et co-fondateur Tél : +41 21 619 10 12 (CH), +33 479 44 44 95 (FR) Mobile : +41 79 606 07 73 E-mail : luc.maurer@camptocamp.com 15