SlideShare a Scribd company logo
1 of 42
Download to read offline
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

More Related Content

More from Makina Corpus

More from 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
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 

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

Editor's Notes

  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 -