SlideShare a Scribd company logo
12
Most read
15
Most read
18
Most read
MongoDB + GeoServer
Outline

    Why we use MongoDB
     What is GeoServer
The MongoDB GeoServer Plugin
      Lessons Learned

                                    2
Why we use MongoDB

Store Large Number          Store Mixed      Geospatial
   of Documents          Document Metadata    Support




                     +                   +
                                                          3
Why we use MongoDB

    Small Team


+                 =
                                      4
Our Use of MongoDB
                 Document
                                              { “_id”:
                 Processor                    "metadata" : {
                                                    “event”:”MongoDB DC 2013”,
                                                    “url”:”
                                              http://www.10gen.com/events/mon
                                              godb-washington-dc-2013”,
                                              }
Original Files               Extracted Text    "geo" : [
                                                  {
      +                            +                “place” : “Newseum”,
 Metadata                      Metadata              "location" : [-77.0194, 38.8930]
                                                 },
                                                 {
                                                    " place " : “Penn Quarter Sports
                                              Tavern",
                                                    "location" : [ -77.0215, 38.8942]
                                                 } ],
                                              ]}          spatial index created for geo.location




                                                                                         5
Store
                                       Document




     Spatial               Document    Analytic
    Services                Services   Services



                         REST API
     Custom Web Client
                                                  How we expose our data




6
I love your data, but…




                         7
I love your data, but…
How can I integrate it into my existing
workflow?

                                          8
I love your data, but…
How can I integrate it into my existing
workflow?
Answer: Open Geospatial Standards
                                          9
What is GeoServer?
 Open source software server that
  allows users to share geospatial
  data

 Reference implementation of the
  Open Geospatial Consortium
  (OGC) standards
     WMS (Web Map Service)
     WFS (Web Feature Service)
     WCS (Web Coverage Service)


 Open API allows integration of
  back-end data stores
                                                      10
WFS   WMS




            11
Examples




       12
GeoServer & MongoDB




http://repo.opengeo.org/org/geotools/gt-mongodb/   13
Existing MongoDB Plugin
 Open sourced in 2011 by Data Tactics
  Corp.
                                                         GeoJSON
                                         { "type": "FeatureCollection",

 Developed against MongoDB 1.8.x           "features": [
                                             { "type": "Feature",
                                               "geometry": {
                                                    "type": "Point",
                                                   "coordinates": [-77.0194, 38.8930]},
                                                "properties": {" place": “Newseum"} },
 Natively supports GeoJSON               { "type": "Feature",
                                               "geometry": {

  documents                                         "type": "Point",
                                                   "coordinates": [-77.0215, 38.8942]},
                                                "properties": {" place": " Penn Quarter Sports
                                         Tavern "} },
                                         }

 Supports all geometry types
                                                                                         14
Added support for multi-
                                                                             location documents


                                  Leveraged existing                            { “_id”:
                                                                                "metadata" : {
                                  GeoServer MongoDB Plugin                            “event”:”MongoDB DC 2013”
                                                                                      “url" :
                                                                                “http://www.10gen.com/events/mo
                                                                                ngodb-washington-dc-2013”
                                  http://repo.opengeo.org/org/geotools/gt-            }
                                  mongodb/                                       "geo" : [
                                                                                    {
                                                                                      “place” : “Newseum”
                                                                                       "location" : [-77.0194, 38.8930]
                                                                                   },
                                                                                   {
Skipped calculating full schema                                                       " place " : “Penn Quarter Sports
                                                                                Tavern",
& geospatial extents                                                                  "location" : [ -77.0215, 38.8942]
                                                                                   } ],
                                            Configurable to work with           ]}

                                            your existing schema
      Authentication support
                                                               OR
MongoDB + GeoServer


           GeoServer
Document               WMS

  Store                WFS

                       KML


           REST API




                                     Custom Web Client   16
Lessons Learned…
 Translating MongoDB document results to GeoServer Feature Data
  is not 1:1

 Challenging to filter bounding box results when location is within
  nested document

 Challenging to provide accurate page limits

 Not perfect, lots of room for improvement… but was worth it

 Code provided to OpenGeo development team
                                                                       17
References
 http://geoserver.org/display/GEOS/What+is+GeoServer

 http://opengeo.org/publications/opengeo-architecture/

 Getting Started:
    Download Plugin: http://repo.opengeo.org/org/geotools/gt-mongodb/
    FOSS4G2011 Presentation:
     http://fosslc.org/drupal/content/integration-geoserver-nosql-databases
                                                                         18
JP Prochazka
jprochazka@radiantblue.com




Rich Fecher               Sam Kramer
rfecher@radiantblue.com   skramer@radiantblue.com
Ad

Recommended

PDF
Vector Tiles with GeoServer and OpenLayers
Jody Garnett
 
PPTX
GeoServer 기초
Seong geon Kim
 
PDF
Giving MongoDB a Way to Play with the GIS Community
MongoDB
 
PPTX
Geographic Information System unit 1
sridevi5983
 
PPT
Web mapping
Sareuon Soum
 
PPTX
Tout savoir sur les SIG mobiles
Eric Lacoursiere
 
PDF
Web Mapping 101: What Is It and Making It Work For You
Safe Software
 
PDF
Spatial Data Model
Kaium Chowdhury
 
PPTX
GeoServer in Production: we do it, here is how!
GeoSolutions
 
PPTX
Web mapping
Musnanda Satar
 
PPTX
PostGIS and Spatial SQL
Todd Barr
 
PDF
What is GIS
Esri
 
PPT
Terminology and Basic Questions About GIS
Mrinmoy Majumder
 
PPT
Mobile gis
arniontech
 
PDF
GeoServer on Steroids
GeoSolutions
 
PPT
Spatial Data Infrastructure Best Practices with GeoNode
Sebastian Benthall
 
PPTX
Gis
satya sudheer
 
PDF
GeoServer, an introduction for beginners
GeoSolutions
 
PPTX
TYBSC IT PGIS Unit II Chapter I Data Management and Processing Systems
Arti Parab Academics
 
PPTX
Minning Application and Remote Sensing Using Aster Imagery
Hrishikesh Satpute
 
PPTX
GIS fundamentals - vector
Hans van der Kwast
 
PDF
Cartographie et SIG 2016 - Partie 3
Ibrahima Sylla
 
PPT
Open Source GIS
Joe Larson
 
PDF
SP SIG : Système d'Information Géographique
Institut Pasteur de Madagascar
 
PPTX
공간정보 거점대학 - OpenLayers의 고급 기능 이해 및 실습
HaNJiN Lee
 
PPTX
My ppt on gis
gargsonakshi1
 
PPTX
Proj4를 이용한 좌표계 변환
BJ Jang
 
PPTX
GIS User to Web-GIS Developer Journey
Tek Kshetri
 
ODP
Mapserver vs. geoserver
鸣 饶
 
PDF
2d web mapping with flask
Charmyne Mamador
 

More Related Content

What's hot (20)

PPTX
GeoServer in Production: we do it, here is how!
GeoSolutions
 
PPTX
Web mapping
Musnanda Satar
 
PPTX
PostGIS and Spatial SQL
Todd Barr
 
PDF
What is GIS
Esri
 
PPT
Terminology and Basic Questions About GIS
Mrinmoy Majumder
 
PPT
Mobile gis
arniontech
 
PDF
GeoServer on Steroids
GeoSolutions
 
PPT
Spatial Data Infrastructure Best Practices with GeoNode
Sebastian Benthall
 
PPTX
Gis
satya sudheer
 
PDF
GeoServer, an introduction for beginners
GeoSolutions
 
PPTX
TYBSC IT PGIS Unit II Chapter I Data Management and Processing Systems
Arti Parab Academics
 
PPTX
Minning Application and Remote Sensing Using Aster Imagery
Hrishikesh Satpute
 
PPTX
GIS fundamentals - vector
Hans van der Kwast
 
PDF
Cartographie et SIG 2016 - Partie 3
Ibrahima Sylla
 
PPT
Open Source GIS
Joe Larson
 
PDF
SP SIG : Système d'Information Géographique
Institut Pasteur de Madagascar
 
PPTX
공간정보 거점대학 - OpenLayers의 고급 기능 이해 및 실습
HaNJiN Lee
 
PPTX
My ppt on gis
gargsonakshi1
 
PPTX
Proj4를 이용한 좌표계 변환
BJ Jang
 
PPTX
GIS User to Web-GIS Developer Journey
Tek Kshetri
 
GeoServer in Production: we do it, here is how!
GeoSolutions
 
Web mapping
Musnanda Satar
 
PostGIS and Spatial SQL
Todd Barr
 
What is GIS
Esri
 
Terminology and Basic Questions About GIS
Mrinmoy Majumder
 
Mobile gis
arniontech
 
GeoServer on Steroids
GeoSolutions
 
Spatial Data Infrastructure Best Practices with GeoNode
Sebastian Benthall
 
GeoServer, an introduction for beginners
GeoSolutions
 
TYBSC IT PGIS Unit II Chapter I Data Management and Processing Systems
Arti Parab Academics
 
Minning Application and Remote Sensing Using Aster Imagery
Hrishikesh Satpute
 
GIS fundamentals - vector
Hans van der Kwast
 
Cartographie et SIG 2016 - Partie 3
Ibrahima Sylla
 
Open Source GIS
Joe Larson
 
SP SIG : Système d'Information Géographique
Institut Pasteur de Madagascar
 
공간정보 거점대학 - OpenLayers의 고급 기능 이해 및 실습
HaNJiN Lee
 
My ppt on gis
gargsonakshi1
 
Proj4를 이용한 좌표계 변환
BJ Jang
 
GIS User to Web-GIS Developer Journey
Tek Kshetri
 

Viewers also liked (20)

ODP
Mapserver vs. geoserver
鸣 饶
 
PDF
2d web mapping with flask
Charmyne Mamador
 
PDF
Hantering av kartor wms tjänster och punktmoln i novapoint dcm bas
Vianova Systems Sweden AB
 
PPTX
Time, Change and Habits in Geospatial-Temporal Information Standards
George Percivall
 
PDF
Common Approach for UAS Data Geoprocessing
George Percivall
 
PPT
Semantic Web 2.0
hchen1
 
PPT
Dotted Eyes - Open Software, Standards and Data
Dotted Eyes
 
PPT
Geospatial Web
hchen1
 
PDF
How We Test MongoDB: Evergreen
MongoDB
 
PPTX
Introduction to Elasticsearch
Bo Andersen
 
PPTX
Introduction to Elasticsearch Mapping
Bo Andersen
 
PDF
Geo webinarjune2015
Nicholas Knize, Ph.D., GISP
 
PDF
Introdução ao GeoServer 2.0
Fernando Quadro
 
PPTX
BizTalk Fundamentals
Manoj Kumar
 
PPTX
Using Big Data techniques to query and store OpenStreetMap data. Stephen Knox...
huguk
 
PDF
Introduction to BizTalk for Beginners
AboorvaRaja Ramar
 
ODP
WMS Performance Shootout 2010
Jeff McKenna
 
PPTX
Blockchains and the IoT
MongoDB
 
KEY
Mapping History on Open Street Map
frankieroberto
 
PPTX
몽고디비교육1일차
seung-hyun Park
 
Mapserver vs. geoserver
鸣 饶
 
2d web mapping with flask
Charmyne Mamador
 
Hantering av kartor wms tjänster och punktmoln i novapoint dcm bas
Vianova Systems Sweden AB
 
Time, Change and Habits in Geospatial-Temporal Information Standards
George Percivall
 
Common Approach for UAS Data Geoprocessing
George Percivall
 
Semantic Web 2.0
hchen1
 
Dotted Eyes - Open Software, Standards and Data
Dotted Eyes
 
Geospatial Web
hchen1
 
How We Test MongoDB: Evergreen
MongoDB
 
Introduction to Elasticsearch
Bo Andersen
 
Introduction to Elasticsearch Mapping
Bo Andersen
 
Geo webinarjune2015
Nicholas Knize, Ph.D., GISP
 
Introdução ao GeoServer 2.0
Fernando Quadro
 
BizTalk Fundamentals
Manoj Kumar
 
Using Big Data techniques to query and store OpenStreetMap data. Stephen Knox...
huguk
 
Introduction to BizTalk for Beginners
AboorvaRaja Ramar
 
WMS Performance Shootout 2010
Jeff McKenna
 
Blockchains and the IoT
MongoDB
 
Mapping History on Open Street Map
frankieroberto
 
몽고디비교육1일차
seung-hyun Park
 
Ad

Similar to MongoDB + GeoServer (20)

PPT
Building web applications with mongo db presentation
Murat Çakal
 
KEY
Building your first application w/mongoDB MongoSV2011
Steven Francia
 
PPT
Mongo Web Apps: OSCON 2011
rogerbodamer
 
PPTX
Drupal mapping modules
Patrick Hayes
 
PPTX
Open Source Mapping with Python, and MongoDB
techprane
 
PDF
Comparing Geospatial Implementation in MongoDB, Postgres, and Elastic
Antonios Giannopoulos
 
PDF
Developing applications with Cloud Services #javaone 2012
Chris Richardson
 
PPTX
Building a Location-based platform with MongoDB from Zero.
Ravi Teja
 
PPTX
Getting Started with Geospatial Data in MongoDB
MongoDB
 
PPT
Nosh slides mongodb web application - mongo philly 2011
MongoDB
 
KEY
Building Your First MongoDB Application
Rick Copeland
 
PPT
Introduction to MongoDB
Nosh Petigara
 
PPT
Building Your First MongoDB Application (Mongo Austin)
MongoDB
 
PPT
Building Applications with MongoDB - an Introduction
MongoDB
 
PPTX
First app online conf
MongoDB
 
KEY
Geospatial Indexing and Querying with MongoDB
Grant Goodale
 
PDF
Map4rdf - Faceted Browser for Geospatial Datasets
Boris Villazón-Terrazas
 
PDF
Geospatial technologies
Hal Seki
 
KEY
Mapping Flatland: Using MongoDB for an MMO Crossword Game (GDC Online 2011)
Grant Goodale
 
PPT
Building a web application with mongo db
MongoDB
 
Building web applications with mongo db presentation
Murat Çakal
 
Building your first application w/mongoDB MongoSV2011
Steven Francia
 
Mongo Web Apps: OSCON 2011
rogerbodamer
 
Drupal mapping modules
Patrick Hayes
 
Open Source Mapping with Python, and MongoDB
techprane
 
Comparing Geospatial Implementation in MongoDB, Postgres, and Elastic
Antonios Giannopoulos
 
Developing applications with Cloud Services #javaone 2012
Chris Richardson
 
Building a Location-based platform with MongoDB from Zero.
Ravi Teja
 
Getting Started with Geospatial Data in MongoDB
MongoDB
 
Nosh slides mongodb web application - mongo philly 2011
MongoDB
 
Building Your First MongoDB Application
Rick Copeland
 
Introduction to MongoDB
Nosh Petigara
 
Building Your First MongoDB Application (Mongo Austin)
MongoDB
 
Building Applications with MongoDB - an Introduction
MongoDB
 
First app online conf
MongoDB
 
Geospatial Indexing and Querying with MongoDB
Grant Goodale
 
Map4rdf - Faceted Browser for Geospatial Datasets
Boris Villazón-Terrazas
 
Geospatial technologies
Hal Seki
 
Mapping Flatland: Using MongoDB for an MMO Crossword Game (GDC Online 2011)
Grant Goodale
 
Building a web application with mongo db
MongoDB
 
Ad

More from MongoDB (20)

PDF
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB
 
PDF
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
PDF
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB
 
PDF
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB
 
PDF
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB
 
PDF
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB
 
PDF
MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
PDF
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB
 
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB
 
PDF
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB
 
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB
 
PDF
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB
 
PDF
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB
 
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB
 
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB
 
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB
 
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB
 
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB
 
MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB
 
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB
 
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB
 
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB
 
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB
 
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB
 
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB
 
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB
 
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB
 
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB
 
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB
 
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB
 
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB
 

MongoDB + GeoServer

  • 2. Outline Why we use MongoDB What is GeoServer The MongoDB GeoServer Plugin Lessons Learned 2
  • 3. Why we use MongoDB Store Large Number Store Mixed Geospatial of Documents Document Metadata Support + + 3
  • 4. Why we use MongoDB Small Team + = 4
  • 5. Our Use of MongoDB Document { “_id”: Processor "metadata" : { “event”:”MongoDB DC 2013”, “url”:” http://www.10gen.com/events/mon godb-washington-dc-2013”, } Original Files Extracted Text "geo" : [ { + + “place” : “Newseum”, Metadata Metadata "location" : [-77.0194, 38.8930] }, { " place " : “Penn Quarter Sports Tavern", "location" : [ -77.0215, 38.8942] } ], ]} spatial index created for geo.location 5
  • 6. Store Document Spatial Document Analytic Services Services Services REST API Custom Web Client How we expose our data 6
  • 7. I love your data, but… 7
  • 8. I love your data, but… How can I integrate it into my existing workflow? 8
  • 9. I love your data, but… How can I integrate it into my existing workflow? Answer: Open Geospatial Standards 9
  • 10. What is GeoServer?  Open source software server that allows users to share geospatial data  Reference implementation of the Open Geospatial Consortium (OGC) standards  WMS (Web Map Service)  WFS (Web Feature Service)  WCS (Web Coverage Service)  Open API allows integration of back-end data stores 10
  • 11. WFS WMS 11
  • 12. Examples 12
  • 14. Existing MongoDB Plugin  Open sourced in 2011 by Data Tactics Corp. GeoJSON { "type": "FeatureCollection",  Developed against MongoDB 1.8.x "features": [ { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-77.0194, 38.8930]}, "properties": {" place": “Newseum"} },  Natively supports GeoJSON { "type": "Feature", "geometry": { documents "type": "Point", "coordinates": [-77.0215, 38.8942]}, "properties": {" place": " Penn Quarter Sports Tavern "} }, }  Supports all geometry types 14
  • 15. Added support for multi- location documents Leveraged existing { “_id”: "metadata" : { GeoServer MongoDB Plugin “event”:”MongoDB DC 2013” “url" : “http://www.10gen.com/events/mo ngodb-washington-dc-2013” http://repo.opengeo.org/org/geotools/gt- } mongodb/ "geo" : [ { “place” : “Newseum” "location" : [-77.0194, 38.8930] }, { Skipped calculating full schema " place " : “Penn Quarter Sports Tavern", & geospatial extents "location" : [ -77.0215, 38.8942] } ], Configurable to work with ]} your existing schema Authentication support OR
  • 16. MongoDB + GeoServer GeoServer Document WMS Store WFS KML REST API Custom Web Client 16
  • 17. Lessons Learned…  Translating MongoDB document results to GeoServer Feature Data is not 1:1  Challenging to filter bounding box results when location is within nested document  Challenging to provide accurate page limits  Not perfect, lots of room for improvement… but was worth it  Code provided to OpenGeo development team 17
  • 18. References  http://geoserver.org/display/GEOS/What+is+GeoServer  http://opengeo.org/publications/opengeo-architecture/  Getting Started:  Download Plugin: http://repo.opengeo.org/org/geotools/gt-mongodb/  FOSS4G2011 Presentation: http://fosslc.org/drupal/content/integration-geoserver-nosql-databases 18