SlideShare una empresa de Scribd logo
1 de 42
Descargar para leer sin conexión
I want a nice map !
  Plone Conference 2012
  Eric Brehault
  @ebrehault
  www.makina-corpus.com
What is a map?
A map is a piece of information




Le Monde Diplomatique Sept. 2012 – Philippe Rekacewicz
What is a map?
User interactions can be useful
What is a map?
But visitors are not the ones who need to build a map,
they just need to read it.




                                               100% Flash !
How to create a map ?
●
    Keep it simple,

●
    Make it nice and efficient by itself,

●
    Do not expect a bunch of gadgets will make it clearer or better.
How to create a map ?
As a Plone developer, what were your options so far?

●
    OpenLayers (with collective.geo.*)

●
    Google Maps API (with Products.Maps)
OpenLayers
●
  Built by GIS experts for GIS experts,
●
  Extremely rich feature set,
●
  Usually about 1 MB of JavaScript,
●
  Does not play nice with mobile devices,
●
  Supports all the OGC standards and protocols
  (WMS, WFS... known as W*S).
The W*S approach
      Hello, what kind of GIS services do you provide?


                          I can produce this list of maps


Good, I would like this map, which projections do you offer?

             Oh quite a lot, what about this very specific projection
               which is ideal for the North-West of Kazakhstan?
The W*S approach
Sounds terrific, could you send me the square (x0, y0, x1, y1)?

                                Sure, as GIF or PNG?

           Hey, did you watch the game yesterday?

                  Yes, it was nice. Do your son still play football?

No, he had to stop for a few months, because he broke his leg.
The W*S approach
      What about a barbecue next week?

                      Fantastic, let's do that !

Hmm... and regarding the image we talked about?

                      Ooops, sorry, here is it.
The W*S approach
Why?
“To improve interoperability”

OK, but this is not how the Web works.
The standard Web approach

<img src=”http://tiles.myserver.com/{zoom}/{x}/{y}.png” />
The W*S approach

Conclusion:


Let's occupy W*S !!
Google Maps
Google Maps:
●
  looks good,
●
  is fast,
●
  triggered a fantastic revolution in the Web mapping domain.

But Google Maps...
Google Maps
                                                                … is so boring.

Everybody has the very same map !

OK, not always the same: there are 3 different default styles
Google Maps
Many usage restrictions:
●
  Offline mode,
●
  Mass geocoding,
●
  Non-public usage (intra/extranet),
●
  Commercial usage,
●
  etc.
New hopes
New JavaScript libraries:
Smaller – Faster – Easier

New ways to produce maps:
No GIS server – Tiles – CSS
ModestMaps
40 Ko – Fast – Mobile compliant – Old browser support

No interaction but excellent for mini maps.

Very very easy to use (with htmapl.js):
<div class="map"
 data-center="51.982924,5.913906"
 data-zoom="13" />
ModestMaps
Polymaps
32 Ko – Fast – GeoJSON / SVG

collective.geo.polymaps by Christian Ledermann

●
  Straightforward to customize
●
  Style with CSS
Polymaps
Kartograph
60 Ko – Pure SVG - CSS

A complete chain:
●
  Kartograph.py converts GIS resources into SVG (possibly 3D)
●
  Kartograph.js displays it
Kartograph
Leaflet
90 Ko – Fast - Mobile compliant – Old browser support – Complete
collective.js.leaflet

●
  Simple API
●
  GeoJSON
●
  Very active project, with lot of plugins (editor toolbar, Google
  layers, projections...)
Leaflet
Leaflet
Leaflet
Leaflet
Leaflet
Leaflet
Leaflet
What about the data?
You need a base layer, what can it be?

●
    GoogleMaps
            such a cliché

OpenStreetMap
          does not look very good, does it?
OSM is not a map
Actually, OpenStreetMap is not a map.

It is a database.

And you can use this database to produce you own maps.
Produce your own tiles
●
    TileMill: a CSS-oriented design studio

●
    MBUtil and Landez: utilities to produce tiles

DEMO
TileMill
TileMill
TileMill
Unified colors theme
And if you are gifted




                  Island by Konstantin Käfer - MapBox
And if you are gifted




                   Pirate map by AJ Ashton - MapBox
And if you are gifted




                        Watercolor by Stamen Design
www.makina-corpus.com

Más contenido relacionado

Más de Makina Corpus

Más de Makina Corpus (12)

Petit déjeuner "Les bases de la cartographie sur le Web"
Petit déjeuner "Les bases de la cartographie sur le Web"Petit déjeuner "Les bases de la cartographie sur le Web"
Petit déjeuner "Les bases de la cartographie sur le Web"
 
Petit déjeuner "Développer sur le cloud, ou comment tout construire à partir ...
Petit déjeuner "Développer sur le cloud, ou comment tout construire à partir ...Petit déjeuner "Développer sur le cloud, ou comment tout construire à partir ...
Petit déjeuner "Développer sur le cloud, ou comment tout construire à partir ...
 
CoDe, le programme de développement d'applications mobiles de Makina Corpus
CoDe, le programme de développement d'applications mobiles de Makina Corpus CoDe, le programme de développement d'applications mobiles de Makina Corpus
CoDe, le programme de développement d'applications mobiles de Makina Corpus
 
Petit déjeuner "Alternatives libres à GoogleMaps" du 11 février 2014 - Nantes...
Petit déjeuner "Alternatives libres à GoogleMaps" du 11 février 2014 - Nantes...Petit déjeuner "Alternatives libres à GoogleMaps" du 11 février 2014 - Nantes...
Petit déjeuner "Alternatives libres à GoogleMaps" du 11 février 2014 - Nantes...
 
Petit déjeuner "Les nouveautés de la cartographie en ligne" du 12 décembre
Petit déjeuner "Les nouveautés de la cartographie en ligne" du 12 décembrePetit déjeuner "Les nouveautés de la cartographie en ligne" du 12 décembre
Petit déjeuner "Les nouveautés de la cartographie en ligne" du 12 décembre
 
Alternatives libres à Google Maps
Alternatives libres à Google MapsAlternatives libres à Google Maps
Alternatives libres à Google Maps
 
Atelier "Les nouveautés de la cartographie en ligne"
Atelier "Les nouveautés de la cartographie en ligne"Atelier "Les nouveautés de la cartographie en ligne"
Atelier "Les nouveautés de la cartographie en ligne"
 
Petit Déjeuner : HTML5 et CSS3, les interfaces de demain.
Petit Déjeuner : HTML5 et CSS3, les interfaces de demain.Petit Déjeuner : HTML5 et CSS3, les interfaces de demain.
Petit Déjeuner : HTML5 et CSS3, les interfaces de demain.
 
Geotrek
GeotrekGeotrek
Geotrek
 
Plomino
Plomino Plomino
Plomino
 
Des cartes d'un autre monde - DjangoCong 2012
Des cartes d'un autre monde - DjangoCong 2012Des cartes d'un autre monde - DjangoCong 2012
Des cartes d'un autre monde - DjangoCong 2012
 
Solutions libres alternatives à Google Maps
Solutions libres alternatives à Google MapsSolutions libres alternatives à Google Maps
Solutions libres alternatives à Google Maps
 

Último

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 

I want a nice map

  • 1. I want a nice map ! Plone Conference 2012 Eric Brehault @ebrehault www.makina-corpus.com
  • 2. What is a map? A map is a piece of information Le Monde Diplomatique Sept. 2012 – Philippe Rekacewicz
  • 3. What is a map? User interactions can be useful
  • 4. What is a map? But visitors are not the ones who need to build a map, they just need to read it. 100% Flash !
  • 5. How to create a map ? ● Keep it simple, ● Make it nice and efficient by itself, ● Do not expect a bunch of gadgets will make it clearer or better.
  • 6. How to create a map ? As a Plone developer, what were your options so far? ● OpenLayers (with collective.geo.*) ● Google Maps API (with Products.Maps)
  • 7. OpenLayers ● Built by GIS experts for GIS experts, ● Extremely rich feature set, ● Usually about 1 MB of JavaScript, ● Does not play nice with mobile devices, ● Supports all the OGC standards and protocols (WMS, WFS... known as W*S).
  • 8. The W*S approach Hello, what kind of GIS services do you provide? I can produce this list of maps Good, I would like this map, which projections do you offer? Oh quite a lot, what about this very specific projection which is ideal for the North-West of Kazakhstan?
  • 9. The W*S approach Sounds terrific, could you send me the square (x0, y0, x1, y1)? Sure, as GIF or PNG? Hey, did you watch the game yesterday? Yes, it was nice. Do your son still play football? No, he had to stop for a few months, because he broke his leg.
  • 10. The W*S approach What about a barbecue next week? Fantastic, let's do that ! Hmm... and regarding the image we talked about? Ooops, sorry, here is it.
  • 11. The W*S approach Why? “To improve interoperability” OK, but this is not how the Web works.
  • 12. The standard Web approach <img src=”http://tiles.myserver.com/{zoom}/{x}/{y}.png” />
  • 14. Google Maps Google Maps: ● looks good, ● is fast, ● triggered a fantastic revolution in the Web mapping domain. But Google Maps...
  • 15. Google Maps … is so boring. Everybody has the very same map ! OK, not always the same: there are 3 different default styles
  • 16. Google Maps Many usage restrictions: ● Offline mode, ● Mass geocoding, ● Non-public usage (intra/extranet), ● Commercial usage, ● etc.
  • 17. New hopes New JavaScript libraries: Smaller – Faster – Easier New ways to produce maps: No GIS server – Tiles – CSS
  • 18. ModestMaps 40 Ko – Fast – Mobile compliant – Old browser support No interaction but excellent for mini maps. Very very easy to use (with htmapl.js): <div class="map" data-center="51.982924,5.913906" data-zoom="13" />
  • 20. Polymaps 32 Ko – Fast – GeoJSON / SVG collective.geo.polymaps by Christian Ledermann ● Straightforward to customize ● Style with CSS
  • 22. Kartograph 60 Ko – Pure SVG - CSS A complete chain: ● Kartograph.py converts GIS resources into SVG (possibly 3D) ● Kartograph.js displays it
  • 24. Leaflet 90 Ko – Fast - Mobile compliant – Old browser support – Complete collective.js.leaflet ● Simple API ● GeoJSON ● Very active project, with lot of plugins (editor toolbar, Google layers, projections...)
  • 32. What about the data? You need a base layer, what can it be? ● GoogleMaps such a cliché OpenStreetMap does not look very good, does it?
  • 33. OSM is not a map Actually, OpenStreetMap is not a map. It is a database. And you can use this database to produce you own maps.
  • 34. Produce your own tiles ● TileMill: a CSS-oriented design studio ● MBUtil and Landez: utilities to produce tiles DEMO
  • 39. And if you are gifted Island by Konstantin Käfer - MapBox
  • 40. And if you are gifted Pirate map by AJ Ashton - MapBox
  • 41. And if you are gifted Watercolor by Stamen Design

Notas del editor

  1. Il manque : - une liste de produits/services fin 2007 - une price list pour fin 2007 - le taux de pénétration prévisionnel espéré par cibles pour fin 2008, - la rentabilité attendue d&apos;ici fin fin 2008 - la définition, l&apos;organisaiton et l&apos;animation de la force de vente -