Presentation on theme: "Mapserver technology supports the Data Warehouse of Actions and Investments of the Brazilian Ministry for Social Development and Fight Against Hunger FOSS4G2006."— Presentation transcript:
Mapserver technology supports the Data Warehouse of Actions and Investments of the Brazilian Ministry for Social Development and Fight Against Hunger FOSS4G2006 - Free And Open Source Software for Geoinformatics Caio Nakashima September - 2006 Ministry of Social Development and Fight Against Hunger MDS
September 2006Caio Nakashima 2 Agenda Introduction to the Problems Chosen path Developed products Used Technologies Details of the solutions Future
September 2006Caio Nakashima 3 MDS Current Scenario MDS is an almagamation of previous separated Ministries Low interoperability Many stakeholders (banks, federation members, partners) Formal Links (by law, contracts, agreements) Need for na agile information to the public Different paradigms (concepts, modus operandi)
September 2006Caio Nakashima 5 Social Information Matrix DATA FLOW SIG SAGI (M&A) SIG SENARC SIG SNAS SIG SESAN SIG SAIP DW SAGI Social MI Gabinete Sec Exec.
September 2006Caio Nakashima 6 Information Arquitecture Beneficiary Territory Social Programs B P T P P1 P2 Pn T B Program: xxxxx B1 nnnnnnnn add B2 nnnnnnnn add............................. Bn nnnnnnnnn add
September 2006Caio Nakashima 7 Subsystem Integration Beneficiary Territory Social Programs B P T P P1 P2 Pn T B Program: xxxxx B1 nnnnnnnn add B2 nnnnnnnn add............................. Bn nnnnnnnnn add SOCIAL DATA DICTIONARY
September 2006Caio Nakashima 8 Benefits Reduced response time to queries from hours and days to minutes and seconds Information access comprehensive to the whole MDS Extracting Business Intelligence to help programs Managers Recording the historical data from the programs Registering knowledge to be used as information source
September 2006Caio Nakashima 9 Introduction to the Problems The managers of the institution Ministry, Secretaries, Directors Majors, Congress people, Senators, Governors Press, Civil Society The need for information from MDS (Ministry of Social Development and Fight Against Hunger) About Social Programs, Beneficiaries, Investments, and so on.
September 2006Caio Nakashima 10 Problems There was not a solid information structure Each department manage their own data, in their own way. There was not a regular information flow between those departments. The urgently need for management reports.
September 2006Caio Nakashima 11 Scenario Spreadsheet DATAPREV CONAB TRE Tesouro Nacional Caixa Econômica Federal REPORTS PNUD IBGE
September 2006Caio Nakashima 12 Chosen path After much pressure and work in manual reports. We developed a private data warehouse only for internal use. External Help Secretaries Support Barriers Pressure against changes
September 2006Caio Nakashima 13 Social Information Data Warehouse Allows to retrieve information about the investments on Social Programs in each city. With the following dimensions: Search Items Geographic Units Territorial Limits Population IDH (Human Development Index) Time
September 2006Caio Nakashima 23 Map Viewer Structure Viewing Area (variable) Title (variable) Analysis Time (variable) Title (variable) Legend(variable) Number of registers (variable) Functionalities (invariable)
Selection of a special area of some social program (Bolsa Familia Program in the area of Sao Francisco River)
September 2006Caio Nakashima 35 Box to bound the search
September 2006Caio Nakashima 36 Search Result Show the selected geographic area All geographic regions that touch or are inside the boundaries of the box. It will open a window with all chosen geographic regions with: The values used to build the map. Link to details of the geographic information. Link to graphic when applied Link to find the location of the region in map.
September 2006Caio Nakashima 40 Result of the search through the map The chosen region is highlighted It will open a link for the detail of the selected geographic region. Link for the graphics, where they show the evolution of the variable or indicator presented along the time. The values of the variable or indicator of all cities on the borders of the chosen geographic area.
Analysis through graphics Example: Values of the financial help and the amount of beneficiaries through the time of Bolsa Família
September 2006Caio Nakashima 42 List of all values that represented in map
September 2006Caio Nakashima 43 Amount of financial help. Amount of families (beneficiaries) of Bolsa Familia
September 2006Caio Nakashima 44 Graphic of financial help for each family Combination of two graphics
September 2006Caio Nakashima 45 Comparing two or more geographic areas This feature allows a comparative analysis between up to three geographic regions. The selection can be done through geographic bound or close analysis values.
September 2006Caio Nakashima 46 Comparing the amount of financial help
September 2006Caio Nakashima 47 Comparing the financial help for each family
September 2006Caio Nakashima 48 Histogram Financial Value Transferred to the cities of Bolsa Familia Program
September 2006Caio Nakashima 49 Histogram Mean value transferred to each family of Bolsa Familia Program in august 2006.
September 2006Caio Nakashima 50 Pen Parade Graphic Financial Value Transferred to the cities. Graphic of 100% of the distribution
September 2006Caio Nakashima 51 Pen Parade Graphic Financial Value Transferred to the cities. Graphic of 90% of the distribution
September 2006Caio Nakashima 52 System Integration From Georeferenced view is possible to access other information about cities in the data warehouse. Example PETI Bolsa – Financial Help for the Cities in October 2005. PETI – Program Against Child Labour
September 2006Caio Nakashima 56 Data Source, Social Program Variable or Indicator Choice Period Choice Data Searcher Knowledge Base Information Organizer Map Viewer Engine User Interaction Structure of the Solution
September 2006Caio Nakashima 57 Ways to feed the map engine Build the query manually. Read the structure of data from database and show the result of the query in a map. User can build the query from available data in data warehouse.
September 2006Caio Nakashima 59 Data Base of the Solution Shape Files Data Social Programs Data Configuration Files Data Warehouse Viewer Social Table Information Request SQL Text Social Program Table
September 2006Caio Nakashima 60 Data Base of the Solution Shape Files Data Social Programs Data Configuration Files Information Request Social Map Viewer Engine SQL Spatial Social Program Table and Spatial Table
September 2006Caio Nakashima 61 Data Base of the Solution Shape Files Data Social Programs Data Configuration Files Data Warehouse Viewer Social Table Information Request SQL Text Social Program Table Social Map Viewer Engine SQL Spatial Social Program Table and Spatial Table
September 2006Caio Nakashima 62 Build the Query Manually
September 2006Caio Nakashima 63 Read the structure of data
September 2006Caio Nakashima 68 Development Browser used for the tests IExplorer and FireFox. It is required the installation of Java Virtual Machine in the client browser. JBox requires JVM. Development Language PHP 4.x PHP MapScript until 2005 June was not compiled to PHP version 5 MN MapServer does not require PHP MapScript It was used to give more flexibility to the application.
September 2006Caio Nakashima 69 Future tasks Tuning the database retrieve time for each queries. Create new user maps Develop a Graphic Interface to insert new maps Improve the user interface CD with the solutio
September 2006Caio Nakashima 70 Questions Thank You Very Much Caio Nakashima firstname.lastname@example.org email@example.com www.mds.gov.br Staff Caio Nakashima (Map Viewer) Carlos Eduardo de Andrade Brasileiro (DBA) Marcelo Gomes Gadelha (Data Warehouse Viewer)