Java arcobjects Developer Guide__java

Source: Internet
Author: User
(i), What is ArcGIS Engine?
ArcGIS Engine is a complete library of embeddable Geographic Information System (GIS) components for developers to build C ustom applications. Using ArcGIS Engine, developers can embed ArcGIS functions into the other information tools and builds custom applications that Deliver Advanced GIS solutions.
ArcGIS Engine builds a custom application for embedded geographic Information System (GIS) component developers. With the ArcGIS engine, developers can embed other information tools ArcGIS functionality and build custom applications to provide advanced geographic information system solutions.


(ii), Essential features (1), Base services-the core GIS arcobjects required for almost any GIS application, such as feature Geometry and display.
(2), Data Access-arcgis Engine provides access to a wide variety of raster, and vector formats including the power and flexi Bility of the Geodatabase. Raster and vector data access
(3), map presentation-arcobjects for map creation and display with symbology, labeling, and thematic mapping I Ncluding custom Applications. The build and display arcobjects will produce features with symbols, tags and feature mapping, including custom applications.
(4), Developer Components-high-level user interface controls for rapid application development and a comprehensive help sys TEM and sample tools for effective development.
(5), Extensions-arcgis Engine Runtime is deployable with the standard functionality or with additional for Extensions CED functionality.


(iii), Arcobjects Arcobjects is a set of platform independent, component based geographic the data models written in C + +.
Arcobjects services can is categorized as base services, data access, map analysis, map presentation, developer components and Web development framework, and user interface and extensions. The services are organized under ArcGIS Desktop, ArcGIS Engine, and ArcGIS Server to tailor the needs of the GIS developer .
The following illustration that shows the services organized with each product
Java Interop (a bridge between COM and Java Java APIs)
Arcobjects, the workhorse of ArcGIS Desktop, ArcGIS Engine, and ArcGIS Server applications, is a library of geographic inf Ormation System (GIS) components written in Microsoft ' s (COM). A COM compliant language (for example, VC + +, Visual Basic, VBA, and "on") because they have access to the COM APIs and its Runtime facilities. The lack of COM ' s runtime services for Java poses a challenge for Java programs wanting to use Arcobjects. Luckily, the Java COM Interop (also referred to as Java Interop) addresses these problems and provides a bridging solution For Java and COM centric arcobjects to interoperate with each other.
It basically provides a Java API for arcobjects and the runtime libraries for running arcobjects components within a Java Application.
Figure: Java COM Interop


(iv), Arcobjects Packages (1), Geometry library Com.esri.arcgis.geometry
The Geometry library handles the Geometry, or shape, of features stored in feature classes or other graphic. The general geometry objects with which most users interact are point, multipoint, Polyline, and Polygon. Beside these top-level entities are the primitive geometries this serve as building for blocks and polylines. They are segments, Paths, and rings. Polylines and polygons are composed of a sequence of connected segments that form a path. A segment consists of two distinguished points-the start point and Endpoint-and A element type that defines the curve fro M beginning to end. The kinds of segments are CIRCULARARC, line, Ellipticarc, and Béziercurve. All geometry objects can have Z-and m-values, and IDs associated with their vertices. The fundamental geometry objects all support geometric operations, such as buffer and clip. The geometry primitives are not meant to is extended by developers.
Entities in a Geographic information system (GIS) refer to Real-world features; The location of these real-world features are defined by a geometry along with a spatial reference. Spatial reference objects for both projected and geographic coordinate systems, are in the included library. Developers can extend the spatial reference system by adding new spatial references and projections between spatial refere NCEs.
(2), Output library Com.esri.arcgis.output
The output library is used to create graphic output to devices; For example, printers, plotters, and hard-copy formats, such as enhanced metafiles and raster image formats (joint photogr Aphics experts Group [JPEG], bitmap [BMP], and so on. The developer uses the objects in the library with other parts of the ArcGIS system to create graphic output. Commonly, these would are objects in the Display and Carto libraries. Developers can extend the Output library for custom devices and export formats.
(3), Geodatabase library Com.esri.arcgis.geodatabase
The Geodatabase library provides the application programming interface (API) for the geodatabase. The Geodatabase is a repository of geographic data built on standard industry relational and Object relational database Te Chnology. The objects in the library provide a unified programming model for all supported data sources in ArcGIS. The Geodatabase Library defines many of the interfaces that are from data source implemented providers in the higher Cture. The geodatabase can is extended by developers to support specialized types of data objects (features, classes, and); In addition, it can have custom vector data sources added using the Plugindatasource objects. The native data types supported by the Geodatabase cannot is extended.

(4), geoprocessing library com.esri.arcgis.geoprocessing
Geoprocessing is a fundamental part of ArcGIS. Whether you ' re a new or experienced user, geoprocessing'll become a essential part of the your daily work routine with ARCG is Engine and ArcGIS Server for the Java platform. Geoprocessing provides the data analysis, data management, and data conversion tools necessary to all geographic Ion System (GIS) users.
A, geoprocessing operators and tools
Geoprocessing consists of operators (tools) that operate on the data (tables, feature classes, Rasters, triangulated Irreg Ular networks [tins], and so on), and perform tasks this are necessary for manipulating and analyzing geographic On across a wide range of disciplines. Each geoprocessing tool performs a essential operation on geographic data, such as projecting datasets from one map Proje Ction to another, adding fields to a table, or creating buffer zones around.
ArcGIS includes over geoprocessing tools. A geoprocessing tool takes ArcGIS datasets as inputs (such as feature classes, tables, rasters, and computer-aided design [CAD] files, applies an operation against this data, and creates a dataset as output. The following illustration:
B, Using the Geoprocessor
A geoprocessing tool is executed by the geoprocessor. The Geoprocessor class is the main class that simplifies the task of executing geoprocessing tools. The Geoprocessor contains properties and methods it possible to execute tools, set global Geoprocessor Environme NT settings, and examine the resulting messages. It is the ' single access point ' for the execution of the ' geoprocessing tool in ArcGIS, including extensions.


(5), programming with Arcobjects Java API (Focus Research) (1), Geocoding
(2), Geodatabase management
(3), Geometry and Spa Tial reference
(4), geoprocessing
(5), Network analysis
(6), Raster data
(7), Spatial Analyst

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.