Spatially Enabling Your Java Technologybased Applications - PowerPoint PPT Presentation

1 / 31
About This Presentation
Title:

Spatially Enabling Your Java Technologybased Applications

Description:

Spatial APIs for the Java Platform. Spatial data access and visualization ... Contains low-level APIs for fine-grained control. Data access. Display management ... – PowerPoint PPT presentation

Number of Views:49
Avg rating:3.0/5.0
Slides: 32
Provided by: andrew1001
Category:

less

Transcript and Presenter's Notes

Title: Spatially Enabling Your Java Technologybased Applications


1
Spatially Enabling Your Java Technology-based
Applications
Using MapObjectsJava Standard Edition
  • Eric Bader
  • Product Specialist/Developer
  • Environmental Systems Research Institute

2
Goal
Explore the benefits of integrating spatial
analysis objects into Java-based applications
Beginning
3
Speakers Qualifications
  • A lead Product Specialist at Environmental
    Systems Research Institute, Inc. (ESRI)
  • 13 years experience in Geographic Information
    Systems (GIS)
  • About ESRI
  • The world leader in the GIS software industry for
    the past 32 years
  • More than 1 million users in more than 229
    countries

Beginning
4
Learning Objectives
  • As a result of this presentation, you will be
    able to
  • Recognize the importance of geography in
    information systems applications
  • Understand how to design and build spatially
    enabled Java-based applications

Beginning
5
Presentation Agenda or Key Topic Areas
  • Define Spatial
  • What questions can be answered by adding a
    spatial dimension to your application
    requirements?
  • What is needed to spatially-enable your
    applications?
  • Using MapObjectsJava to spatially enable your
    applications

Beginning
6
Geography Matters
What do we mean by SPATIAL?
  • Linking location to information
  • Estimates say 80 of all data contains a
    spatial component
  • Scenarios
  • Store chain management
  • Where are my potential customers?
  • Where are my competitors?
  • Crime analysis
  • Where are the crimes occurringand why THERE?
  • Emergency response
  • What parcels are located in potential flood
    zones?

Middle
7
What is GIS?
  • Many definitions...
  • Smart maps
  • A way to link databases to maps
  • A tool for analyzing data by location

Database
Map Spatial presentation
8
The Spatial Data Model
  • Layers of data overlay themselves in a Map
  • Layers of data are integrated from differing
    Layer sources
  • Distributed GIS Layer sources come from (served
    from) different locations, across different
    platforms
  • Layers contain features georeferenced geometry
  • Layers of data, combined into a map, model the
    real world

9
Enterprise GIS
  • Promotes data sharing and integration
  • Enterprise and local sources come together

Mapping Services
RDBMS
Map
Local files/images
10
Benefits of Spatial Applications
  • Cost Savings
  • Operational Efficiencies
  • Better Data Management
  • More Efficient Storage and Update
  • Sharing of Integrated data sources
  • Better Decisions
  • Faster Information Access
  • Enhanced Capability
  • New Applications

11
What is needed to build spatial applications?
  • Tools
  • Java APIs for map display and query
  • Java APIs for data access
  • Data
  • Spatial
  • Coordinate information (x,y)
  • Non-spatial
  • Attributes/tabular

12
Elements of Spatial Analysis
  • Map display
  • Data Presentation Data Layers
  • Symbology rendering of data

13
Elements of Spatial Analysis
  • Information Queries
  • By attribute state_name Nebraska
  • Spatially select all pizza stores within 1 mile
    of my house
  • Analysis tools
  • Buffering
  • Data classification
  • Distance measurement
  • Topology (spatial feature relationships)
  • Address Matching/Geocoding

14
Spatial APIs for the Java Platform
Using ESRIs MapObjects
  • Spatial data access and visualization
  • Querying spatial information
  • Spatial analysis tools
  • Design-time development
  • Not an application, but a set of development
    libraries for building geography-based systems

15
MapObjectsJava Edition
Why use MapObjects?
  • Roughly 1000 public classes and methods providing
    map display and query capabilities
  • Pure Java built on the Java 2 platform
  • Provides high-level, JFC/Swing components for
    rapid application development
  • Aggregated components, ready to use
  • Contains low-level APIs for fine-grained control
  • Data access
  • Display management
  • Design-time JavaBeans for rapid development

16
The Map Component
  • JFC/swing JLayeredPane
  • Displays geographic information on a canvas
  • Consists of several component layers
  • Map canvas layers
  • 0 or more of AcetateLayers
  • Event layer for capturing mouse events
  • Can contain tools for user interaction
  • Rubberbanding
  • Drawing geometric shapes
  • Contains any number of layers in a Layerset

17
The Map Component
18
Layer Objects
  • Proxies for external data sources
  • Create Layers of features to be added to a Map

Data sources
ArcSDE
Shapefile
Layersource
Layer
Image
Mapservices
Custom
19
Object Model Overview
20
Table of Contents (TOC)
  • A visual representation of Layers in a Map
  • Controls visualization of layers
  • Each Layer is a legend item

21
Functional Toolbars
ZoomPanToolbar
  • A single toolbar component
  • handles all panning and zooming actions within a
    map display
  • Listens to Map and Layer objects
  • Contains its own Actions
  • Customizable

22
Functional Toolbars
SelectionToolbar
  • Handles all feature selection and query
    functionality
  • Graphic selection
  • Query
  • Identify
  • Buffer
  • Find
  • Attribute List

23
Functional Toolbars
MeasureGeocodeToolbar
  • Provides the geocoding user interface component
  • Calls MapTips user interface component
  • Provides the measure tool

24
Building an Application
  • Create and add the Map component
  • Create and add layers to the Map
  • Map m new Map()
  • m.getLayerset().addLayer(aLayer)
  • aContentPane.add(m,BorderLayout.CENTER)

25
Building an Application
  • Create and add a TOC
  • Toc toc1 new Toc()
  • toc1.setMap(m)
  • aContentPane.add(m,BorderLayout.WEST)
  • Create and add a functional toolbar
  • ZoomPanToolBar zbar new ZoomPanToolBar()
  • zbar.setMap(m)
  • zbar.setSelectedLayer(m.getLayerset().LayerAt(0
    ))

26
MapObjectsJava Edition
Demonstrations
  • IDE and design-time development
  • ArcExplorer application Browsing integrated data
    sources

27
Other Information
  • ESRIs Distributed GIS Solution ArcIMS 4.0
  • http//www.esri.com/software/arcims
  • ESRIs portal for GIS services The Geography
    Network
  • http//www.geographynetwork.com
  • Download the MapObjects-based Java viewer
    ArcExplorer 3.1 FREE!
  • http//www.esri.com/software/arcexplorer
  • Gis services reference Site
  • http//www.nationalgeographic.com/mapmachine

28
(No Transcript)
29
Summary
  • Spatial information enhances the effectiveness of
    your Java applications
  • Rapid Application Development can be accomplished
    in the Java environment
  • Data integration is the key

End
30
(No Transcript)
31
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com