SlideShare a Scribd company logo
Wide Open Spaces:
 MySQL as a Web
 Mapping Service
     Backend
          Don Beesing
 Alion Science and Technology
  USJFCOM Experimentation
    Modeling and Simulation

        April 22, 2009
Overview
     Going to show MySQL in one aspect of GIS World
 


     Security Restrictions
 


     Feel free to ask questions
 
Problem
     Experiment based environment
 


     How to share geospatial information
 


     Many different government organizations
 


     Disparate systems on each site
 


     Fallback systems to use
 
Solution
     WMS (Web Mapping Service)
 


     OpenGIS Standard
 


     Http request returns images
 


     Can be a queryable service
 
Constraints
     Typical commercial setup
 


     Timing & dollar issues
 


     Unofficial open source policy
 


     Our idea
 


     MySQL & MapServer
 
Diagram of Implementation
     Users without                                 Users with access to
     access to WMS                                   WMS Publishing 
        Publishing
                 




                       Point and click GUI



             COP
                                      COP/WMS Server


                WMS Feed
                       WMS Feed



                                HTTPDServer
HTTP Feed


                               MapServer CGI
                                                            MySQL Server
MySQL
     Already a key component of lab
• 
     Proof of concept
• 
     Stubbornness of lab manager
• 
MySQL Implementation
•  Schema setup – geometry type
•  Parent/child tables for updates
•  Roads not taken
  – Shapefile import
MapServer
     Open source
• 
     Standards compliant
• 
     OGR connector to link w/MySQL
• 
     Standards version issues
• 
     Reliance on linked WFS
• 
MapServer Format Example
Meta Data Header
WEB
  METADATA
     quot;wms_titlequot;       quot;J9 Noble Resolve WMS Serverquot;
     quot;wms_onlineresourcequot; quot;https://yoursite.com/mapserv?map=nr.map"
     quot;wms_srsquot;         quot;EPSG:4269 EPSG:4326quot;
     quot;wfs_titlequot;     quot;J9 Noble Resolve WFS Serverquot;
    quot;wfs_onlineresourcequot; quot;https://yoursite.com/mapserv?map=nr.map"
    quot;wfs_srsquot;        quot;EPSG:4326quot;
   END
END
Format Example
Layer Info
 LAYER
     CONNECTIONTYPE OGR
     CONNECTION
quot;MYSQL:noble_resolve_08,user=test,password=test,host=127.0.0.1,port=3306quot;
     DATA quot;SELECT geom,id,max(update_id) as `update_ref`,object_title,IF(u.description IS NULL,
g.description, u.description) as `description`, IF(u.attachments IS NULL,
SUBSTRING_INDEX(SUBSTRING(g.attachments,2),',',1),
SUBSTRING_INDEX(SUBSTRING(u.attachments,2),',',1)) as `Attachment` FROM geoint g LEFT
JOIN geoint_updates u ON id=record_id WHERE object_type IN ('POINT','MULTIPOINT') AND
incident_type='fire' GROUP BY id, update_id;quot;
     NAME quot;fire_pointsquot;
            METADATA
                  ##wms metadata
                  quot;wms_titlequot; quot;fire_pointsquot;
                  quot;wms_authorquot; quot;USJFCOM J9quot;
                  quot;wms_srsquot;       quot;EPSG:4269 EPSG:4326quot;
                  quot;wms_include_itemsquot; quot;allquot;

               ##wfs metadata
               quot;wfs_titlequot; quot;fire_pointsquot;
               quot;gml_featureidquot; quot;idquot;
               quot;gml_include_itemsquot; quot;allquot;
               quot;gml_geometriesquot; quot;standardquot;
               quot;gml_standard_typequot; quot;pointquot;
Format Example
Layer Info (cont)
END
       TYPE POINT
        STATUS ON
        DUMP TRUE
       TOLERANCE 3
       TRANSPARENCY 90
       TEMPLATE quot;test.phpquot;
        PROJECTION
            quot;init=epsg:4326quot;
        END
        CLASS
            NAME quot;fire_pointsquot;
            SYMBOL graphics/flames.gif
        END
    END
Screenshot Demo

  Giesken


  James


  J9 Control
Screenshot Demo
How did MySQL grade out?
     Pros
 


     Cons
 


     Incompletes
 
Unresolved Issues – Steps Forward
     Speed of Google Maps
• 
     Grouping of layers
• 
     Standards Assessment
• 
     MySQL GIS function usage expansion
• 
Thanks
     Would like to thank Steve Judy who was instrumental
• 
     in the front end design and design of some of the
     subtables used for this project
     Also would like to thank Chris Kannan of NGA who I
• 
     bounced a lot of these ideas off of and who put me in
     contact with people who had used MapServer before
Questions




    Any Questions after the conference can be directed to: 
                        Don Beesing
                dbeesing@alionscience.com
References
           http://mapserver.org
      • 
           http://www.gdal.org/ogr
      • 
           http://www.opengeospatial.org
      • 
           http://www.jfcom.mil/about/experiment.html
      • 
jo

More Related Content

What's hot

Front end performance tip
Front end performance tipFront end performance tip
Front end performance tip
Steve Yu
 
JS Chicago Meetup 2/23/16 - Redux & Routes
JS Chicago Meetup 2/23/16 - Redux & RoutesJS Chicago Meetup 2/23/16 - Redux & Routes
JS Chicago Meetup 2/23/16 - Redux & Routes
Nick Dreckshage
 
Upstate CSCI 450 WebDev Chapter 4
Upstate CSCI 450 WebDev Chapter 4Upstate CSCI 450 WebDev Chapter 4
Upstate CSCI 450 WebDev Chapter 4
DanWooster1
 
Everything is Awesome - Cutting the Corners off the Web
Everything is Awesome - Cutting the Corners off the WebEverything is Awesome - Cutting the Corners off the Web
Everything is Awesome - Cutting the Corners off the Web
James Rakich
 
image_upload Plugin 2007/12/7
image_upload Plugin 2007/12/7image_upload Plugin 2007/12/7
image_upload Plugin 2007/12/7
Yasuko Ohba
 

What's hot (7)

Front End Performance
Front End PerformanceFront End Performance
Front End Performance
 
Front end performance tip
Front end performance tipFront end performance tip
Front end performance tip
 
JS Chicago Meetup 2/23/16 - Redux & Routes
JS Chicago Meetup 2/23/16 - Redux & RoutesJS Chicago Meetup 2/23/16 - Redux & Routes
JS Chicago Meetup 2/23/16 - Redux & Routes
 
Upstate CSCI 450 WebDev Chapter 4
Upstate CSCI 450 WebDev Chapter 4Upstate CSCI 450 WebDev Chapter 4
Upstate CSCI 450 WebDev Chapter 4
 
Everything is Awesome - Cutting the Corners off the Web
Everything is Awesome - Cutting the Corners off the WebEverything is Awesome - Cutting the Corners off the Web
Everything is Awesome - Cutting the Corners off the Web
 
image_upload Plugin 2007/12/7
image_upload Plugin 2007/12/7image_upload Plugin 2007/12/7
image_upload Plugin 2007/12/7
 
T5 Oli Aro
T5 Oli AroT5 Oli Aro
T5 Oli Aro
 

Viewers also liked

Computer Theory
Computer TheoryComputer Theory
Computer Theoryzoeindie
 
Colour Perception
Colour PerceptionColour Perception
Colour Perceptionzoeindie
 
The biography of a Shadow Puppet Master De-Cheng Chang
The biography of a Shadow Puppet Master De-Cheng ChangThe biography of a Shadow Puppet Master De-Cheng Chang
The biography of a Shadow Puppet Master De-Cheng Changzoeindie
 
Mars Can We Afford It
Mars Can We Afford ItMars Can We Afford It
Mars Can We Afford It
Bernajena
 
Alternative Ideas for Book Reports
Alternative Ideas for Book ReportsAlternative Ideas for Book Reports
Alternative Ideas for Book Reports
Bernajena
 
After The Idea
After The IdeaAfter The Idea
After The Idea
mwalters8
 
"Theoretical perspectives for strategic human resource management" Patrick M....
"Theoretical perspectives for strategic human resource management" Patrick M...."Theoretical perspectives for strategic human resource management" Patrick M....
"Theoretical perspectives for strategic human resource management" Patrick M....
Zeyd GÜLESİN
 
"istanbulkart, A Success Story of Metropolitan Smart Card", Paris, 29 Septerm...
"istanbulkart, A Success Story of Metropolitan Smart Card", Paris, 29 Septerm..."istanbulkart, A Success Story of Metropolitan Smart Card", Paris, 29 Septerm...
"istanbulkart, A Success Story of Metropolitan Smart Card", Paris, 29 Septerm...
Zeyd GÜLESİN
 
Paper Review : "The transformation of the human resouce function resolving th...
Paper Review : "The transformation of the human resouce function resolving th...Paper Review : "The transformation of the human resouce function resolving th...
Paper Review : "The transformation of the human resouce function resolving th...
Zeyd GÜLESİN
 
WordPress as a CMS
WordPress as a CMSWordPress as a CMS
WordPress as a CMS
mwalters8
 
Makale değerlendirme: "İnsan kaynaklari yöneti̇mi̇ alaninda kuram ve araştir...
Makale değerlendirme: "İnsan kaynaklari yöneti̇mi̇ alaninda kuram ve araştir...Makale değerlendirme: "İnsan kaynaklari yöneti̇mi̇ alaninda kuram ve araştir...
Makale değerlendirme: "İnsan kaynaklari yöneti̇mi̇ alaninda kuram ve araştir...
Zeyd GÜLESİN
 
Mars About
Mars AboutMars About
Mars About
Bernajena
 
Partitioning Under The Hood
Partitioning Under The HoodPartitioning Under The Hood
Partitioning Under The HoodMySQLConference
 
WordPress as a CMS v2
WordPress as a CMS v2WordPress as a CMS v2
WordPress as a CMS v2
mwalters8
 
A Viable System Model Approach to the Organisational Structure of the Informa...
A Viable System Model Approach to the Organisational Structure of the Informa...A Viable System Model Approach to the Organisational Structure of the Informa...
A Viable System Model Approach to the Organisational Structure of the Informa...
Zeyd GÜLESİN
 

Viewers also liked (18)

Mirage Slide Show
Mirage  Slide  ShowMirage  Slide  Show
Mirage Slide Show
 
Computer Theory
Computer TheoryComputer Theory
Computer Theory
 
Colour Perception
Colour PerceptionColour Perception
Colour Perception
 
The biography of a Shadow Puppet Master De-Cheng Chang
The biography of a Shadow Puppet Master De-Cheng ChangThe biography of a Shadow Puppet Master De-Cheng Chang
The biography of a Shadow Puppet Master De-Cheng Chang
 
Quantum
QuantumQuantum
Quantum
 
Mars Can We Afford It
Mars Can We Afford ItMars Can We Afford It
Mars Can We Afford It
 
Dance Recitle
Dance RecitleDance Recitle
Dance Recitle
 
Alternative Ideas for Book Reports
Alternative Ideas for Book ReportsAlternative Ideas for Book Reports
Alternative Ideas for Book Reports
 
After The Idea
After The IdeaAfter The Idea
After The Idea
 
"Theoretical perspectives for strategic human resource management" Patrick M....
"Theoretical perspectives for strategic human resource management" Patrick M...."Theoretical perspectives for strategic human resource management" Patrick M....
"Theoretical perspectives for strategic human resource management" Patrick M....
 
"istanbulkart, A Success Story of Metropolitan Smart Card", Paris, 29 Septerm...
"istanbulkart, A Success Story of Metropolitan Smart Card", Paris, 29 Septerm..."istanbulkart, A Success Story of Metropolitan Smart Card", Paris, 29 Septerm...
"istanbulkart, A Success Story of Metropolitan Smart Card", Paris, 29 Septerm...
 
Paper Review : "The transformation of the human resouce function resolving th...
Paper Review : "The transformation of the human resouce function resolving th...Paper Review : "The transformation of the human resouce function resolving th...
Paper Review : "The transformation of the human resouce function resolving th...
 
WordPress as a CMS
WordPress as a CMSWordPress as a CMS
WordPress as a CMS
 
Makale değerlendirme: "İnsan kaynaklari yöneti̇mi̇ alaninda kuram ve araştir...
Makale değerlendirme: "İnsan kaynaklari yöneti̇mi̇ alaninda kuram ve araştir...Makale değerlendirme: "İnsan kaynaklari yöneti̇mi̇ alaninda kuram ve araştir...
Makale değerlendirme: "İnsan kaynaklari yöneti̇mi̇ alaninda kuram ve araştir...
 
Mars About
Mars AboutMars About
Mars About
 
Partitioning Under The Hood
Partitioning Under The HoodPartitioning Under The Hood
Partitioning Under The Hood
 
WordPress as a CMS v2
WordPress as a CMS v2WordPress as a CMS v2
WordPress as a CMS v2
 
A Viable System Model Approach to the Organisational Structure of the Informa...
A Viable System Model Approach to the Organisational Structure of the Informa...A Viable System Model Approach to the Organisational Structure of the Informa...
A Viable System Model Approach to the Organisational Structure of the Informa...
 

Similar to Wide Open Spaces Using My Sql As A Web Mapping Service Backend

Capistrano2
Capistrano2Capistrano2
Capistrano2
Luca Mearelli
 
Orbitz and Spring Webflow Case Study
Orbitz and Spring Webflow Case StudyOrbitz and Spring Webflow Case Study
Orbitz and Spring Webflow Case Study
Mark Meeker
 
Usability in the GeoWeb
Usability in the GeoWebUsability in the GeoWeb
Usability in the GeoWebDave Bouwman
 
Basics of Rich Internet Applications
Basics of Rich Internet ApplicationsBasics of Rich Internet Applications
Basics of Rich Internet Applications
Subramanyan Murali
 
Gmr Highload Presentation Revised
Gmr Highload Presentation RevisedGmr Highload Presentation Revised
Gmr Highload Presentation RevisedOntico
 
Gmr Highload Presentation
Gmr Highload PresentationGmr Highload Presentation
Gmr Highload PresentationOntico
 
Worskhop Leicester 2010
Worskhop Leicester 2010Worskhop Leicester 2010
Worskhop Leicester 2010
Joanne Cook
 
Be Afraid. Be Very Afraid. Javascript security, XSS & CSRF
Be Afraid. Be Very Afraid. Javascript security, XSS & CSRFBe Afraid. Be Very Afraid. Javascript security, XSS & CSRF
Be Afraid. Be Very Afraid. Javascript security, XSS & CSRF
Mark Stanton
 
Rails in the Cloud
Rails in the CloudRails in the Cloud
Rails in the Cloud
iwarshak
 
Automated Performance Testing With J Meter And Maven
Automated  Performance  Testing With  J Meter And  MavenAutomated  Performance  Testing With  J Meter And  Maven
Automated Performance Testing With J Meter And MavenPerconaPerformance
 
Apache Con Us2007 Apachei Batis
Apache Con Us2007 Apachei BatisApache Con Us2007 Apachei Batis
Apache Con Us2007 Apachei Batisday
 
More Secrets of JavaScript Libraries
More Secrets of JavaScript LibrariesMore Secrets of JavaScript Libraries
More Secrets of JavaScript Libraries
jeresig
 
[Roblek] Distributed computing in practice
[Roblek] Distributed computing in practice[Roblek] Distributed computing in practice
[Roblek] Distributed computing in practicejavablend
 
iPhone Development For Experienced Web Developers
iPhone Development For Experienced Web DevelopersiPhone Development For Experienced Web Developers
iPhone Development For Experienced Web Developerslisab517
 
Blueprint talk at Open Hackday London 2009
Blueprint talk at Open Hackday London 2009Blueprint talk at Open Hackday London 2009
Blueprint talk at Open Hackday London 2009
Ricardo Varela
 
Ajax In Action 2008 - Gui Development With qooxdoo
Ajax In Action 2008 - Gui Development With qooxdooAjax In Action 2008 - Gui Development With qooxdoo
Ajax In Action 2008 - Gui Development With qooxdoo
Fabian Jakobs
 
Google's HTML5 Work: what's next?
Google's HTML5 Work: what's next?Google's HTML5 Work: what's next?
Google's HTML5 Work: what's next?
Patrick Chanezon
 

Similar to Wide Open Spaces Using My Sql As A Web Mapping Service Backend (20)

Capistrano2
Capistrano2Capistrano2
Capistrano2
 
Orbitz and Spring Webflow Case Study
Orbitz and Spring Webflow Case StudyOrbitz and Spring Webflow Case Study
Orbitz and Spring Webflow Case Study
 
Usability in the GeoWeb
Usability in the GeoWebUsability in the GeoWeb
Usability in the GeoWeb
 
Basics of Rich Internet Applications
Basics of Rich Internet ApplicationsBasics of Rich Internet Applications
Basics of Rich Internet Applications
 
Gmr Highload Presentation Revised
Gmr Highload Presentation RevisedGmr Highload Presentation Revised
Gmr Highload Presentation Revised
 
Gmr Highload Presentation
Gmr Highload PresentationGmr Highload Presentation
Gmr Highload Presentation
 
Worskhop Leicester 2010
Worskhop Leicester 2010Worskhop Leicester 2010
Worskhop Leicester 2010
 
Be Afraid. Be Very Afraid. Javascript security, XSS & CSRF
Be Afraid. Be Very Afraid. Javascript security, XSS & CSRFBe Afraid. Be Very Afraid. Javascript security, XSS & CSRF
Be Afraid. Be Very Afraid. Javascript security, XSS & CSRF
 
Rails in the Cloud
Rails in the CloudRails in the Cloud
Rails in the Cloud
 
Automated Performance Testing With J Meter And Maven
Automated  Performance  Testing With  J Meter And  MavenAutomated  Performance  Testing With  J Meter And  Maven
Automated Performance Testing With J Meter And Maven
 
Apache Con Us2007 Apachei Batis
Apache Con Us2007 Apachei BatisApache Con Us2007 Apachei Batis
Apache Con Us2007 Apachei Batis
 
More Secrets of JavaScript Libraries
More Secrets of JavaScript LibrariesMore Secrets of JavaScript Libraries
More Secrets of JavaScript Libraries
 
Magee Dday2 Fixing App Performance Italiano
Magee Dday2 Fixing App Performance ItalianoMagee Dday2 Fixing App Performance Italiano
Magee Dday2 Fixing App Performance Italiano
 
Satchmo
SatchmoSatchmo
Satchmo
 
[Roblek] Distributed computing in practice
[Roblek] Distributed computing in practice[Roblek] Distributed computing in practice
[Roblek] Distributed computing in practice
 
iPhone Development For Experienced Web Developers
iPhone Development For Experienced Web DevelopersiPhone Development For Experienced Web Developers
iPhone Development For Experienced Web Developers
 
Blueprint talk at Open Hackday London 2009
Blueprint talk at Open Hackday London 2009Blueprint talk at Open Hackday London 2009
Blueprint talk at Open Hackday London 2009
 
Ajax In Action 2008 - Gui Development With qooxdoo
Ajax In Action 2008 - Gui Development With qooxdooAjax In Action 2008 - Gui Development With qooxdoo
Ajax In Action 2008 - Gui Development With qooxdoo
 
Google's HTML5 Work: what's next?
Google's HTML5 Work: what's next?Google's HTML5 Work: what's next?
Google's HTML5 Work: what's next?
 
SEASR Installation
SEASR InstallationSEASR Installation
SEASR Installation
 

More from MySQLConference

Memcached Functions For My Sql Seemless Caching In My Sql
Memcached Functions For My Sql Seemless Caching In My SqlMemcached Functions For My Sql Seemless Caching In My Sql
Memcached Functions For My Sql Seemless Caching In My SqlMySQLConference
 
Using Open Source Bi In The Real World
Using Open Source Bi In The Real WorldUsing Open Source Bi In The Real World
Using Open Source Bi In The Real WorldMySQLConference
 
Tricks And Tradeoffs Of Deploying My Sql Clusters In The Cloud
Tricks And Tradeoffs Of Deploying My Sql Clusters In The CloudTricks And Tradeoffs Of Deploying My Sql Clusters In The Cloud
Tricks And Tradeoffs Of Deploying My Sql Clusters In The CloudMySQLConference
 
D Trace Support In My Sql Guide To Solving Reallife Performance Problems
D Trace Support In My Sql Guide To Solving Reallife Performance ProblemsD Trace Support In My Sql Guide To Solving Reallife Performance Problems
D Trace Support In My Sql Guide To Solving Reallife Performance ProblemsMySQLConference
 
Writing Efficient Java Applications For My Sql Cluster Using Ndbj
Writing Efficient Java Applications For My Sql Cluster Using NdbjWriting Efficient Java Applications For My Sql Cluster Using Ndbj
Writing Efficient Java Applications For My Sql Cluster Using NdbjMySQLConference
 
My Sql Performance On Ec2
My Sql Performance On Ec2My Sql Performance On Ec2
My Sql Performance On Ec2MySQLConference
 
Inno Db Performance And Usability Patches
Inno Db Performance And Usability PatchesInno Db Performance And Usability Patches
Inno Db Performance And Usability PatchesMySQLConference
 
My Sql And Search At Craigslist
My Sql And Search At CraigslistMy Sql And Search At Craigslist
My Sql And Search At CraigslistMySQLConference
 
Solving Common Sql Problems With The Seq Engine
Solving Common Sql Problems With The Seq EngineSolving Common Sql Problems With The Seq Engine
Solving Common Sql Problems With The Seq EngineMySQLConference
 
Using Continuous Etl With Real Time Queries To Eliminate My Sql Bottlenecks
Using Continuous Etl With Real Time Queries To Eliminate My Sql BottlenecksUsing Continuous Etl With Real Time Queries To Eliminate My Sql Bottlenecks
Using Continuous Etl With Real Time Queries To Eliminate My Sql BottlenecksMySQLConference
 
Make Your Life Easier With Maatkit
Make Your Life Easier With MaatkitMake Your Life Easier With Maatkit
Make Your Life Easier With MaatkitMySQLConference
 
Getting The Most Out Of My Sql Enterprise Monitor 20
Getting The Most Out Of My Sql Enterprise Monitor 20Getting The Most Out Of My Sql Enterprise Monitor 20
Getting The Most Out Of My Sql Enterprise Monitor 20MySQLConference
 
Unleash The Power Of Your Data Using Open Source Business Intelligence
Unleash The Power Of Your Data Using Open Source Business IntelligenceUnleash The Power Of Your Data Using Open Source Business Intelligence
Unleash The Power Of Your Data Using Open Source Business IntelligenceMySQLConference
 
Inno Db Internals Inno Db File Formats And Source Code Structure
Inno Db Internals Inno Db File Formats And Source Code StructureInno Db Internals Inno Db File Formats And Source Code Structure
Inno Db Internals Inno Db File Formats And Source Code StructureMySQLConference
 
My Sql High Availability With A Punch Drbd 83 And Drbd For Dolphin Express
My Sql High Availability With A Punch Drbd 83 And Drbd For Dolphin ExpressMy Sql High Availability With A Punch Drbd 83 And Drbd For Dolphin Express
My Sql High Availability With A Punch Drbd 83 And Drbd For Dolphin ExpressMySQLConference
 

More from MySQLConference (16)

Memcached Functions For My Sql Seemless Caching In My Sql
Memcached Functions For My Sql Seemless Caching In My SqlMemcached Functions For My Sql Seemless Caching In My Sql
Memcached Functions For My Sql Seemless Caching In My Sql
 
Using Open Source Bi In The Real World
Using Open Source Bi In The Real WorldUsing Open Source Bi In The Real World
Using Open Source Bi In The Real World
 
Tricks And Tradeoffs Of Deploying My Sql Clusters In The Cloud
Tricks And Tradeoffs Of Deploying My Sql Clusters In The CloudTricks And Tradeoffs Of Deploying My Sql Clusters In The Cloud
Tricks And Tradeoffs Of Deploying My Sql Clusters In The Cloud
 
D Trace Support In My Sql Guide To Solving Reallife Performance Problems
D Trace Support In My Sql Guide To Solving Reallife Performance ProblemsD Trace Support In My Sql Guide To Solving Reallife Performance Problems
D Trace Support In My Sql Guide To Solving Reallife Performance Problems
 
Writing Efficient Java Applications For My Sql Cluster Using Ndbj
Writing Efficient Java Applications For My Sql Cluster Using NdbjWriting Efficient Java Applications For My Sql Cluster Using Ndbj
Writing Efficient Java Applications For My Sql Cluster Using Ndbj
 
My Sql Performance On Ec2
My Sql Performance On Ec2My Sql Performance On Ec2
My Sql Performance On Ec2
 
Inno Db Performance And Usability Patches
Inno Db Performance And Usability PatchesInno Db Performance And Usability Patches
Inno Db Performance And Usability Patches
 
My Sql And Search At Craigslist
My Sql And Search At CraigslistMy Sql And Search At Craigslist
My Sql And Search At Craigslist
 
The Smug Mug Tale
The Smug Mug TaleThe Smug Mug Tale
The Smug Mug Tale
 
Solving Common Sql Problems With The Seq Engine
Solving Common Sql Problems With The Seq EngineSolving Common Sql Problems With The Seq Engine
Solving Common Sql Problems With The Seq Engine
 
Using Continuous Etl With Real Time Queries To Eliminate My Sql Bottlenecks
Using Continuous Etl With Real Time Queries To Eliminate My Sql BottlenecksUsing Continuous Etl With Real Time Queries To Eliminate My Sql Bottlenecks
Using Continuous Etl With Real Time Queries To Eliminate My Sql Bottlenecks
 
Make Your Life Easier With Maatkit
Make Your Life Easier With MaatkitMake Your Life Easier With Maatkit
Make Your Life Easier With Maatkit
 
Getting The Most Out Of My Sql Enterprise Monitor 20
Getting The Most Out Of My Sql Enterprise Monitor 20Getting The Most Out Of My Sql Enterprise Monitor 20
Getting The Most Out Of My Sql Enterprise Monitor 20
 
Unleash The Power Of Your Data Using Open Source Business Intelligence
Unleash The Power Of Your Data Using Open Source Business IntelligenceUnleash The Power Of Your Data Using Open Source Business Intelligence
Unleash The Power Of Your Data Using Open Source Business Intelligence
 
Inno Db Internals Inno Db File Formats And Source Code Structure
Inno Db Internals Inno Db File Formats And Source Code StructureInno Db Internals Inno Db File Formats And Source Code Structure
Inno Db Internals Inno Db File Formats And Source Code Structure
 
My Sql High Availability With A Punch Drbd 83 And Drbd For Dolphin Express
My Sql High Availability With A Punch Drbd 83 And Drbd For Dolphin ExpressMy Sql High Availability With A Punch Drbd 83 And Drbd For Dolphin Express
My Sql High Availability With A Punch Drbd 83 And Drbd For Dolphin Express
 

Recently uploaded

How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 

Recently uploaded (20)

How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 

Wide Open Spaces Using My Sql As A Web Mapping Service Backend

  • 1. Wide Open Spaces: MySQL as a Web Mapping Service Backend Don Beesing Alion Science and Technology USJFCOM Experimentation Modeling and Simulation April 22, 2009
  • 2. Overview Going to show MySQL in one aspect of GIS World   Security Restrictions   Feel free to ask questions  
  • 3. Problem Experiment based environment   How to share geospatial information   Many different government organizations   Disparate systems on each site   Fallback systems to use  
  • 4. Solution WMS (Web Mapping Service)   OpenGIS Standard   Http request returns images   Can be a queryable service  
  • 5. Constraints Typical commercial setup   Timing & dollar issues   Unofficial open source policy   Our idea   MySQL & MapServer  
  • 6. Diagram of Implementation Users without Users with access to access to WMS WMS Publishing Publishing Point and click GUI COP COP/WMS Server WMS Feed WMS Feed HTTPDServer HTTP Feed MapServer CGI MySQL Server
  • 7. MySQL Already a key component of lab •  Proof of concept •  Stubbornness of lab manager • 
  • 8. MySQL Implementation •  Schema setup – geometry type •  Parent/child tables for updates •  Roads not taken – Shapefile import
  • 9. MapServer Open source •  Standards compliant •  OGR connector to link w/MySQL •  Standards version issues •  Reliance on linked WFS • 
  • 10. MapServer Format Example Meta Data Header WEB METADATA quot;wms_titlequot; quot;J9 Noble Resolve WMS Serverquot; quot;wms_onlineresourcequot; quot;https://yoursite.com/mapserv?map=nr.map" quot;wms_srsquot; quot;EPSG:4269 EPSG:4326quot; quot;wfs_titlequot; quot;J9 Noble Resolve WFS Serverquot; quot;wfs_onlineresourcequot; quot;https://yoursite.com/mapserv?map=nr.map" quot;wfs_srsquot; quot;EPSG:4326quot; END END
  • 11. Format Example Layer Info LAYER CONNECTIONTYPE OGR CONNECTION quot;MYSQL:noble_resolve_08,user=test,password=test,host=127.0.0.1,port=3306quot; DATA quot;SELECT geom,id,max(update_id) as `update_ref`,object_title,IF(u.description IS NULL, g.description, u.description) as `description`, IF(u.attachments IS NULL, SUBSTRING_INDEX(SUBSTRING(g.attachments,2),',',1), SUBSTRING_INDEX(SUBSTRING(u.attachments,2),',',1)) as `Attachment` FROM geoint g LEFT JOIN geoint_updates u ON id=record_id WHERE object_type IN ('POINT','MULTIPOINT') AND incident_type='fire' GROUP BY id, update_id;quot; NAME quot;fire_pointsquot; METADATA ##wms metadata quot;wms_titlequot; quot;fire_pointsquot; quot;wms_authorquot; quot;USJFCOM J9quot; quot;wms_srsquot; quot;EPSG:4269 EPSG:4326quot; quot;wms_include_itemsquot; quot;allquot; ##wfs metadata quot;wfs_titlequot; quot;fire_pointsquot; quot;gml_featureidquot; quot;idquot; quot;gml_include_itemsquot; quot;allquot; quot;gml_geometriesquot; quot;standardquot; quot;gml_standard_typequot; quot;pointquot;
  • 12. Format Example Layer Info (cont) END TYPE POINT STATUS ON DUMP TRUE TOLERANCE 3 TRANSPARENCY 90 TEMPLATE quot;test.phpquot; PROJECTION quot;init=epsg:4326quot; END CLASS NAME quot;fire_pointsquot; SYMBOL graphics/flames.gif END END
  • 13. Screenshot Demo Giesken James J9 Control
  • 15. How did MySQL grade out? Pros   Cons   Incompletes  
  • 16. Unresolved Issues – Steps Forward Speed of Google Maps •  Grouping of layers •  Standards Assessment •  MySQL GIS function usage expansion • 
  • 17. Thanks Would like to thank Steve Judy who was instrumental •  in the front end design and design of some of the subtables used for this project Also would like to thank Chris Kannan of NGA who I •  bounced a lot of these ideas off of and who put me in contact with people who had used MapServer before
  • 18. Questions Any Questions after the conference can be directed to: Don Beesing dbeesing@alionscience.com
  • 19. References http://mapserver.org •  http://www.gdal.org/ogr •  http://www.opengeospatial.org •  http://www.jfcom.mil/about/experiment.html •  jo