SlideShare a Scribd company logo
1 of 19
Download to read offline
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 tipSteve 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 & RoutesNick Dreckshage
 
Upstate CSCI 450 WebDev Chapter 4
Upstate CSCI 450 WebDev Chapter 4Upstate CSCI 450 WebDev Chapter 4
Upstate CSCI 450 WebDev Chapter 4DanWooster1
 
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 WebJames Rakich
 
image_upload Plugin 2007/12/7
image_upload Plugin 2007/12/7image_upload Plugin 2007/12/7
image_upload Plugin 2007/12/7Yasuko 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 ItBernajena
 
Alternative Ideas for Book Reports
Alternative Ideas for Book ReportsAlternative Ideas for Book Reports
Alternative Ideas for Book ReportsBernajena
 
After The Idea
After The IdeaAfter The Idea
After The Ideamwalters8
 
"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 CMSmwalters8
 
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
 
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 v2mwalters8
 
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

Orbitz and Spring Webflow Case Study
Orbitz and Spring Webflow Case StudyOrbitz and Spring Webflow Case Study
Orbitz and Spring Webflow Case StudyMark 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 ApplicationsSubramanyan 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 2010Joanne 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 & CSRFMark Stanton
 
Rails in the Cloud
Rails in the CloudRails in the Cloud
Rails in the Cloudiwarshak
 
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 Librariesjeresig
 
[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 2009Ricardo 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 qooxdooFabian 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

Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...itnewsafrica
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 

Recently uploaded (20)

Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 

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