Autodesk MapGuide Studio is a map editing Tool (Authoring Tool) provided by Autodesk MapGuide Enterprise along with the disk. It can be applied to MapGuide Enterprise or MapGuide OepnSource. I used to understand the architecture of MapGuide. MapGuide is a WebGIS system composed of three layers. In fact, MapGuide Studio is the same as IE, Firefox, Google Chrome, Maestro, and even Google Earth, it is used as the browser of A MapGuide. He communicates completely with the MapGuide server through the Http protocol.
To start MapGuide Studio, you must first connect to the MapGuide site:
Site: http: // <machinename>/mapguide <XXXX> xxxx is the version number.
UserId: Administrator (A capital)
Password: admin (all lowercase)
MapGuide Studio provides the following functions:
§ Load map data
§ Create element styles and themes
Embedding layers in a map
Manage the web page layout in the browser
Simplify map creation and release
Next we will give a brief introduction to each function.
1. Load map data.
MapGuide supports multiple GIS Data formats, thanks to the FDO (Feature Data Object) technology. MapGuide can connect to any type of GIS Data as long as there is a corresponding FDO provider. The FDO Provider provided by MapGuide Enterprise includes:
OSGeo FDO Provider for SDF is used to connect to the SDF data. SDF is a GIS format used by Autodesk Map3D.
OSGeo FDO Provider for SHP is used to connect to data in SHP format. SHP has always been one of the most important GIS data formats.
OSGeo FDO Provider for ODBC is used to connect to the Provider of Access, Excel, or relational database. This special function is to generate point objects on the map based on the coordinate values in the database.
OSGeo FDO Provider for MySQL
OSGeo FDO Provider for SQL Server Spatial is used to connect to the latest SQL Server 2008 Spatial database.
OSGeo FDO Provider for WMS
OSGeo FDO Provider for WFS
OSGeo FDO Provider for ArcSDE
Autodesk FDO Provider for Oracle Autodesk provides a Provider for connecting to Oracle, which is not provided for OpenSource, but is also used by open-source providers such as King FDO for Oracle.
Autodesk FDO Provider for Raster
In MapGuide Studio, you can create a new load procedures to upload the file-based GIS data to the MapGuide site, such as the SDF file, SHP file, and DWG file. At this time, the GIS data will be stored on the MapGuide Site Server. In addition, the SHP file has been converted to an sdf file during loading. The procedure is relatively simple and we will not repeat it here.
Another way to load Data is to create a Data Connection. This method is suitable for file-type GIS Data such as SDF and shp without loading Data to the MapGuide site, it is also applicable to Oracle, SQL Server, and other large databases. The following is a simple example of connecting to the Oracle Spatial Database. I need to connect to the spatial data stored in Oracle XE on another computer. To use the Oracle Provider, you must first install the Oracle client and set the Oracle service name. Below is a setting in my tnsnames. ora:
PC_XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = bei9m4jxix) (PORT = 1521 ))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)
My local service named PC_XE connects to the Oracle service XE running on bei9m4jxix. You can search for the settings of the Oracle client. Daniel won't talk nonsense here. Before we start, we recommend you a best practice. To facilitate management, You can first create directories on the MapGuide site. As shown in. Then, right-click the data directory, select New Data Connection, and select the Autodesk FDO Provider for Oracle Provider. Open the New Feature Source interface and fill in the information according to the preceding Oracle settings. Note that if you are using Oracle XE, the username and password will be OK in uppercase, otherwise there may be problems.
After the name is saved, the connection to Oracle is set up. Then you can select the Feature Class in the Feature Source when creating a layer. We will talk about this later.
This section contains a lot of content, which can be divided into multiple parts. Let's start here today.