Page 1 Layers  用户的数据反映在地图上 通常根据点、线、面的层 次结构进行归类。每一个 独立的图层都可以作为一 个独立的地图。 MapX 中 调用的是一个由多个独立 地图图层组成的地图集合 。

Slides:



Advertisements
Similar presentations
KEYS TO SUCCESS DATA PREPARATION AND ORGANIZATION
Advertisements

Tables Recall A view displays features A feature is a geographic component of a theme and must have attributes to have significant meaning......
Geo GIS Practicuum Introduction to ArcGIS 8 Exercise 5 - ESRI Virtual Campus Chapters 1-2, ArcGIS Methods …
Concepts of Maintaining Your Data Simple Ways to Edit Your Data By Lorne Woods.
Microsoft Word – Lesson 1
Microsoft Excel 2013 An Overview. Environment Quick Access Toolbar Customizable toolbar for one-click shortcuts Tabs Backstage View Tools located outside.
Copyright 2003 Peter McDevitt 1 Microsoft Excel 2002 Lecture 3 – A Professional Looking Worksheet.
Map Labeling Basic of Feature Labeling. What’s the difference?
Annotation & Nomenclature By Corey Fortezzo for PG&G GIS Workshop, 2010.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 3 1 Microsoft Office Excel 2003 Tutorial 3 – Developing a Professional- Looking.
Technical Support: (989) GIS and Mapping Procedures in ArcMap 9.x Creating an ArcMap Project Editing an ArcMap Project Printing an ArcMap Project.
SuperPad 3 Full-Function Mobile GIS Software. Overview  SuperPad, full-function mobile GIS software, is designed for field survey and data collection.
Creating a Map Step-by-step Francisco Olivera, Ph.D., P.E. Department of Civil Engineering Texas A&M University.
ArcView Documents Francisco Olivera, Ph.D., P.E. Department of Civil Engineering Texas A&M University.
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.
Quark QuarkXPress 4 Intermediate Level Course. Working with Master Pages The Document Layout Palette allows you to add, delete, and move document and.
ArcEditor ArcInfo ArcView Display map, query & analyze spatial relationships, features & attributes Same functions as ArcView, plus abilty to create, &
Wednesday Session 1: – Intro to the Interface The Tools Tool Bar – How to open – Docking/Undocking the toolbars – Navigating the Map » Zoom (in, out extent)
Editing Basics (in ArcGIS 9.2) By Alma Vargas. Levels of Desktop ArcGIS Arc View Version that most clients will use The version that this session will.
Layouts: Creating maps and figures using ArcMap 1 GIS for Planetary Mappers June 2012, Planetary Mappers Meeting.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Editing in ArcMap:
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Defining Styles and Automatically Creating Table of Contents and Indexes Word Processing 4.03.
Tutorial 10 Adding Spry Elements and Database Functionality Dreamweaver CS3 Tutorial 101.
Mapping The Michigan Geographic Framework Tony Olkowski & Jim Shively Center for Geographic Information Michigan Department of Information Technology.
Website Development with Dreamweaver
OPL MRR Viewer Tutorial David Stark North Carolina State University 31 Jan 2008.
Microsoft Office Excel 2003 Tutorial 3 – Developing a Professional-Looking Worksheet.
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 4 I Need a Tour Guide.
ACCESS Part 2. OBJECTIVES  Use the Form Wizard  Create a split form  Use Form Layout View  Add fields to a form  Modify form controls  Create calculations.
Microsoft Office Word 2013 Expert Microsoft Office Word 2013 Expert Courseware # 3251 Lesson 3: Customizing Document Elements.
ATN GIS Support ArcGIS: ArcMap Data View.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 7 – Adding and.
Copyright © 2006 by Maribeth H. Price 2-1 Chapter 2 Working with ArcMap.
Data Visualization Francisco Olivera, Ph.D., P.E. Srikanth Koka Department of Civil Engineering Texas A&M University.
Introduction to ArcGIS
Map(BAM) display.  The Avian Hazard Advisory system has upgraded to a new windows 2007 web server.  The new web server requires new ESRI software to.
Introduction to GeoDatabase Lecture
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms – Project 5.
Chapter 11: Block References and Attributes. After completing this Chapter, you will be able to use the following features: Create and insert block references.
Return to Outline Copyright © 2011 by Maribeth H. Price 3-1 Labeling and annotation.
ATN GIS Support ArcGIS: ArcCatalog.
Using the AccuGlobe Software with the IndianaMap Using the AccuGlobe Software.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Marine Digimap 17 March 2010 Tom Armitage Vivienne Carr.
ArcGIS: ArcCatalog. Agenda The ArcCatalog Interface General ArcCatalog ▫Navigating directories ▫Preview data ▫View metadata Advanced ArcCatalog ▫Modifying.
Chapter 8: Plotting. After completing this Chapter, you will be able to use the following features: Planning the Plot Sheet Plotting Environments Plotting.
Unit 3: Text, Fields & Tables DT2510: Advanced CAD Methods.
Chapter 3 I Need a Tour Guide (Introduction to Visual Basic 2010) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Microsoft® Access Generate forms quickly 1 Modify controls in Layout View 2 Work with form sections 3 Modify controls in Design View 4 Add calculated.
1 Introduction To Geographical Data and TEISS Maps Angelique Luedeker, ITEP/TAMS Center.
A Review of CPD Maps | ArcGIS | HUD Open Data Online Mapping Tools.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
PLEASE USE THE ENTER KEY OR RIGHT CLICK ON THE MOUSE TO ADVANCE.
Introduction to A+CAD. Objectives Understand fundamental CAD concepts Start A+CAD Tour the A+CAD interface Explore the different A+CAD data input methods.
22 Copyright © 2009, Oracle. All rights reserved. Filtering Requests in Oracle Business Intelligence Answers.
Mapping with ARCVIEW Aihua Pu. Outline Background Data sources Mapping with ARCVIEW Maps.
Learning the Basics of ArcMap 3.3 Updated 4/27/2010 Using Arc/View pt. 1 1.
1 Chapter 6: Creating Oracle Data Block Forms. 2 Forms  Application with a graphical user interface that looks like a paper form  Used to insert, update,
1 Word Processing Intermediate Using Microsoft Office 2000.
Copyright © 2014 Natural Environmental Research Council (NERC)1 Map Visualization, Symbology, Labels & Annotation in ArcGIS 10.1.
A Look at Creating & Updating Point Files
Creating LOVs and Editors
Marine Digimap digimap.edina.ac.uk
GeoPortal Training Workshop 1st March 2017
Unit Six: Labels In this unit… Review Adding Text to Maps
Microsoft Office Illustrated Introductory, Windows XP Edition
Import Files The Import button will either add a layer to the map (in the case of SHAPE files such as those created by ESRI products) or open image files.
TransCAD Creating Maps 2019/2/28.
Presentation transcript:

Page 1 Layers  用户的数据反映在地图上 通常根据点、线、面的层 次结构进行归类。每一个 独立的图层都可以作为一 个独立的地图。 MapX 中 调用的是一个由多个独立 地图图层组成的地图集合 。

Page 2 Regions Lines Points Text Pacific Ocean

Page 3 Layers Methods  图层控制对话框 Map1.Layers.LayersDlg

Page 4 Layers Property  AnimationLayer ( 示例 )  Bounds  Count  InsertionLayer This property specifies what new layer objects will be inserted into by the built-in object editing tools.  Item

Page 5 Layers Methods  建新层 Map1.Layers.CreateLayer “Offices” [Layer=]OBJECT.CreateLayer (Name, [FileSpec], [Position], [KeyLength], [CoordSys])  加入图层 Map1.Layers.Add “C:\Data\Ireland.tab” [Layer=]OBJECT.Add (LayerInfo, [Position]) ] LayerInfo: This can be either a LayerInfo object or a Pathname of the MapInfo table (.TAB) file to be added as a layer. If no Position parameter is specified, the layer is positioned automatically with respect to other layers in the map. For example, a layer with points is placed above a layer with regions.

Page 6 Layers Methods  删除图层 Map1.Layers.Remove 3  移动图层 Map1.Layers.Move 1,2  用户自定义图层 Map1.AddUserDrawLayer ( 示例 )

Page 7 layerInfo 对象  标准 Table 表:  用户自定义图层:在此图层中,用户可以使用如 Windows API 函 数来画图。  可自注册的栅格图象:如: GeoTiff 。  栅格图象:以 Tab 表形式调入。支持 24 位真彩栅格图象。支持格 网文件支持 (MIG) 。  ARCVIEW 的 SHAPE 文件:步骤如下: – .将其中的 DBF 文件写成 TAB 表形式. – .打开.tab 文件,将 “Type DBF Charset "WindowsSimpChinese"” 改为 ”Type SHAPEFILE Charset "WindowsSimpChinese"”. – .将文件加入应用.

Page 8 LayerInfoTypeConstants  miLayerInfoTypeTab = 0  miLayerInfoTypeUserDraw = 1  miLayerInfoTypeRaster = 2  miLayerInfoTypeShape = 3  miLayerInfoTypeServer = 4  miLayerInfoTypeGeodictUserName = 5  miLayerInfoTypeTemp = 6  miLayerInfoTypeNewTable = 7

Page 9  远程数据库  连 接 ODBC 数据源, MS Access/SQL Server/ 其他 ODBC 数据 源. :要求数据库已经地图化。程序: Dim LayerInfo As New MapXLib.LayerInfo LayerInfo.Type = miLayerInfoTypeServer LayerInfo.AddParameter “name”, “ODBCLayer” ’ ‘Mapstats 为 ODBC 数据源 LayerInfo.AddParameter”connectstring",“Mapstats” LayerInfo.AddParameter "query",”Select * from Us_cust” LayerInfo.AddParameter "cache", “on” LayerInfo.AddParameter "MBRSearch", “on” LayerInfo.AddParameter "toolkit", "ODBC" layerinfo.AddParameter "AutoCreateDataset", 1 layerinfo.AddParameter "datasetname", “us_cust” Set lyr = Formmain.Map1.Layers.Add(LayerInfo, 1)

Page 10   连接 Oracle8I 数据源 , 通过 Oracle Call Interface (OCI) MapX 可以将存储在 Oralce8I 数据库服务器中的 Mapinfo 空间数 据和属性数据同时下载到本地 。  Dim LayerInfo As New MapXLib.LayerInfo  LayerInfo.Type = miLayerInfoTypeServer LayerInfo.AddParameter “name”, “oranLayer” LayerInfo.AddParameter”connectstring",“uid=system;pwd=manager;srvr=mapx” LayerInfo.AddParameter “query”,”Select * from Us_cust” LayerInfo.AddParameter “cache”, “on”  LayerInfo.AddParameter “MBRSearch”, “on”  LayerInfo.AddParameter "toolkit", "ORAINET” layerinfo.AddParameter "AutoCreateDataset", 1  layerinfo.AddParameter "datasetname", “us_cust” Set lyr = Formmain.Map1.Layers.Add(LayerInfo, 1)

Page 11  连接空间数据服务器如 SpatialWare for Oracle, SpatialWare Informix DataBlade, 以及 SpatialWare DB2 Extender. 采用 ODBC 连接. 连接空间数据服务器亦可使用 AddServerLayer 方法: Map1.Layers.AddServerLayer "ssa","DSN=Spatial;HOST=spw;UUID=mapzk;UPWD=mapzk;UID=mapzk; PWD=mapzk;OSID=map", "select * from ""sloil"""

Page 12 常用的 Layer property  AutoLabel  Name  OverrideStyle  Selectable, Editable, Visible  Style  ZoomLayer, ZoomMax, ZoomMin  FileSpec  Type  LabelProperties

Page 13 常用的 Layer method AddFeature, DeleteFeature BeginAccess, EndAccess This method will open and lock the table for read/write access. This improves the performance for repeated layer and Dataset operations. You must call Layer.EndAccess once for each call to Layer.BeginAccess. Refresh UpdateFeature Search [ Features collection= ]OBJECT.Search (strWhere, [Variables]) strWhere : An expression to evaluate for each feature.

Page 14 标准 Tool 的使用 很多地图应用,都需要用户给出一些地图控件。大多数 解决方法是提供给用户一些工具类型。 Map1.CurrentTool = miRadiusSelectTool Map1 是 MapX 的对象名, miRadiusSelect 是常量。在指定位置 使用用户工具。

Page 15 标准 Tool 的分类  Navigation tools (Zoom-In, Zoom-Out, Pan, Center) that let the user change the scale and placement of the map.  A Labeling tool that lets the user click a map feature to label it.  A set of Selection tools that give the user various ways to select map features.  Annotations (symbols and text).

Page 16 标准 Tool 的使用

Page 17 自定义 Tools  用户可以创建自定义工具,按照以下三步. 创建工具. 编写工具程序代码. 使用工具

Page 18 Step 1: 创建用户自定义工具 下面是帮助文件中解释用户自定义工具的说明, [ ] 里面是可 选参数:  Map.CreateCustomTool ToolNumber, Type, Cursor, [ShiftCursor], [CtrlCursor] ToolNumber 以后要引用工具的编号,在 1-99 之间 Type 描述工具类型 Cursor 当前使用工具的光标形状。 ShiftCursor 当前使用工具的光标形状 ,按住 键光标 被隐藏。 CtrlCursor 当前使用工具的光标形状,按住 键光标被隐 藏。

Page 19 常数

Page 20 自定义 Tools  Step2. 指定程序将执行的任务: 使用过程工具 例如,你要画一条长线,这时用户需要 在地图上使用工具记录移动的状况。由此,在地图对 象上使用 MouseMove 事件。 使用工具 例如,用鼠标画出一个圆,以便计算圆内的 用户数。由此,需要使用功能性工具,在地图对象上 使用 ToolUsed 事件。

Page 21 自定义 Tools  Step3. 如果要使用工具,需要设置 MapX 对 象 CurrentTool 的值。 Map1.CurrentTool = miCenterTool Map1.CurentTool = 430

Page 22 style  Map.defaultstyle  layer.style  feature.style The Style Override is only in effect during the current work session, as are the other display settings. To make them permanent,you would have to modify the geoset.

Page 23 Style: Feature 的属性设置  Style.LineColor  Style.LineWidth  Style.LineWidthUnit  Style.RegionBackColor  Style.RegionBorderColor  Style.RegionBorderStyle  Style.RegionBorderWidth  Style.SupportsBitmapSymbols  Style.SymbolBitmapColor  Style.SymbolCharacter  Style.SymbolFont  Style.TextFont  Style.TextFontColor  Style.SymbolType  Style.Clone  Style.DrawLineSample  Style.DrawRegionSample  Style.DrawSymbolSample  Style.DrawTextSample  Style.ExportLineSample  Style.ExportRegionSample  Style.ExportSymbolSample  Style.ExportTextSample  Style.PickLine  Style.PickRegion  Style.PickSymbol  Style.PickText 常用 property 常用 method

Page 24 Style: Feature 的属性设置  Style.PickLine  Style.PickRegion  Style.PickSymbol  Style.PickText

Page 25 coordinate Every map has a coordinate system, which affects mapping software in various ways:  The coordinate system affects how X-Y coordinates are processed. For example, a location can be expressed in terms of degrees longitude/latitude, or it can be expressed in terms of other units, such as meters.  The coordinate system affects the appearance of the map. Changing a map's coordinate system can make the map appear stretched or distorted.

Page 26 coordinate Every map has a coordinate system, which affects mapping software in various ways:  The coordinate system affects how X-Y coordinates are processed. For example, a location can be expressed in terms of degrees longitude/latitude, or it can be expressed in terms of other units, such as meters.  The coordinate system affects the appearance of the map. Changing a map's coordinate system can make the map appear stretched or distorted.

Page 27 coordinate  Map.DisplayCoordSys 显示坐标系统  Map.NumericCoordSys 数字坐标系统  Layer.CoordSys If you set the Map.DisplayCoordSys to match a Layer.CoordSys, you maximize the display speed of that layer. Note: If a map includes one or more raster image layers, MapX automatically displays the map in the projection specified by the most visible raster image. The coordinate system could then change as the map view changes (due to zooming or panning) if a different raster image with a different projection becomes the most visible. In this case, you cannot change the map's display coordinate system.