Centro de Referência em Informação Ambiental, CRIA Sidnei de Souza Abril 2006 mapcria web service.

Slides:



Advertisements
Similar presentations
How to Author Teaching Files Draft Medical Imaging Resource Center.
Advertisements

GIS in the Internet - architectures, standards and OpenSource Team SPADE – Spatial Decision Support.
The Next Generation Network Enabled Weather (NNEW) SWIM Application Asia/Pacific AMHS/SWIM Workshop Chaing Mai, Thailand March 5-7, 2012 Tom McParland,
Web forms and CGI scripts Dr. Andrew C.R. Martin
EziLink RESULTS Training Session 1 – Show and Tell For the Ministry of Forests, Lands and Natural Resource Operations.
Overview Environment for Internet database connectivity
Web-Based Planning Tools for Missouri Show-Me Ag Classic February 1, 2006 Columbia, MO Chris Barnett Center for Agricultural, Resource and Environmental.
REST - Representational State Transfer
Using Gallatin Countys Interactive Mapping Application Gallatin County GIS.
Geo GIS Practicuum Introduction to ArcGIS 8 Exercise 5 - ESRI Virtual Campus Chapters 1-2, ArcGIS Methods …
Multi-user and internet mapping. Multi-user environments Simple file server solution, LAN (Novel, Windows network) View from everywhere, edit from one.
SpeciesLink The Brazilian experience on setting up a network Renato De Giovanni Centro de Referência em Informação Ambiental, CrIA.
Go Ramsey Communities Partners: Web Map Demonstration Ramsey County Parks and Recreation http://parks.co.ramsey.mn.us.
Web GIS Oregon Explorer Marc G Rempel Oregon State University The Valley Library Oregon Explorer
1 Google Earth Powered by MapGuide. 2© 2006 Autodesk Session Outline MapGuide / Google Earth Integration Overview Demo How it Works and How to Use It.
1 XML Web Services Practical Implementations Bob Steemson Product Architect iSOFT plc.
Adding Dynamic Content to your Web Site
A really fairly simple guide to: mobile browser-based application development (part 1) Chris Greenhalgh G54UBI / Chris Greenhalgh
W EB A PPLICATION D EVELOPMENT A PPLICATION T O B IO -I NFORMATICS -III Vicky Khanna M-Tech Bioinformatics.
1 UIM with DAML-S Service Description Team Members: Jean-Yves Ouellet Kevin Lam Yun Xu.
SE 370: Programming Web Services Week 4: SOAP & NetBeans Copyright © Steven W. Johnson February 1, 2013.
Historic Digimap Historical maps and data from the Ordnance Survey maps from the 1840s to the 1990s.
DT211/3 Internet Application Development Active Server Pages & IIS Web server.
TSS Mapping Component Architectural Overview 10/4/2005 Shawn McClure Slide #1: Slide #2: This is a very high-level diagram describing a possible architecture.
Introduction to ASP.NET. 2 © UW Business School, University of Washington 2004 Outline Static vs. Dynamic Web Pages.NET Framework Installing ASP.NET First.
World Wide Web1 Applications World Wide Web. 2 Introduction What is hypertext model? Use of hypertext in World Wide Web (WWW) – HTML. WWW client-server.
CGI and Perl MSc Publishing on the WWW. What is CGI ? (1) User Buying and selling Playing games Customised web pages Developer Means to run external programs.
Development of Accelerator Management Systems with GIS A.Yamashita and Y.Ishizawa SPring-8 Japan International Conference on Accelerator and Large Experimental.
Digimap Carto is an advanced version of classic but with many more options. You need to return to the Digimap home page and this time select the “Digimap.
1 The World Wide Web. 2  Web Fundamentals  Pages are defined by the Hypertext Markup Language (HTML) and contain text, graphics, audio, video and software.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
TIBCO Designer TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop, deploy, and run integration.
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
4-Sep-15 HTML Forms Mrs. Goins Web Design Class. Parts of a Web Form A Form is an area that can contain Form Control/Elements. Each piece of information.
1 HTML and CGI Scripting CSC8304 – Computing Environments for Bioinformatics - Lecture 10.
GIS technologies and Web Mapping Services
Chapter 33 CGI Technology for Dynamic Web Documents There are two alternative forms of retrieving web documents. Instead of retrieving static HTML documents,
Server-side Scripting Powering the webs favourite services.
4-1 INTERNET DATABASE CONNECTOR Colorado Technical University IT420 Tim Peterson.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
Tutorial 10 Adding Spry Elements and Database Functionality Dreamweaver CS3 Tutorial 101.
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
Chapter 6 The World Wide Web. Web Pages Each page is an interactive multimedia publication It can include: text, graphics, music and videos Pages are.
GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT.
Web mapping interoperability in practice, a Java approach guided by the OpenGis Web Map Server Interface Specification Pedro Fernández, R. Béjar, M.A.
2004/12/02Slide Number 1 of 15 Exposure Time Calculator (ETC) as a Web Service Donald McLean 2004 Technology Open House.
Campus Tour COMP 523 Midterm Presentation Justin, Paul, Florian.
Enabling High-Quality Printing in Web Applications
The map file (.map extension) is created manually or built using one of many open source tools. This file describes the data sources for your map, and.
Centro de Referência em Informação Ambiental, CRIA Dora Ann Lange Canhos March, 2007 mapcria web service openModeller Incofish & CRIA.
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
CGI Common Gateway Interface. CGI is the scheme to interface other programs to the Web Server.
Service Composition for GIS Sai Ma, Minruo Li, Weichang Du Faculty of Computer Science, University of New Brunswick, Canada 2008 IEEE Congress on Services.
WWW: an Internet application Bill Chu. © Bei-Tseng Chu Aug 2000 WWW Web and HTTP WWW web is an interconnected information servers each server maintains.
Preliminary Ocean Project Page 1 WGISS SG May 15, C. Caspar G. Tandurella P. Goncalves G. Fallourd I. Petiteville Preliminary Ocean Project Phase.
ECMM6018 Enterprise Networking for Electronic Commerce Tutorial 7
Peace Operations Tool Kit User Story Report Edwin Padilla & Mamadou Balde Senior Seminar Fall 2015 November 17 th, 2015 Dickinson College.
Interactive Web Tehcnologies Teppo Räisänen LIIKE/OAMK 2011.
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
Display Page (HTML/CSS)
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 22 Image Maps and Interactive Forms.
Section 10.1 Define scripting
Internet/Web Databases
CS 330 Class 7 Comments on Exam Programming plan for today:
Marine Digimap digimap.edina.ac.uk
MapServer In its most basic form, MapServer is a CGI program that sits inactive on your Web server. When a request is sent to MapServer, it uses.
WEB API.
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Tutorial 7 – Integrating Access With the Web and With Other Programs
Presentation transcript:

Centro de Referência em Informação Ambiental, CRIA Sidnei de Souza Abril 2006 mapcria web service

it is a web service developed by CRIA to facilitate the implementation of web applications that require the dynamic production of maps It uses the University of Minnesota MapServer C library, MapScript wrap for Perl, v4.2.0 [ ] Developed in Perl v5.8.0 Available as a SOAP server Allows multiple simultaneous jobs Map initial characteristics are specified on an XML document at once Accepts local layers files as well as available via WMS Provides several functions to maintain interaction mapcria web service

mapcria files mapfile wms CGI application draw polygons draw points draw lines db queries draw() User clicks on a web page link that calls a CGI application The CGI creates an XML file that describes the map to be produced. The XML file is sent to the mapcria web service using a SOAP connection Loads the layers according to the definitions on an specific mapfile. Returns a ticket to the caller application get_image(ticket) The application requests the newly created map image. The server delivers the requested image Draws the requested elements on the map. mapcria web service basic use

mapcria CGI application The service performs the required zoom on the map zoom_rectangle(ticket) get_image(ticket) The application requests a zoom and the resulting image. The server delivers the requested zoomed image The user selects an area to zoom in mapcria web service basic use

is a set of general purpose CGI Perl scripts that implement the basic functionalities required for the visualization of (and interaction with) maps produced by the mapcria web service. Once a map is initialized on the server, the mapcria viewer takes control of the job of providing the user with tools to continue the interaction with the server. The basic tools provided by the viewer are: Zoom In and Out Panning Reference map window Layers on / off panel Active layers window Plug-in to search a database based on selected coordinates * Plug-in to search a database to find points to be plotted on the map * User help information window Standard page generation for printing Multi-language interface * requires special applications according to the system mapcria viewer

mapcria CGI application The application starts the mapcria viewer passing the ticket as a parameter. mapcria web service use with the mapcria viewer The CGI creates an XML file that describes the map to be produced. The XML file is sent to the mapcria web service Returns a ticket mapcria viewer The mapcria viewer takes control of the job and provides an interface with the commonly used functions. Map viewer window Layers control window Reference map window Active layers window Database search window * Symbols select window * User help window Printable page

mapcria web service initial XML schema detail (draw)

mapcria web service methods draw get_active_layers get_image_width get_image_height get_image get_scalebar get_reference get_extent zoom_point zoom_rectangle zoom_coords zoom_all set_visibility toogle_layer get_field_value_by_coord set_image_scale click2map del_object finish

mapcria web service example #!/usr/local/bin/perl $|=1; use strict; use SOAP::Lite; my ($long,$lat) print Content-type: image/png\n\n; my $soap = SOAP::Lite -> uri(" -> proxy(tcp://saruman.cria.org.br:5900/", timeout => 15) -> on_fault( sub { return undef } ); my $xml =<<EOM; CRIA demo Manager SP ,-19.78,-42.69, false true 255,255,255 false BRASIL_MUN 255,0,0 point 8 $long,$lat EOM my $ticket = $soap->draw($xml)->result(); print $soap->get_image($ticket)->result(); $soap->finish($ticket);

current version documentation is available at Questions? On-line demonstration? Thank you! LAST SLIDE…