SlideShare a Scribd company logo
From Oracle to the Web -
Automating Spatial Data Updates
David Smith, FRS Program Manager, EPA
Amy Ramsdell, GIS Manager, Blue Raster




                                         April 8
Overview


   The Need: Automate spatial data refresh
   The Solution: Technologies used
   ArcGIS Server (AGS) map service final output
   FME workspaces that automate refresh process
     File geodatabase (fgdb) creation
     Metadata refresh
   Python shutdown script in workspace
   FME Server web services used
   EPA future plans for FME
   Questions
The Need:


Automate refresh of map service serving spatial data
   Operational database system
      The Facility Registry Service (FRS) is a centrally managed
       database that identifies facilities, sites or places subject to
       environmental regulations or of environmental interest.
   Disconnected static file for map service
      Fgdb faster performance in AGS
      Lessen activity on operational database
   Monthly manual refresh
The Solution:
ESRI ArcGIS Server Final Output

 Web server hosting GIS web
  services

 REST endpoint for map service
   http://geodata.epa.gov/ArcGIS/rest/services/OEI
   /FRS_INTERESTS/MapServer



 Underlying data: file gdb
    28 layers (tables in fgdb)
Data Refresh FME Workspace


   Oracle Spatial reader

   ESRI File Geodatabase
    writer

   Whole bunch of filtering
    in-between to create
    separate tables in fgdb
        Could build the filtering
         in Oracle before it
         reaches FME
Oracle Spatial Type Reader


Required for spatial object:
 Table, materialized view, or view

    Shape field is SDO_GEOMETRY
      CREATE TYPE sdo_geometry AS OBJECT ( SDO_GTYPE NUMBER, SDO_SRID
      NUMBER, SDO_POINT SDO_POINT_TYPE, SDO_ELEM_INFO
      SDO_ELEM_INFO_ARRAY, SDO_ORDINATES SDO_ORDINATE_ARRAY);



 USER_SDO_GEOM_METADATA table entry
    Metadata for spatial tables owned by schema
ESRI File Geodatabase API Writer


 Non-ArcObjects access
   to fgdb
   C++ API


 Does not require an ArcGIS license on FME
  Server or Desktop

 Works in ArcGIS Server 10x
Python Shutdown Script in Workspace


   In Workspace Parameters – Advanced option
Shutdown Script in 3 Steps


1. Package the output
   zipfgdb(geodatabase, path)


2. Refresh the map service
     updateArcGISServer(server, services, _ZIP,
      _ZIPDESTINATION)


3. Notify dependent subscription workspace
     NotifySuccess()
Shutdown Script: 1. Package the Output


 Zip the file geodatabase
Shutdown Script: 2. Refresh Map Service


1. Stop map service

2. Delete current fgdb
                         1
3. Copy to shared        2
   network drive
                         3

4. Extract new fgdb

                         4
5. Start map service
                         5
Refresh Map Service: Stop/Start Services


  Stopping and starting AGS map service
Refresh Map Service: AGS Token Access


 Generate token for admin access
Refresh Map Service: Replace Fgdb


 Delete existing fgdb and extract zip
Shutdown Script: 3. Notify Subscription
FME Server
FME Notification Service - Topics

   Create a Success and a Fail notification topic to perform some action
    based on the data refresh workspace execution status
FME Notification Service - Subscriptions
   2 subscribers
        Email service to notify when the workspace fails
        Metadata workspace runs if data refresh workspace completes successfully
Metadata about Map Service


   FGDC – Compliant metadata required in XML format
   XML file updated for date of fgdb refresh




                                                       https://edg.epa.gov/
Subscriber: Metadata Refresh Workspace
EPA Future Plans for FME


   Kick off workspace from Oracle instead of manually in FME Server’s
    Services interface – good for more frequent refresh cycles than monthly
        using FME’s Job Submitter service
         http://servername.com/fmejobsubmitter/Samples/workspacename.fmw?FMESer
         verHost=http://servername.com&SuccessTopic=InternetFGDB&Token=4fab5b76
         c6yufed2c4731s3d0387bfb366569949&FailTopic=InternetFGDBFail&UserName=a
         dmin&Password=password&opt_showresult=false&opt_servicemode=sync


   Possibly enhance FRS Query Tools by adding spatial selections and making
    more file formats available

   Integrate into other EPA program map service refresh flows

   Research FME’s ability to translate Resource Description Framework (RDF),
    a semantic web data format
EPA Facility Registry Services (FRS)
Thank You!
   Questions?
   For more information:
      David Smith, EPA Facility Registry Service
        Smith.DavidG@epamail.epa.gov
        @DruidSmith


     Judith Doherty, FRS Project Manager,
      Indus Corporation
    jdoherty@induscorp.com


        Amy Ramsdell, Blue Raster
   aramsdell@blueraster.com
www.blueraster.com/blog
      @AmyRams

More Related Content

What's hot

The Rise of ZStandard: Apache Spark/Parquet/ORC/Avro
The Rise of ZStandard: Apache Spark/Parquet/ORC/AvroThe Rise of ZStandard: Apache Spark/Parquet/ORC/Avro
The Rise of ZStandard: Apache Spark/Parquet/ORC/Avro
Databricks
 
Apache hadoop, hdfs and map reduce Overview
Apache hadoop, hdfs and map reduce OverviewApache hadoop, hdfs and map reduce Overview
Apache hadoop, hdfs and map reduce Overview
Nisanth Simon
 
Hadoop introduction 2
Hadoop introduction 2Hadoop introduction 2
Hadoop introduction 2
Tianwei Liu
 

What's hot (19)

Hadoop: Beyond MapReduce
Hadoop: Beyond MapReduceHadoop: Beyond MapReduce
Hadoop: Beyond MapReduce
 
Dache: A Data Aware Caching for Big-Data using Map Reduce framework
Dache: A Data Aware Caching for Big-Data using Map Reduce frameworkDache: A Data Aware Caching for Big-Data using Map Reduce framework
Dache: A Data Aware Caching for Big-Data using Map Reduce framework
 
Dache: A Data Aware Caching for Big-Data Applications Using the MapReduce Fra...
Dache: A Data Aware Caching for Big-Data Applications Usingthe MapReduce Fra...Dache: A Data Aware Caching for Big-Data Applications Usingthe MapReduce Fra...
Dache: A Data Aware Caching for Big-Data Applications Using the MapReduce Fra...
 
Scaling graphite to handle a zerg rush
Scaling graphite to handle a zerg rushScaling graphite to handle a zerg rush
Scaling graphite to handle a zerg rush
 
Federated Graphite in Docker - Denver Docker Meetup
Federated Graphite in Docker - Denver Docker MeetupFederated Graphite in Docker - Denver Docker Meetup
Federated Graphite in Docker - Denver Docker Meetup
 
Managing kubernetes with terraform
Managing kubernetes with terraformManaging kubernetes with terraform
Managing kubernetes with terraform
 
Big Data Meets FME
Big Data Meets FMEBig Data Meets FME
Big Data Meets FME
 
Introduction to Yarn
Introduction to YarnIntroduction to Yarn
Introduction to Yarn
 
FME World Tour 2015 - Around the World - Ken Bragg
FME World Tour 2015 - Around the World - Ken BraggFME World Tour 2015 - Around the World - Ken Bragg
FME World Tour 2015 - Around the World - Ken Bragg
 
Topic 6: MapReduce Applications
Topic 6: MapReduce ApplicationsTopic 6: MapReduce Applications
Topic 6: MapReduce Applications
 
Dive in with Databases – FME Summer Camp 2018
Dive in with Databases  – FME Summer Camp 2018Dive in with Databases  – FME Summer Camp 2018
Dive in with Databases – FME Summer Camp 2018
 
Managing Big data Module 3 (1st part)
Managing Big data Module 3 (1st part)Managing Big data Module 3 (1st part)
Managing Big data Module 3 (1st part)
 
Putting Lipstick on Apache Pig at Netflix
Putting Lipstick on Apache Pig at NetflixPutting Lipstick on Apache Pig at Netflix
Putting Lipstick on Apache Pig at Netflix
 
The Rise of ZStandard: Apache Spark/Parquet/ORC/Avro
The Rise of ZStandard: Apache Spark/Parquet/ORC/AvroThe Rise of ZStandard: Apache Spark/Parquet/ORC/Avro
The Rise of ZStandard: Apache Spark/Parquet/ORC/Avro
 
Using FME for the City of Palo Alto Topobase Implentation
Using FME for the City of Palo Alto Topobase ImplentationUsing FME for the City of Palo Alto Topobase Implentation
Using FME for the City of Palo Alto Topobase Implentation
 
Apache hadoop, hdfs and map reduce Overview
Apache hadoop, hdfs and map reduce OverviewApache hadoop, hdfs and map reduce Overview
Apache hadoop, hdfs and map reduce Overview
 
Spark at Bloomberg: Dynamically Composable Analytics
Spark at Bloomberg:  Dynamically Composable Analytics Spark at Bloomberg:  Dynamically Composable Analytics
Spark at Bloomberg: Dynamically Composable Analytics
 
Hadoop introduction 2
Hadoop introduction 2Hadoop introduction 2
Hadoop introduction 2
 
Map reduce in Hadoop
Map reduce in HadoopMap reduce in Hadoop
Map reduce in Hadoop
 

Similar to From Oracle to the Web - Automating Spatial Data Updates

The Best Come from Fresh Ingredients: Creating CAD Files from an Enterprise S...
The Best Come from Fresh Ingredients: Creating CAD Files from an Enterprise S...The Best Come from Fresh Ingredients: Creating CAD Files from an Enterprise S...
The Best Come from Fresh Ingredients: Creating CAD Files from an Enterprise S...
Safe Software
 
Apache Hadoop India Summit 2011 talk "Hadoop Map-Reduce Programming & Best Pr...
Apache Hadoop India Summit 2011 talk "Hadoop Map-Reduce Programming & Best Pr...Apache Hadoop India Summit 2011 talk "Hadoop Map-Reduce Programming & Best Pr...
Apache Hadoop India Summit 2011 talk "Hadoop Map-Reduce Programming & Best Pr...
Yahoo Developer Network
 
Spatial Data Integrator - Software Presentation and Use Cases
Spatial Data Integrator - Software Presentation and Use CasesSpatial Data Integrator - Software Presentation and Use Cases
Spatial Data Integrator - Software Presentation and Use Cases
mathieuraj
 
Finding URL pattern with MapReduce and Apache Hadoop
Finding URL pattern with MapReduce and Apache HadoopFinding URL pattern with MapReduce and Apache Hadoop
Finding URL pattern with MapReduce and Apache Hadoop
Nushrat
 
PHP Continuous Data Processing
PHP Continuous Data ProcessingPHP Continuous Data Processing
PHP Continuous Data Processing
Michael Peacock
 

Similar to From Oracle to the Web - Automating Spatial Data Updates (20)

The Best Come from Fresh Ingredients: Creating CAD Files from an Enterprise S...
The Best Come from Fresh Ingredients: Creating CAD Files from an Enterprise S...The Best Come from Fresh Ingredients: Creating CAD Files from an Enterprise S...
The Best Come from Fresh Ingredients: Creating CAD Files from an Enterprise S...
 
Automating Enterprise Workflows with FME Server
 Automating Enterprise Workflows with FME Server Automating Enterprise Workflows with FME Server
Automating Enterprise Workflows with FME Server
 
Dev Summit 2011 - Talk
Dev Summit 2011 - TalkDev Summit 2011 - Talk
Dev Summit 2011 - Talk
 
Report Hadoop Map Reduce
Report Hadoop Map ReduceReport Hadoop Map Reduce
Report Hadoop Map Reduce
 
SF Big Analytics 20191112: How to performance-tune Spark applications in larg...
SF Big Analytics 20191112: How to performance-tune Spark applications in larg...SF Big Analytics 20191112: How to performance-tune Spark applications in larg...
SF Big Analytics 20191112: How to performance-tune Spark applications in larg...
 
FME User Stories from Around the World
FME User Stories from Around the WorldFME User Stories from Around the World
FME User Stories from Around the World
 
Apache Hadoop India Summit 2011 talk "Hadoop Map-Reduce Programming & Best Pr...
Apache Hadoop India Summit 2011 talk "Hadoop Map-Reduce Programming & Best Pr...Apache Hadoop India Summit 2011 talk "Hadoop Map-Reduce Programming & Best Pr...
Apache Hadoop India Summit 2011 talk "Hadoop Map-Reduce Programming & Best Pr...
 
FME Around the World
FME Around the WorldFME Around the World
FME Around the World
 
Giga Spaces Data Grid / Data Caching Overview
Giga Spaces Data Grid / Data Caching OverviewGiga Spaces Data Grid / Data Caching Overview
Giga Spaces Data Grid / Data Caching Overview
 
FME = Features Made Easy
FME = Features Made EasyFME = Features Made Easy
FME = Features Made Easy
 
Sawmill - Integrating R and Large Data Clouds
Sawmill - Integrating R and Large Data CloudsSawmill - Integrating R and Large Data Clouds
Sawmill - Integrating R and Large Data Clouds
 
E031201032036
E031201032036E031201032036
E031201032036
 
Spatial Data Integrator - Software Presentation and Use Cases
Spatial Data Integrator - Software Presentation and Use CasesSpatial Data Integrator - Software Presentation and Use Cases
Spatial Data Integrator - Software Presentation and Use Cases
 
Finding URL pattern with MapReduce and Apache Hadoop
Finding URL pattern with MapReduce and Apache HadoopFinding URL pattern with MapReduce and Apache Hadoop
Finding URL pattern with MapReduce and Apache Hadoop
 
Evolving Gas Utility Mapping with FME
Evolving Gas Utility Mapping with FMEEvolving Gas Utility Mapping with FME
Evolving Gas Utility Mapping with FME
 
Finalprojectpresentation
FinalprojectpresentationFinalprojectpresentation
Finalprojectpresentation
 
Vancouver Uses FME to Open Data to the World
Vancouver Uses FME to Open Data to the WorldVancouver Uses FME to Open Data to the World
Vancouver Uses FME to Open Data to the World
 
PHP Continuous Data Processing
PHP Continuous Data ProcessingPHP Continuous Data Processing
PHP Continuous Data Processing
 
FME World Tour 2015: (EN) FME 2015 in action
FME World Tour 2015: (EN) FME 2015 in actionFME World Tour 2015: (EN) FME 2015 in action
FME World Tour 2015: (EN) FME 2015 in action
 
Hadoop Introduction
Hadoop IntroductionHadoop Introduction
Hadoop Introduction
 

More from Safe Software

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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataCloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Safe Software
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Safe Software
 
Introducing the New FME Community Webinar - Feb 21, 2024 (2).pdf
Introducing the New FME Community Webinar - Feb 21, 2024 (2).pdfIntroducing the New FME Community Webinar - Feb 21, 2024 (2).pdf
Introducing the New FME Community Webinar - Feb 21, 2024 (2).pdf
Safe Software
 
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataCloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Safe Software
 
Taking Off with FME: Elevating Airport Operations to New Heights
Taking Off with FME: Elevating Airport Operations to New HeightsTaking Off with FME: Elevating Airport Operations to New Heights
Taking Off with FME: Elevating Airport Operations to New Heights
Safe Software
 

More from Safe Software (20)

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
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action:  Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action:  Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
The Critical Role of Spatial Data in Today's Data Ecosystem
The Critical Role of Spatial Data in Today's Data EcosystemThe Critical Role of Spatial Data in Today's Data Ecosystem
The Critical Role of Spatial Data in Today's Data Ecosystem
 
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataCloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
Mastering MicroStation DGN: How to Integrate CAD and GIS
Mastering MicroStation DGN: How to Integrate CAD and GISMastering MicroStation DGN: How to Integrate CAD and GIS
Mastering MicroStation DGN: How to Integrate CAD and GIS
 
Geospatial Synergy: Amplifying Efficiency with FME & Esri
Geospatial Synergy: Amplifying Efficiency with FME & EsriGeospatial Synergy: Amplifying Efficiency with FME & Esri
Geospatial Synergy: Amplifying Efficiency with FME & Esri
 
Introducing the New FME Community Webinar - Feb 21, 2024 (2).pdf
Introducing the New FME Community Webinar - Feb 21, 2024 (2).pdfIntroducing the New FME Community Webinar - Feb 21, 2024 (2).pdf
Introducing the New FME Community Webinar - Feb 21, 2024 (2).pdf
 
Breaking Barriers & Leveraging the Latest Developments in AI Technology
Breaking Barriers & Leveraging the Latest Developments in AI TechnologyBreaking Barriers & Leveraging the Latest Developments in AI Technology
Breaking Barriers & Leveraging the Latest Developments in AI Technology
 
Best Practices to Navigating Data and Application Integration for the Enterpr...
Best Practices to Navigating Data and Application Integration for the Enterpr...Best Practices to Navigating Data and Application Integration for the Enterpr...
Best Practices to Navigating Data and Application Integration for the Enterpr...
 
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataCloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
 
New Year's Fireside Chat with Safe Software’s Founders
New Year's Fireside Chat with Safe Software’s FoundersNew Year's Fireside Chat with Safe Software’s Founders
New Year's Fireside Chat with Safe Software’s Founders
 
Taking Off with FME: Elevating Airport Operations to New Heights
Taking Off with FME: Elevating Airport Operations to New HeightsTaking Off with FME: Elevating Airport Operations to New Heights
Taking Off with FME: Elevating Airport Operations to New Heights
 

Recently uploaded

Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 

Recently uploaded (20)

AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
НАДІЯ ФЕДЮШКО БАЦ «Професійне зростання QA спеціаліста»
НАДІЯ ФЕДЮШКО БАЦ  «Професійне зростання QA спеціаліста»НАДІЯ ФЕДЮШКО БАЦ  «Професійне зростання QA спеціаліста»
НАДІЯ ФЕДЮШКО БАЦ «Професійне зростання QA спеціаліста»
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
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
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
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...
 

From Oracle to the Web - Automating Spatial Data Updates

  • 1. From Oracle to the Web - Automating Spatial Data Updates David Smith, FRS Program Manager, EPA Amy Ramsdell, GIS Manager, Blue Raster April 8
  • 2. Overview  The Need: Automate spatial data refresh  The Solution: Technologies used  ArcGIS Server (AGS) map service final output  FME workspaces that automate refresh process  File geodatabase (fgdb) creation  Metadata refresh  Python shutdown script in workspace  FME Server web services used  EPA future plans for FME  Questions
  • 3. The Need: Automate refresh of map service serving spatial data  Operational database system  The Facility Registry Service (FRS) is a centrally managed database that identifies facilities, sites or places subject to environmental regulations or of environmental interest.  Disconnected static file for map service  Fgdb faster performance in AGS  Lessen activity on operational database  Monthly manual refresh
  • 5. ESRI ArcGIS Server Final Output  Web server hosting GIS web services  REST endpoint for map service http://geodata.epa.gov/ArcGIS/rest/services/OEI /FRS_INTERESTS/MapServer  Underlying data: file gdb  28 layers (tables in fgdb)
  • 6. Data Refresh FME Workspace  Oracle Spatial reader  ESRI File Geodatabase writer  Whole bunch of filtering in-between to create separate tables in fgdb  Could build the filtering in Oracle before it reaches FME
  • 7. Oracle Spatial Type Reader Required for spatial object:  Table, materialized view, or view  Shape field is SDO_GEOMETRY CREATE TYPE sdo_geometry AS OBJECT ( SDO_GTYPE NUMBER, SDO_SRID NUMBER, SDO_POINT SDO_POINT_TYPE, SDO_ELEM_INFO SDO_ELEM_INFO_ARRAY, SDO_ORDINATES SDO_ORDINATE_ARRAY);  USER_SDO_GEOM_METADATA table entry  Metadata for spatial tables owned by schema
  • 8. ESRI File Geodatabase API Writer  Non-ArcObjects access to fgdb  C++ API  Does not require an ArcGIS license on FME Server or Desktop  Works in ArcGIS Server 10x
  • 9. Python Shutdown Script in Workspace  In Workspace Parameters – Advanced option
  • 10. Shutdown Script in 3 Steps 1. Package the output  zipfgdb(geodatabase, path) 2. Refresh the map service  updateArcGISServer(server, services, _ZIP, _ZIPDESTINATION) 3. Notify dependent subscription workspace  NotifySuccess()
  • 11. Shutdown Script: 1. Package the Output  Zip the file geodatabase
  • 12. Shutdown Script: 2. Refresh Map Service 1. Stop map service 2. Delete current fgdb 1 3. Copy to shared 2 network drive 3 4. Extract new fgdb 4 5. Start map service 5
  • 13. Refresh Map Service: Stop/Start Services  Stopping and starting AGS map service
  • 14. Refresh Map Service: AGS Token Access  Generate token for admin access
  • 15. Refresh Map Service: Replace Fgdb  Delete existing fgdb and extract zip
  • 16. Shutdown Script: 3. Notify Subscription
  • 18. FME Notification Service - Topics  Create a Success and a Fail notification topic to perform some action based on the data refresh workspace execution status
  • 19. FME Notification Service - Subscriptions  2 subscribers  Email service to notify when the workspace fails  Metadata workspace runs if data refresh workspace completes successfully
  • 20. Metadata about Map Service  FGDC – Compliant metadata required in XML format  XML file updated for date of fgdb refresh https://edg.epa.gov/
  • 22. EPA Future Plans for FME  Kick off workspace from Oracle instead of manually in FME Server’s Services interface – good for more frequent refresh cycles than monthly  using FME’s Job Submitter service http://servername.com/fmejobsubmitter/Samples/workspacename.fmw?FMESer verHost=http://servername.com&SuccessTopic=InternetFGDB&Token=4fab5b76 c6yufed2c4731s3d0387bfb366569949&FailTopic=InternetFGDBFail&UserName=a dmin&Password=password&opt_showresult=false&opt_servicemode=sync  Possibly enhance FRS Query Tools by adding spatial selections and making more file formats available  Integrate into other EPA program map service refresh flows  Research FME’s ability to translate Resource Description Framework (RDF), a semantic web data format
  • 23. EPA Facility Registry Services (FRS)
  • 24. Thank You!  Questions?  For more information:  David Smith, EPA Facility Registry Service Smith.DavidG@epamail.epa.gov @DruidSmith  Judith Doherty, FRS Project Manager, Indus Corporation jdoherty@induscorp.com  Amy Ramsdell, Blue Raster aramsdell@blueraster.com www.blueraster.com/blog @AmyRams

Editor's Notes

  1. FME REST services for database extractsUsed in front end Clip and Ship applicationOn-demand requests to services for custom appsScheduled data refreshes