MapServer and SDE Howard Butler Center for Survey Statistics & Methodology Iowa State University Beginning Middle End.

Slides:



Advertisements
Similar presentations
Week 1: Introduction to GIS
Advertisements

GIS for Aviation: Case for eTOD Management
EziLink RESULTS Training Session 1 – Show and Tell For the Ministry of Forests, Lands and Natural Resource Operations.
Web GIS Oregon Explorer Marc G Rempel Oregon State University The Valley Library Oregon Explorer
JTX Overview Overview of Job Tracking for ArcGIS (JTX)
IIT Kanpur Web Based Land Records Management System Prof. P.K.Kalra Developed by Department of Electrical Engineering Indian Institute.
What’s New in ArcGIS Desktop
Development of Java plug-in for Geoserver to read Oracle GeoRaster Data Authors Baskar Dhanapal CoreLogic Bangalore, India Perumal Chinnuswamy CoreLogic.
GIS: The Grand Unifying Technology. Introduction to GIS  What is GIS?  Why GIS?  Contributing Disciplines  Applications of GIS  GIS functions  Information.
Introduction to GIS and ArcGIS How a GIS works Introduction to ArcGIS The ArcGIS Interface.
IS 466 ADVANCED TOPICS IN INFORMATION SYSTEMS LECTURER : NOUF ALMUJALLY 20 – 11 – 2011 College Of Computer Science and Information, Information Systems.
Geodatabase basic. The geodatabase The geodatabase is a collection of geographic datasets of various types used in ArcGIS and managed in either a file.
ArcGIS Geodatabase Miles Logsdon Spatial Information Technologies, UW Garry Trudeau - Doonesbury.
Copyright © 2005 Bruce Kessler All Rights Reserved Ch. 2 GeoDatabase Basics Laying the foundations.
Unit One: GIS Concepts In this unit… ► What is GIS? ► Types of GIS data ► What can you do with GIS? ► ArcGIS 9 license levels ► Basics of the ArcGIS 9.
Benefits and Concerns when Constructing an Enterprise-scale Geodatabase Larry Theller, presenter Agricultural and Biological Engineering Dept Purdue University.
Introduction to GIS and ArcGIS How a GIS works Introduction to ArcGIS.
Attribute databases. GIS Definition Diagram Output Query Results.
1 Alternate Title Slide: Presentation Name Goes Here Presenter’s Name Infrastructure Solutions Division Date GIS Perfct Ltd. Autodesk Value Added Reseller.
Dr. David Liu Objectives  Understand what a GIS is  Understand how a GIS functions  Spatial data representation  GIS application.
School of Geography FACULTY OF ENVIRONMENT Introduction to ArcGIS 1.
Intro to ArcGIS Kate Dougherty, Geosciences & Maps Librarian Tutorial created for version 10.1 in February 2013.
Rebecca Boger Earth and Environmental Sciences Brooklyn College.
Intro. To GIS Lecture 4 Data: data storage, creation & editing
Esri International User Conference | San Diego, CA Technical Workshops | Intro to ArcSDE for SQL Server Tony Wakim & Jim Gough July , 2011.
GIS Lecture 1 Introduction to GIS Buildings. Poly Streams, Line Wells, Point Roads, Line Zoning,Poly MAP SHEETS.
What Will We “Search By” Next? Building Custom GIS Search Applications for the Internet Presented By: Amy Kenum City of Huntsville:
Esri International User Conference | San Diego, CA Technical Workshops | ArcGIS for Server Road Ahead Ismael Chivite, Anne Reuland.
Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson
Sharing imagery and raster data in ArcGIS
Chapter 4: Organizing and Manipulating the Data in Databases
Enterprise ETL & the Home Again
ArcSDE Presented by Reza Wahadj University of California,San Diego (UCSD)
Implementing Geodatabase Technology
GIS technologies and Web Mapping Services
Jeremy D. Bartley Kansas Geological Survey An Introduction to an Index of Geospatial Web Services.
Introduction to ArcGIS for Environmental Scientists Module 1 – Data Visualization Chapter 1 – GIS Basics.
Geographic Information System GIS This project is implemented through the CENTRAL EUROPE Programme co-financed by the ERDF GIS Geographic Inf o rmation.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
How do we represent the world in a GIS database?
The 2000 Decennial Census School District Project: Using Census Data for the School District Mapping System **** Development and Implementation Tai A.
Introduction to the Geodatabase. What is a Geodatabase? What are feature classes and feature datasets? What are domains Design a personal Geodatabase.
A Geoprocessing Framework using Python and ESRI SDE Howard Butler Center for Survey Statistics & Methodology Iowa State University Beginning Middle End.
ARCSDE & ARCIMS Mr. David A. Perini. ARCIMS  Internet Mapping Server Distribute GIS information over the Internet Integrates with addition ESRI softwareESRI.
CERN - IT Department CH-1211 Genève 23 Switzerland t DB Development Tools Benthic SQL Developer Application Express WLCG Service Reliability.
Introduction to ArcGIS
Raster Concepts.
ArcGIS Server for Administrators
A Brief Documentation.  Provides basic information about connection, server, and client.
A GeoSpatial Mapping Architecture
GIS Data Structures How do we represent the world in a GIS database?
ESRI User Conference 2004 ArcSDE. Some Nuggets Setup Performance Distribution Geodatabase History.
Query and Reasoning. Types of Queries Most GIS queries will select spatial features Query by Attribute (Select by Attribute) –Structured Query Language.
LBR & WS LAB 1: INTRODUCTION TO GIS.
Intro to GIS | Summer 2012 Attribute Tables – Part 1.
Benjamin Post Cole Kelleher.  Availability  Data must maintain a specified level of availability to the users  Performance  Database requests must.
Database Basics BCIS 3680 Enterprise Programming.
DATA Spatial Data – where things are Non Spatial Data or Attribute Data – What things are Data in a computer database are managed and accessed through.
WEB SERVER SOFTWARE FEATURE SETS
Towards Unifying Vector and Raster Data Models for Hybrid Spatial Regions Philip Dougherty.
Starting with Oracle SQL Plus. Today in the lab… Connect to SQL Plus – your schema. Set up two tables. Find the tables in the catalog. Insert four rows.
@2007 Austin Troy Lecture 2: Introduction to the Architecture of ArcGIS By Weiqi Zhou University of Vermont Thanks are due to Prof. Troy, upon whose lecture.
Key Terms Attribute join Target table Join table Spatial join.
Parcel Fabric and the Local Government Model
Chapter 14 Geodatabases.
ESRI Geodatabases Ming-Chun Lee.
ESRI Geodatabases Ming-Chun Lee.
Geographic Data Primitives
Enterprise Geodatabase Administration – Tips and Tricks
Presentation transcript:

MapServer and SDE Howard Butler Center for Survey Statistics & Methodology Iowa State University Beginning Middle End

National Resources Inventory National longitudinal survey of multiple natural resources Estimates of status and change over time on nonfederal lands –Land cover/use changes –Soil erosion trends –Urbanization and loss of prime farmland –Wetland dynamics Beginning Middle End

National Resources Inventory > 300,000 area segments –160 acres each –70,000 samples / year –Low altitude photography Beginning Middle End

National Resources Inventory 1/3 digital -- 2/3 analog > 18 gb of support data –Federal land –Water –Sample location layers –Support imagery Beginning Middle End

NRI GIS Data History Recently migrated to ESRI SDE Oracle database for tabular data Changes/edits tracked with ArcGIS editing tools Beginning Middle End

Use of MapServer in NRI The need for speed –ArcIMS doesn’t even compare on the same hardware –We can get by with cheaper hardware because of improved performance –Lower software licensing costs Beginning Middle End

Use of MapServer in NRI Still need SDE features, though –Versioned queries Edits to data are tracked through a versioned editing workflow. Web mapping applications must be able to see these various versions –Joins Spatial and tabular joins Beginning Middle End

2001 Survey year Survey edits Revision edits Frozen edit state N 2002 version of the 2000 control data NRI Versioned Data Tree

Use of MapServer in NRI MapServer brings features, too –Fluent WMS allows us to leverage other data sources that we don’t have to manage –Bulletproof projection on-the-fly support –MapScript is simpler, more robust, more flexible (supports many languages), and faster than many of the ArcIMS connector technologies such as ActiveX and JSP Beginning Middle End

Recent improvements in MapServer SDE Support Support for Versioned Queries –Can specify the version on the CONNECTION string to query from Auto-sensing of SDE table structure –SDE maintains a unique ID for each table. The user can change the name of this column at will, and many applications within the ESRI family are not consistent. Beginning Middle End

Recent improvements in MapServer SDE Support New internal query syntax –ArcSDE 8.x changed the query syntax in its C API. The new methods allow the user to pre- join feature and business tables, making the queries much faster. –This change also will allow us to support user- specified joins similar to XBASE joins in the future. Beginning Middle End

Compiling in SDE Support Linux –Easy. Just turn on the configure line parameters related to SDE (--with-sde, - -with-sde-version) Solaris –Same as Linux, except that make sure everything is compiled with the same compiler Beginning Middle End

Compiling in SDE Support Windows –Harder. Configure all of your settings in nmake.opt –Ensure that the.def table for all of the C API functions is available to map the function names to the Windows calling convention Beginning Middle End

How to Connect to SDE Define a Layer in your MapFile Beginning Middle End LAYER NAME states TYPE POLYGON CONNECTION "sdemachine.iastate.edu,port:5151,sde,username,password,SDE.DEFAULT" CONNECTIONTYPE SDE DATA "HOBU.STATES_LAYER,SHAPE" TEMPLATE '/where/the/template/file/is/located' CLASS STYLE SYMBOL 'circle' SIZE 3 COLOR OUTLINECOLOR END More detail at:

How to Connect to SDE Beginning Middle End CONNECTIONTYPE SDE MapServer will report an error of SDE Support not available if SDE has not been properly compiled-in

How to Connect to SDE Beginning Middle End CONNECTION "sdemachine.iastate.edu, port:5151, sde, username, password, SDE.DEFAULT" -Machine Name -Can be an IP Address -Often needs to be the FQDN

How to Connect to SDE Beginning Middle End CONNECTION "sdemachine.iastate.edu, port:5151, sde, username, password, SDE.DEFAULT" -SDE Service location -port: is important -esri_sde for systems specified in /etc/services

How to Connect to SDE Beginning Middle End CONNECTION "sdemachine.iastate.edu, port:5151, sde, username, password, SDE.DEFAULT" -The database name in which SDE is stored -This is often “SDE” -Not required by all DBMS, but some text is required by MapServer

How to Connect to SDE Beginning Middle End CONNECTION "sdemachine.iastate.edu, port:5151, sde, username, password, SDE.DEFAULT" -User must be granted rights to select the table in the DATA directive using either ArcCatalog or the SDE command-line utilities

How to Connect to SDE Beginning Middle End CONNECTION "sdemachine.iastate.edu, port:5151, sde, username, password, SDE.DEFAULT" -The user’s password -CASE SENSITIVE

How to Connect to SDE Beginning Middle End CONNECTION "sdemachine.iastate.edu, port:5151, sde, username, password, SDE.DEFAULT" -The version to connect to -SDE.DEFUALT is used if none is specified -CASE SENSITIVE

How to Connect to SDE Beginning Middle End DATA "HOBU.STATES_LAYER,SHAPE" SchemaTable NameSpatial Column No spaces! Oracle and MSSQL usually require the schema name – use the full name shown in ArcCatalog if not sure

How to Connect to SDE Beginning Middle End TEMPLATE '/where/the/template/file/is/located' Must be specified to query attributes Unnecessary performance hog if you are only drawing layers – especially if the layer has a lot of attributes

An Example Application NRI DataView ID-Based Python MapScript TerraServer WMS pyTerra for image dates PIL for post-processing image manipulation Beginning Middle End

An Example Application 300,000 PSUs –QueryByAttribute would require a sequential scan of the entire table –The ID has natural hierarchy 19001_010101R –First two digits are the state FIPS code –Second three digits are the county FIPS code Use QueryByAttribute on the USSTATES table to limit the extent of the query of the USCOUNTIES table Use QueryByAttribute on the USCOUNTIES table to limit the extent of the query on the PSU table Beginning Middle End

An Example Application Beginning Middle End

An Example Application Beginning Middle End

Upcoming MapServer SDE Improvements QueryByShape –Currently only extents are supported –SDE has support for advanced operations Buffer select, touching, common edge Beginning Middle End

Upcoming MapServer SDE Improvements Joins –Will be implemented similar to XBASE and MySQL –As fast or as slow as your database –We get around this limitation with database views right now Beginning Middle End

Upcoming MapServer SDE Improvements SDE Raster Support –Been talked about and requested for a long time –No one has the time or desperate need for it to fund development –Could be implemented through GDAL Beginning Middle End

The End Questions? Beginning Middle End