Camptocamp maps open_e_rp.key

1,516 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,516
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
38
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Camptocamp maps open_e_rp.key

  1. 1. Map integration into OpenERPPartner/community days presentation Camptocamp / 13. avril 2011 / www.camptocamp.com / info@camptocamp.com
  2. 2. History of Maps ModuleCamptocamp expertise in both worldsCross business needsTechnical challenge
  3. 3. Why a new moduleBECAUSE 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 routspa
  4. 4. Technologies overview- Postgis http://postgis.refractions.net/- OpenLayers http://openlayers.org/- Python geo proxy (maybe ? maybe MapFish)- OpenERP
  5. 5. Technologies overviewWHY ?Strong and production proofNo Java or any new programming languageGreat GIS features coverage Full OpenSource
  6. 6. Screencast http://bit.ly/dWTVAB
  7. 7. Quick look Switch to map view On OFF Select layer(s) Activate Select layers View entity datas
  8. 8. Quick look Measure tools Get Distance Get Surface Query Result Navigation tools Pan Zoom
  9. 9. Quick look
  10. 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. 11. Into the codeNew GeoOSV class import geo_osv class PartnerAddress(geo_osv.GeoOsv): _inherits .... 11
  12. 12. Into the codeNew GeoOSV class _georepr = [ { geometry: the_geom, variable: partner_id, method: unique_values, }, { geometry: the_geom, variable: total_sales, method: proportional_symbols, }, ] 12
  13. 13. Into the codeNew 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. 14. TODOORM better Geo operatorSupport related geom fieldsXML/YAML import export supportQuery toolShape edition on mapGeo ref on mapVector simplification based on extendGeo agregationsXML View definitionView style definition Now everything can be imagined
  15. 15. ContactCamptocamp SAPSE A – Parc Scientifique EPFL1015 Lausanne, SuisseCamptocamp France SASSavoie Technolac48 avenue du Lac du Bourget73372 Le Bourget du Lac, Francewww.camptocamp.comLuc Maurer, Directeur et co-fondateurTél : +41 21 619 10 12 (CH), +33 479 44 44 95 (FR)Mobile : +41 79 606 07 73E-mail : luc.maurer@camptocamp.com 15

×