Recently, due to the needs of the project, you need to register the content in the planning map to a map with a standard geographic coordinate system (WGS84). After many attempts, after many detours, finally, we found a feasible method.Write it here
If you set the coordinate system when creating a new feature class or dataset, we use the coordinate system's (Map Projection) Valid extent. this is larger than the coordinate system's valid area of use. for example, in your case, the extent of
Some time ago, I tested the process of calling gdal/OGR to read and write the shape file with C #. The overall process looks simple. Today I will summarize it a little bit:
1. The OGR class library reference has been comprehensive on the official
ARCGIS SDK for DotNet PathThe volume in drive C is WIN7The serial number of the volume is 06ac-bd3eContents of the C:\Program Files (x86) \arcgis\developerkit10.0\dotnet2014/01/11 17:40 2014/01/11 17:40 2010/05/19 12:44 4,162,560 AjaxControlToolkit.dll2010/05/19 14:01 237,568 ESRI. Arcgis.3danalyst.dll2009/11/04 16:14 753,690 ESRI. Arcgis.3danalyst.xml2010/05/19 15:15 13,824
This section focuses on code calculation. Let's take a look at the implementation of some simple functions through the code. I am about to have a holiday, so I can't write well without having to worry about it. It may be better to paste the code.
1. Get all layersESRI. ArcGIS. server. webcontrols. webmap = map1.createwebmap ();
Try
{
ESRI. ArcGIS. Carto. imapdescription descr = webmap. mapdescription;
Ddllayers. Items. Clear ();
Int ID;
For (INT I =
When we interact with a map, we perform the following operations: a drop-down box or a query of the map content. Input and Output in these interactions are usually reflected on a layer independent of map data. For example, if the frame is enlarged, we can see a rectangle drawn by the mouse, or query the point of interest, the result is usually to highlight the shape of the interest point that meets the condition in the independent "layer", through which the user's input can be reflected, and the
When we interact with a map, we perform the following operations: a drop-down box or a query of the map content. Input and Output in these interactions are usually reflected on a layer independent of map data. For example, if the frame is enlarged, we can see a rectangle drawn by the mouse, or query the point of interest, the result is usually to highlight the shape of the interest point that meets the condition in the independent "layer", through which the user's input can be reflected, and the
Tags: des style blog Io color ar SP for div 1 /// 2 /// The "import" function of featureclass. 3 /// 4 /// Source iworkspacefactory2 object 5 /// Path of the source workspace, for example, "G: \ doc \ GIS \ 1.400 \ data \ PDB. mdb" 6 /// Source Element name, for example, "hyd20174l_1" 7 /// Target iworkspacefactory2 object 8 /// Path of the target workspace, for example, "G: \ doc \ G
space, which in the process of implementing these functions, often and geometry deal with, and geometry will also be in the application of the various layers of conversion. This article focuses on the transformation of geometry types between the common APIs in the Web ADF and the various specific APIs.1 There are several conversions, the three parties involved:The geometry type of. NET,The geometry type of the Web ADF: The geometry type of the web ADF here refers to the geometry type in the com
We have several terms to explain below: (only for ry)
Screen: it is the type of the ry in. net, including the dot and line planes, which are located in system. Drawing.
Web ADF: A common geometric object in the common data source, which is located in ESRI. ArcGIS. ADF. Web. geometry.
ArcGIS Server soap: The ry type in the special data source ARCserver, which is located in ESRI. ArcGIS. ADF. arcgisserv
includes two textbox and one Comand, textbox corresponds to the X and Y coordinates of the buffer center. It takes the vertex as the center and a certain radius as the circular buffer.Ideas:
Buffer analysis needs to be implemented in the AO interface. The input point should be a COM object, and the input XY coordinate point on the page is a soap API valueojbect. valueobject can be used in the ADF Web controls, but it cannot be used for the AO interface. Therefore, you need to convert valueobjec
textbox and one Comand, textbox corresponds to the X and Y coordinates of the buffer center. It takes the vertex as the center and a certain radius as the circular buffer.Ideas:
Buffer analysis needs to be implemented in the AO interface. The input point should be a COM object, and the input XY coordinate point on the page is a soap API valueojbect. valueobject can be used in the ADF Web controls, but it cannot be used for the AO interface. Therefore, you need to convert valueobject to comojbec
ArcGIS Engine Control running license
Runtime binding:
In ArcGIS engine10.0, the license method has changed, and arcgis10 has a new requirement-runtime binding. Before any ArcObjects Code (including the license initialization Code) is executed, specify the matching ArcGIS product --- ArcGIS desktop or ArcGIS Engine application.
The APIS bound to the runtime is located in the Assembly ESRI. arcGIS. version class ES
. realproxy. handlereturnmessage (iMessage reqmsg, iMessage retmsg)
In system. runtime. remoting. proxies. realproxy. privateinvoke (messagedata msgdata, int32 type)
In idciplservice. ff ()
In dciplserviceclient. ff ()
It is strange that no error will be reported if vs can be connected directly. During this period, all the methods mentioned on the Internet have been tried and still fail. Later, I switched to the ADF to connect and no error was reported.
To make use of ArcObjec
, and the ArcGIS documentation is especially worth learning in this detail. The mouse event document for Graphicslayer and map starts with Mouse-down (mouse button is pressed down) and ends with mouse-up (mouse button is released). Now everyone has found that the drag events are related to Mouse-down and mouse-up. First, pressing the mouse (Mouse-down) is the precondition for triggering the drag. Then, releasing the Mouse (mouse-up) is the identification of the end of the drag event. That is, if
of these tiles, then, the map images in this range are regenerated in the background, and the newly generated images are replaced with the old tiles.The procedure is as follows:1.Create a non-pooled service and generate a map cache.2.Obtain the tile corresponding to the edited image. In general, if it is a vertex image, it corresponds to a tile. A line or surface image may fall on multiple tiles. You can use ESRI. ArcGIS. ADF. arcgisserver. tilecache
{ClientActions = clientAction;}...If (toolbar. items [toolbarItemName]. preExecFunction! = Null)ClientActions + = toolbar. items [toolbarItemName]. preExecFunction;// Call ClientActionVar clientActionFunction = new Function (clientActions );ClientActionFunction. call (null );// Select this tool and unselect othersToolbars [toolbarName]. selectTool ();Toolbars [toolbarName]. refreshGroup ();}}....}The simple meaning of this Code is that if ClientAction is customized, it is executed directly. IfNo
service, where Notpooledserviceurl is a string, corresponding to the current service URL, map service has been sliced
Get information about the service
ESRI. ArcGIS.ADF.ArcGISServer.MapServerProxy mapserver_dcom = new ESRI. ArcGIS.ADF.ArcGISServer.MapServerProxy (Notpooledserviceurl);
ESRI. ArcGIS.ADF.ArcGISServer.MapServerInfo MAPI = mapserver_dcom. Getserverin
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.