GIS系统线路代码简表

合集下载

线面地物编码

线面地物编码

线面状地物符号代码表坎类(曲): K(U) + 数(0-陡坎,1-加固陡坎,2-斜坡,3-加固斜坡,4-垄,5-陡崖,6-干沟)线类(曲): X(Q) + 数(0-实线,1-内部道路,2-小路,3-大车路,4-建筑公路,5-地类界,6-乡.镇界,7-县.县级市界,8-地区.地级市界,9-省界线)垣栅类: W + 数(0,1-宽为0.5米的围墙,2-栅栏,3-铁丝网,4-篱笆,5-活树篱笆,6-不依比例围墙,不拟合,7-不依比例围墙,拟合)铁路类: T +数(0-标准铁路(大比例尺),1-标(小),2-窄轨铁路(大),3-窄(小),4-轻轨铁路(大),5-轻(小),6-缆车道(大),7-缆车道(小),8-架空索道,9-过河电缆)电力线类: D + 数 (0-电线塔,1-高压线,2-低压线,3-通讯线)房屋类: F +数 (0-坚固房,1-普通房,2-一般房屋,3-建筑中房,4-破坏房,5-棚房,6-简单房)管线类: G + 数(0-架空(大),1-架空(小),2-地面上的,3-地下的,4-有管堤的)植被土质:拟合边界:B - 数(0-旱地,1-水稻,2-菜地,3-天然草地,4-有林地,5-行树,6-狭长灌木林,7-盐碱地,8-沙地,9-花圃)不拟合边界:H - 数(0-旱地,1-水稻,2-菜地,3-天然草地,4-有林地,5-行树,6-狭长灌木林,7-盐碱地,8-沙地,9-花圃)圆形物: Y + 数(0半径,1-直径两端点,2-圆周三点)平行体: P + (X(0-9),Q(0-9),K(0-6),U(0-6)…)控制点: C + 数(0-图根点,1-埋石图根点,2-导线点,3-小三角点,4-三角点,5-土堆上的三角点,6-土堆上的小三角点,7-天文点,8-水准点,9-界址点)例如:K0──直折线型的陡坎,U0──曲线型的陡坎,W1──土围墙T0──标准铁路(大比例尺),Y012.5──以该点为圆心半径为12.5m的圆。

Arcgis 功能类代码

Arcgis 功能类代码

目录:1.打点,Element类 (2)2.清除所有元素,Element类 (3)3.画线,Element类 (3)4.根据传入的点集画面,Element类,目前没有实现 (4)5.在图层上添加点,feature类 (5)6.显示当前选中图元属性,feature类 (6)7.删除当前选中图元,feature类 (7)8.查询图元并闪烁,feature类 (8)9.得到符号 (9)10.渲染图元,feature类 (10)11.获取图片element,element类 (11)12.element旋转,element类 (12)13.加载SHP文件 (12)14.判断图形B是否包含在图形A中,feature类 (13)15.获得点 (14)16.element沿线移动,element类 (15)17.元素移动,element类 (15)Arcgis 功能类代码using ESRI.ArcGIS.esriSystem;using ESRI.ArcGIS.Carto;using ESRI.ArcGIS.Controls;using ESRI.ArcGIS.SystemUI;using ESRI.ArcGIS.Display;using ESRI.ArcGIS.Geodatabase;using ESRI.ArcGIS.Geometry;using ESRI.ArcGIS.DataSourcesFile;//////////////////////////////////////////////////////////////////////////////////////////// /////Arcgis 功能代码///<summary>1.打点,Element类///</summary>///<param name="x">点的X坐标</param>///<param name="y">点的Y坐标</param>private void DrawPoint(double x, double y){IActiveView activeView = this.axMapControl1.ActiveView.FocusMap as IActiveView;IElement pElement;IPoint pt = new PointClass();pt.PutCoords(x, y);//设置点颜色IRgbColor pColor = new RgbColorClass();pColor.Red = 255;//设置点的样式ISimpleMarkerSymbol pSMS = new SimpleMarkerSymbolClass();pSMS.Size = 9;pSMS.Color = pColor;pSMS.Style = esriSimpleMarkerStyle.esriSMSCircle;IMarkerElement pME = new MarkerElementClass();pME.Symbol = pSMS;pElement = pME as IElement;pElement.Geometry = pt;activeView.GraphicsContainer.AddElement(pElement, 0);activeView.PartialRefresh(esriViewDrawPhase.esriViewGraphics, null, null);}///<summary>2.清除所有元素,Element类///</summary>private void DeleteAllElements(){IActiveView activeView = this.axMapControl1.ActiveView.FocusMap as IActiveView; activeView.GraphicsContainer.DeleteAllElements();activeView.PartialRefresh(esriViewDrawPhase.esriViewGeography, null, null);}///<summary>3.画线,Element类///</summary>///<param name="pointArray">点集</param>///<param name="arrayCount">点集点的数目</param>private void DrawLine(double[,] pointArray, int arrayCount){if (arrayCount <= 0){return; //点坐标数组不能为空}IActiveView activeView = this.axMapControl1.ActiveView.FocusMap as IActiveView;//设置颜色IRgbColor color = new RgbColorClass();color.Red = 255;color.Blue = 255;color.Transparency = 255;//线样式ISimpleLineSymbol lineSymbol = new SimpleLineSymbolClass();lineSymbol.Color = color;lineSymbol.Style = esriSimpleLineStyle.esriSLSInsideFrame;lineSymbol.Width = 1;//点对象IPoint pPoint = new PointClass();//线元素ILineElement lineElement = new LineElementClass();lineElement.Symbol = lineSymbol;//线对象IPolyline m_Polyline = new PolylineClass();//点集合对象IPointCollection m_PointCollection = new PolylineClass();object missing = Type.Missing;for (int i = 0; i < arrayCount; i++){pPoint.PutCoords(pointArray[i, 0], pointArray[i, 1]);m_PointCollection.AddPoint(pPoint, ref missing, ref missing);}m_Polyline = m_PointCollection as IPolyline;IElement element = lineElement as IElement;element.Geometry = m_Polyline;activeView.GraphicsContainer.AddElement(element, 0);activeView.PartialRefresh(esriViewDrawPhase.esriViewGraphics, null, null);}///<summary>4.根据传入的点集画面,Element类,目前没有实现///</summary>///<param name="pointArray"></param>///<param name="arrayCount"></param>private void DrawPolygon(double[,] pointArray, int arrayCount){ILayer pLayer = this.axMapControl1.get_Layer(0);IFeatureLayer pFLayer = pLayer as IFeatureLayer;IFeatureClass pFC = pFLayer.FeatureClass;//点对象IPoint pPoint = new PointClass();//点集合对象IPointCollection m_PointCollection = new PolylineClass();object missing = Type.Missing;for (int i = 0; i < arrayCount; i++){pPoint.PutCoords(pointArray[i, 0], pointArray[i, 1]);m_PointCollection.AddPoint(pPoint, ref missing, ref missing);}//由于要画面,所以polygon的最后一个点和第一个点是同一个点,因此代码多余用到图元复制,也可以把第一个点再添加一遍就可以了//把第一个点再添加一遍,此代码节俭,用这个pPoint.PutCoords(pointArray[0, 0], pointArray[0, 1]);m_PointCollection.AddPoint(pPoint, ref missing, ref missing);////下面这个用图元复制,不节俭,所以注释起来留待以后参考//IClone pClone = m_PointCollection.get_Point(0) as IClone;//IPoint pEndPoint = pClone.Clone() as IPoint;//m_PointCollection.AddPoint(pEndPoint, ref missing, ref missing);IWorkspaceEdit pWE = (pFC as IDataset).Workspace as IWorkspaceEdit;pWE.StartEditing(false);pWE.StartEditOperation();IFeature pFeature = pFC.CreateFeature();pFeature.Shape = m_PointCollection as IPolygon;pFeature.Store();pFeature.set_Value(pFeature.Fields.FindField("类型"), "新加图元");pFeature.Store();pFeature.set_Value(pFeature.Fields.FindField("面积"), 130);pFeature.Store();pWE.StopEditOperation();pWE.StopEditing(true);this.axMapControl1.ActiveView.Refresh();}///<summary>5.在图层上添加点,feature类///</summary>///<param name="x">X坐标</param>///<param name="y">Y坐标</param>private void AddPointOnLayer(double x, double y){//得到要添加地物的图层IFeatureLayer iFeatureL = this.axMapControl1.Map.get_Layer(1) as IFeatureLayer;//定义一个地物类,把要编辑的图层转化为定义的地物类IFeatureClass iFeatureC = iFeatureL.FeatureClass;//先定义一个编辑的工作空间,然后转化为数据集,最后转化为编辑工作空间IWorkspaceEdit w = (iFeatureC as IDataset).Workspace as IWorkspaceEdit;IFeature pFeature;IPoint pPoint;//开始事务操作w.StartEditing(true);//开始编辑w.StartEditOperation();//创建一个地物pFeature = iFeatureC.CreateFeature();pPoint = new PointClass();//设置点的坐标pPoint.PutCoords(x, y);//确定图形类型pFeature.Shape = pPoint;//保存地物pFeature.Store();pFeature.set_Value(pFeature.Fields.FindField("类别"), "Circle 2");pFeature.Store();//结束编辑w.StopEditOperation();//结束事务操作w.StopEditing(true);this.axMapControl1.ActiveView.PartialRefresh(esriViewDrawPhase.esriViewGeography, iFeatureL, null);}///<summary>6.显示当前选中图元属性,feature类///</summary>private void showAttri(){string str = "";//获取图层IQueryFilter pQueryFilter = new QueryFilterClass();IFeatureLayer pFeatureLayer = this.axMapControl1.get_Layer(1) as IFeatureLayer;IFeatureClass pFeatureClass = pFeatureLayer.FeatureClass;int indexOfName = pFeatureClass.FindField("类别");IFeature pFeature;IMap pMap = this.axMapControl1.Map;ISelection pSelection = pMap.FeatureSelection;IEnumFeature pEnumFeature = pSelection as IEnumFeature;pEnumFeature.Reset();pFeature = pEnumFeature.Next();if (pFeature == null){MessageBox.Show("未选中图元,请重新选择");}else{while (pFeature != null){pQueryFilter.WhereClause = "FID="+pFeature.get_Value(0).ToString();IFeatureCursor pFeatureCursor = pFeatureLayer.Search(pQueryFilter, true);IFeature xxfeature;xxfeature = pFeatureCursor.NextFeature();str = str + "类别:"+xxfeature.get_Value(indexOfName).ToString() + "\n"; pFeature = pEnumFeature.Next();}MessageBox.Show(str);}}///<summary>7.删除当前选中图元,feature类///</summary>private void deleteFeature(){IFeature pFeature;IFeatureLayer iFeatureL = this.axMapControl1.get_Layer(1) as IFeatureLayer;IFeatureClass iFeatureC = iFeatureL.FeatureClass;IWorkspaceEdit iWorkspaceE = (iFeatureC as IDataset).Workspace as IWorkspaceEdit; iWorkspaceE.StartEditing(true);iWorkspaceE.StartEditOperation();IMap pMap = this.axMapControl1.Map;IEnumFeature pEnumFeature = pMap.FeatureSelection as IEnumFeature;pEnumFeature.Reset();pFeature = pEnumFeature.Next();try{if (pFeature != null){while (pFeature != null){DialogResult pDialogR = MessageBox.Show("确实要删除FID=" + pFeature.get_Value(0).ToString() + "的图元吗?", "提示:", MessageBoxButtons.YesNo, rmation);if (pDialogR == DialogResult.Yes){pFeature.Delete();MessageBox.Show("删除成功!");}pFeature = pEnumFeature.Next();}}}catch (Exception err){MessageBox.Show(err.Message);}iWorkspaceE.StopEditOperation();iWorkspaceE.StopEditing(true);this.axMapControl1.ActiveView.Refresh();}///<summary>8.查询图元并闪烁,feature类///</summary>///<param name="sqlFilter">查询条件</param>private void FindFeatureAndShape(string sqlFilter){this.axMapControl1.Map.ClearSelection();this.axMapControl1.ActiveView.Refresh();IQueryFilter pQueryFilter = new QueryFilterClass();pQueryFilter.WhereClause = sqlFilter;IFeatureLayer pFeatureLayer = this.axMapControl1.get_Layer(1) as IFeatureLayer;IFeatureCursor pFeatureCursor = pFeatureLayer.Search(pQueryFilter, true);IFeature pFeature;pFeature = pFeatureCursor.NextFeature();if (pFeature == null){MessageBox.Show("未找到图元!");return;}ISimpleMarkerSymbol iSimpleMarker = new SimpleMarkerSymbolClass();iSimpleMarker.Style = esriSimpleMarkerStyle.esriSMSCircle;iSimpleMarker.Size = 12;this.axMapControl1.Map.SelectFeature(pFeatureLayer, pFeature);this.axMapControl1.FlashShape(pFeature.Shape as IGeometry, 5, 300, iSimpleMarker);this.axMapControl1.Map.ClearSelection();//this.axMapControl1.ActiveView.Refresh();}///<summary>9.得到符号///</summary>///<param name="sServerStylePath">符号路径</param>///<param name="sGalleryClassName">符号类型</param>///<param name="symbolName">符号名称</param>///<returns>返回指定符号</returns>private ISymbol GetSymbol(string sServerStylePath, string sGalleryClassName, string symbolName){try{IStyleGallery pStyleGaller = new ServerStyleGalleryClass();IStyleGalleryStorage pStyleGalleryStorage = pStyleGaller as IStyleGalleryStorage;IEnumStyleGalleryItem pEnumSyleGalleryItem = null;IStyleGalleryItem pStyleGallerItem = null;IStyleGalleryClass pStyleGalleryClass = null;pStyleGalleryStorage.AddFile(sServerStylePath);for (int i = 0; i < pStyleGaller.ClassCount; i++){pStyleGalleryClass = pStyleGaller.get_Class(i);if ( != sGalleryClassName)continue;pEnumSyleGalleryItem = pStyleGaller.get_Items(sGalleryClassName, sServerStylePath, "");pEnumSyleGalleryItem.Reset();pStyleGallerItem = pEnumSyleGalleryItem.Next();while (pStyleGallerItem != null){if ( == symbolName){ISymbol pSymbol = pStyleGallerItem.Item as ISymbol;System.Runtime.InteropServices.Marshal.ReleaseComObject(pEnumSyleGalleryItem);System.Runtime.InteropServices.Marshal.ReleaseComObject(pStyleGalleryClass);return pSymbol;}pStyleGallerItem = pEnumSyleGalleryItem.Next();}}System.Runtime.InteropServices.Marshal.ReleaseComObject(pEnumSyleGalleryItem);System.Runtime.InteropServices.Marshal.ReleaseComObject(pStyleGalleryClass);return null;}catch (Exception err){MessageBox.Show(err.Message);return null;}}///<summary>10.渲染图元,feature类///</summary>///<param name="pFeatureLayer">需要渲染图元的图层</param>private void UniqueValueRenderFlyr(IFeatureLayer pFeatureLayer){try{IUniqueValueRenderer pUVRender = new UniqueValueRendererClass();List<string> pFieldValues = new List<string>();//pFieldValues.Add("Hospital 2");//pFieldValues.Add("School 1");//pFieldValues.Add("Airport");pFieldValues.Add("Circle 1");pFieldValues.Add("Circle 2");pFieldValues.Add("Circle 3");for (int i = 0; i < pFieldValues.Count; i++){ISymbol pSymbol;//maipSymbol = GetSymbol(@"D:\Program Files\ArcGIS\Styles\ESRI.ServerStyle", "Marker Symbols", pFieldValues[i]);pUVRender.AddValue(pFieldValues[i],pFieldValues[i], pSymbol);}pUVRender.FieldCount = 1;pUVRender.set_Field(0, "类别");IGeoFeatureLayer pGFeatureLyr = pFeatureLayer as IGeoFeatureLayer;pGFeatureLyr.Renderer = pUVRender as IFeatureRenderer;}catch (Exception err){MessageBox.Show(err.Message);}}///<summary>11.获取图片element,element类///</summary>///<param name="image">图片路径</param>///<returns>图片element</returns>private IElement getElement(string image,double x,double y){IPoint point = new PointClass();point.PutCoords(x, y);ESRI.ArcGIS.Display.IRgbColor mycolor = new ESRI.ArcGIS.Display.RgbColor(); mycolor.Red = 255;mycolor.Green = 255;mycolor.Blue = 255;IPictureMarkerSymbol picMSymbol = new PictureMarkerSymbolClass();picMSymbol.Size = 30;picMSymbol.CreateMarkerSymbolFromFile(esriIPictureType.esriIPictureBitmap, image);picMSymbol.BitmapTransparencyColor = mycolor;IMarkerElement myMElement = new MarkerElementClass();IElement myElement = myMElement as IElement;myMElement.Symbol = picMSymbol as IMarkerSymbol;myElement.Geometry = point;return myElement;}///<summary>12.element旋转,element类///</summary>private void elementRotate(){this.timer1.Enabled = false;//element 旋转IPoint pPoint = new PointClass();pPoint.PutCoords(pElement.Geometry.Envelope.XMax,pElement.Geometry.Envelope.YMax);ITransform2D pTransform;pTransform = (ITransform2D)pElement;//MessageBox.Show(pElement.Geometry.Envelope.XMax.ToString() + " " +pElement.Geometry.Envelope.YMax.ToString());pTransform.Rotate(pPoint, -0.3);//改变element的移动速度this.timer1.Enabled = true;}///<summary>13.加载SHP文件///</summary>///<param name="shpFile">SHP文件名</param>private void addLayer(string shpFile){IWorkspaceFactory pWorkspaceFactory = new ShapefileWorkspaceFactoryClass();IWorkspace pWorkspace = pWorkspaceFactory.OpenFromFile(Application.StartupPath + "\\data", 0);IFeatureWorkspace pFeatureWorkspace = pWorkspace as IFeatureWorkspace;IFeatureClass pFC = pFeatureWorkspace.OpenFeatureClass(shpFile);IFeatureLayer pFLayer = new FeatureLayerClass();pFLayer.FeatureClass = pFC; = pFC.AliasName;ILayer pLayer = pFLayer as ILayer;IMap pMap = this.axMapControl1.Map;pMap.AddLayer(pLayer);this.axMapControl1.ActiveView.Refresh();}///<summary>14.判断图形B是否包含在图形A中,feature类///</summary>///<param name="pGeometryA">A图形</param>///<param name="pGeometryB">B图形</param>///<returns>TRUE为包含,FALSE为不包含</returns>private bool CheckGeometryContain(IGeometry pGeometryA, IGeometry pGeometryB){IRelationalOperator pRelOperator = pGeometryA as IRelationalOperator;if (pRelOperator.Contains(pGeometryB)){return true;}else{return false;}}private void button6_Click(object sender, EventArgs e){//点图元this.axMapControl1.Map.ClearSelection();this.axMapControl1.ActiveView.Refresh();IQueryFilter pQueryFilter = new QueryFilterClass();pQueryFilter.WhereClause = "FID=" + textBox1.Text;IFeatureLayer pFeatureLayer = this.axMapControl1.get_Layer(1) as IFeatureLayer;IFeatureCursor pFeatureCursor = pFeatureLayer.Search(pQueryFilter, true);IFeature pFeature;pFeature = pFeatureCursor.NextFeature();if (pFeature == null){MessageBox.Show("未找到图元!");return;}//面图元IQueryFilter polygonQF = new QueryFilterClass();pQueryFilter.WhereClause = "FID=0";IFeatureLayer polygonFL = this.axMapControl1.get_Layer(2) as IFeatureLayer;IFeatureCursor polygonFC = polygonFL.Search(polygonQF, true);IFeature polygonF;polygonF = polygonFC.NextFeature();if (polygonF == null){MessageBox.Show("未找到图元!");return;}if (CheckGeometryContain(polygonF.Shape, pFeature.Shape)){MessageBox.Show("在多边形内");}else{MessageBox.Show("不在多边形内");}//ISimpleMarkerSymbol iSimpleMarker = new SimpleMarkerSymbolClass();//iSimpleMarker.Style = esriSimpleMarkerStyle.esriSMSCircle;//iSimpleMarker.Size = 12;//this.axMapControl1.Map.SelectFeature(pFeatureLayer, pFeature);//this.axMapControl1.FlashShape(pFeature.Shape as IGeometry, 5, 300, iSimpleMarker);//this.axMapControl1.Map.ClearSelection();//this.axMapControl1.ActiveView.Refresh();}private void button7_Click(object sender, EventArgs e){moveByLine();}///<summary>15.获得点///</summary>///<param name="x">点的X坐标</param>///<param name="y">点的Y坐标</param>///<returns>根据传入X,Y坐标生成的点</returns>private IPoint getPoint(double x, double y){IPoint point = new PointClass();point.PutCoords(x, y);return point;}///<summary>16.element沿线移动,element类///</summary>private void moveByLine(){ITransform2D pTransform;pTransform = (ITransform2D)pElement;//获得线ILine pLine = new LineClass();pLine.FromPoint = getPoint(2200, 1880);pLine.ToPoint = getPoint(1500, 1100);//移动pTransform.MoveVector(pLine);this.axMapControl1.ActiveView.Refresh();//this.axMapControl1.ActiveView.PartialRefresh(esriViewDrawPhase.esriViewGraphics, pElement, null);}///<summary>17.元素移动,element类///</summary>private void moveElement(){ITransform2D pTransform;pTransform = (ITransform2D)pElement;pTransform.Move(-10, -10);//this.axMapControl1.ActiveView.GraphicsContainer.UpdateElement(pElement);//this.axMapControl1.ActiveView.Refresh();this.axMapControl1.ActiveView.PartialRefresh(esriViewDrawPhase.esriViewGraphics, pElement, null);}。

GIS二次开发经典代码

GIS二次开发经典代码

1、保存栅格数据(注意:保存的时候不要忘记要将栅格数据保存到栅格数据集工作空间中,同时还有栅格的扩展名一定要加上。

)Public Sub SaveRaster()Dim pMxDoc As IMxDocumentDim pMap As IMapSet pMxDoc = Application.DocumentSet pMap = pMxDoc.FocusMappMap.DeleteLayer yer(0)Dim pRasterDataset As IRasterDatasetDim pWks As IRasterWorkspaceDim pWksFact As IWorkspaceFactorySet pWksFact = New RasterWorkspaceFactorySet pWks = pWksFact.OpenFromFile("D:\Projects\ZLS\temp", 0)Dim pRBC As IRasterBandCollectionSet pRasterDataset = pWks.OpenRasterDataset("test")'Dim pRBC As IRasterBandCollectionDim pRLayer As IRasterLayerSet pRLayer = New RasterLayerpRLayer.CreateFromDataset pRasterDatasetDim pRaster As IRasterSet pRaster = pRLayer.RasterSet pRBC = pRasterDim pDs As IDatasetSet pDs = pRBC.SaveAs("test", pWks, "TIFF") copyright pMap.AddLayer pRLayerEnd Sub2、根据已有数据字段,创建shape文件,并将数据插入到shape文件中(delphi代码)function CreateNewShape(pCursor: IFeatureCursor; pFCls: IFeatureClass; pPath: WideString; pNewFClsName:WideString): IFeatureClass;varpShapeFieldName, ConfigKeyword: WideString;pNewFCls: IFeatureClass;pFeature: IFeature;pNewFCursor: IFeatureCursor;pFeatureBuffer: IFeatureBuffer;pFields: IFields;pShape: IGeometry;pGeoType: esriGeometryType;pWFact: IWorkspaceFactory;pWorkspace: IWorkspace;pWorkspaceEdit: IWorkspaceEdit;pFWks: IFeatureWorkspace;pDataset: IDataset;pCLSID: IUID;pEXTCLSID: IUID;pNewID: OleVariant;bl: wordbool;i, pFieldCount: integer;pValue: OleVariant;beginConfigKeyword := '';//Determine the appropriate geometry type corresponding the the feature typeif pCLSID = nil thenbeginpFCls.Get_CLSID(pCLSID);pFCls.Get_ShapeType(pGeoType);end;//create fields collectionif pFields = nil thenbeginpFCls.Get_Fields(pFields);end;//get geometry field namepFCls.Get_ShapeFieldName(pShapeFieldName);pEXTCLSID := nil;pWFact:=CoshapefileWorkspaceFactory.create as IWorkspaceFactory;pWFact.OpenFromFile(pPath, 0, pWorkspace);pFWks := pWorkspace as IFeatureWorkspace;bl := NameExits(pWorkspace, pNewFClsName);//create shapefile in the temp folderif not bl thenbeginpFWks.CreateFeatureClass(pNewFClsName, pFields, pCLSID, pEXTCLSID, pGeoType, pShapeFieldName,ConfigKeyword, pNewFCls);endelsebeginpFWks.OpenFeatureClass(pNewFClsName, pNewFCls);pDataset := pNewFCls as IDataset;pDataset.Delete; copyright pFWks.CreateFeatureClass(pNewFClsName, pFields, pCLSID, pEXTCLSID, pGeoType, pShapeFieldName,ConfigKeyword, pNewFCls);end;//Add the features to this ShapeFilepWorkspaceEdit := pWorkspace as IWorkspaceEdit;pWorkspaceEdit.StartEditing(true);pWorkspaceEdit.StartEditOperation;pNewFCls.CreateFeatureBuffer(pFeatureBuffer);pNewFCls.Insert(true, pNewFCursor);pCursor.NextFeature(pFeature);pFeature.Get_Fields(pFields);pFields.Get_FieldCount(pFieldCount);while not (pFeature = nil) dobeginfor i := 0 to pFieldCount - 1 dobeginpFeature.Get_Value(i, pValue);pFeatureBuffer.Set_Value(i, pValue);end;内容来自GIS公园pFeature.Get_Shape(pShape);pFeatureBuffer.Set_Shape(pShape);pNewFCursor.InsertFeature(pFeatureBuffer, pNewID);pCursor.NextFeature(pFeature);end;pNewFCursor.Flush;pWorkspaceEdit.StopEditOperation;pWorkspaceEdit.StopEditing(true);//Get ResaultCreateNewShape := pNewFCls;end;3、渲染栅格图层Public Sub SetRasterRenderer()Dim NumOfClass As IntegerNumOfClass = 5' Get MapDim pMxDoc As IMxDocumentSet pMxDoc = ThisDocumentDim pMap As IMapSet pMap = pMxDoc.FocusMap' Get raster input from layerDim pRLayer As IRasterLayerSet pRLayer = yer(0)Dim pRaster As IRasterSet pRaster = pRLayer.Raster' Create classfy renderer and QI RasterRenderer interface Dim pClassRen As IRasterClassifyColorRampRenderer Set pClassRen = New RasterClassifyColorRampRenderer Dim pRasRen As IRasterRendererSet pRasRen = pClassRencopyright ' Set raster for the render and updateSet pRasRen.Raster = pRasterpClassRen.ClassCount = NumOfClasspRasRen.Update' Create a color ramp to useDim pRamp As IAlgorithmicColorRampSet pRamp = New AlgorithmicColorRamppRamp.Size = NumOfClassDim pFColor As IColorDim pTColor As IColorSet pFColor = New RgbColorSet pTColor = New RgbColorpFColor.RGB = RGB(10, 100, 10)pTColor.RGB = RGB(60, 0, 60)pRamp.FromColor = pFColorpRamp.ToColor = pTColorpRamp.CreateRamp True' Create symbol for the classesDim pFSymbol As IFillSymbolSet pFSymbol = New SimpleFillSymbol' loop through the classes and apply the color and label Dim i As IntegerFor i = 0 To pClassRen.ClassCount - 1pFSymbol.Color = pRamp.Color(i)pClassRen.Symbol(i) = pFSymbolbel(i) = "Class" & CStr(i)Next i' Update the renderer and plug into layerpRasRen.UpdateSet pRLayer.Renderer = pClassRenpMxDoc.ActiveView.RefreshpMxDoc.UpdateContents' Release memeorySet pMxDoc = Nothing本文来GIS公园Set pMap = NothingSet pRLayer = NothingSet pRaster = NothingSet pRasRen = NothingSet pClassRen = NothingSet pRamp = NothingSet pFSymbol = Nothing End Sub内容来自GIS公园。

GIS小系统代码

GIS小系统代码

由于时间的原因,没时间写了,只实现了,放大,缩小漫游,划点线面,图例显示,御载图层,坐标实时跟踪显示等功能,其他的看着办吧{抄书也可以}Dim dc As New MapObjects2.DataConnectionDim lyr As New MapObjects2.MapLayerDim fname As StringDim fnames() As StringDim flag As IntegerDim flagdian As Integer '做点标记Dim flagline As Integer '线标记Dim flagduo As Integer '多边形标记Dim juxing As Integer '矩形标记Dim p As MapObjects2.Point '划点变量Dim pts As New MapObjects2.Points '定义点集,划点Dim pts1 As New MapObjects2.Points '定义点集划线Dim sym1 As New SymbolDim g_line As New MapObjects2.Line '划线Dim retenglej As MapObjects2.Rectangle '划矩形Dim ployxing As New MapObjects2.PolygonPrivate Sub Form_Load()flag = -1 '给Toba控件选择做标记flagdian = -1flagline = -1flagduo = -1juxing = -1End SubPrivate Sub GISOPENFILE_Click()dlg.Filter = "*.shp|*.shp|*.dbf|*.dbf"dlg.Flags = cdlOFNAllowMultiselect Or cdlOFNExplorerdlg.ShowOpendlg.InitDir = CurDirdc.Database = dlg.InitDirIf Not dc.Connect Then Exit Subfname = dlg.FileNamefnames() = Split(fname, Chr(0))Max = UBound(fnames())If Max > 0 ThenFor i = 1 To MaxSet lyr.GeoDataset = dc.FindGeoDataset(fnames(i))yers.Add lyryers.Add lyrSet lyr = NothingNext iElseIf Max = 0 Thenfname = dlg.FileTitleSet lyr.GeoDataset = dc.FindGeoDataset(fname)yers.Add lyryers.Add lyrSet lyr = NothingEnd IfEnd SubPrivate Sub huadian_Click()flagdian = 1End SubPrivate Sub huaduobianxing_Click()flagduo = 1End SubPrivate Sub huajuxing_Click()juxing = 1End SubPrivate Sub huaxian_Click()flagline = 1End SubPrivate Sub legend1_AfterSetLayerVisible(Index As Integer, isVisible As Boolean)Map1.RefreshEnd SubPrivate Sub Map1_AfterLayerDraw(ByVal Index As Integer, ByVal canceled As Boolean, ByVal hDC As stdole.OLE_HANDLE)legend1.setMapSource Map1legend1.LoadLegend TrueMap2.TrackingLayer.Refresh TrueEnd SubPrivate Sub Map1_AfterTrackingLayerDraw(ByVal hDC As stdole.OLE_HANDLE)On Error GoTo outIf flagdian = 1 Thensym1.Color = moRedsym1.Style = moPointSymbolsym1.Size = 5Map1.DrawShape pts, sym1If flagline = 1 ThenDim sym2 As New Symbolsym2.Style = moPointSymbolMap1.DrawShape pts1, sym2If pts.Count > 1 ThenMap1.DrawShape g_line, sym2End IfEnd IfIf juxing = 1 ThenMap1.DrawShape retenglej, sym1End IfIf flagduo = 1 ThenDim sym3 As New SymbolMap1.DrawShape ployxing, sym3End Ifout:End SubPrivate Sub Map1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) On Error GoTo outIf flag = 1 ThenMap1.PanEnd IfIf flag = 2 ThenSet Map1.Extent = Map1.TrackRectangleEnd IfIf flag = 3 ThenDim r As MapObjects2.RectangleSet r = Map1.Extentr.ScaleRectangle 1.5Map1.Extent = rEnd IfDim dian1 As New MapObjects2.PointSet dian1 = Map1.ToMapPoint(X, Y)StatusBar1.Panels(2).Text = "x=" & dian1.XStatusBar1.Panels(3).Text = "y=" & dian1.YIf flagdian = 1 Then '划点程序Set p = Map1.ToMapPoint(X, Y)pts.Add pMap1.TrackingLayer.Refresh TrueIf flagline = 1 ThenDim p1 As PointSet p1 = Map1.ToMapPoint(X, Y)pts1.Add p1If pts1.Count = 1 Theng_line.Parts.Add pts1Set pts1 = g_line.Parts(0)End IfMap1.TrackingLayer.Refresh TrueEnd IfIf juxing = 1 ThenSet retenglej = Map1.TrackRectangleMap1.TrackingLayer.Refresh TrueEnd IfIf flagduo = 1 ThenSet ployxing = Map1.TrackPolygonMap1.TrackingLayer.Refresh TrueEnd Ifout:End SubPrivate Sub Map1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) Dim dian2 As New MapObjects2.PointSet dian2 = Map1.ToMapPoint(X, Y)StatusBar1.Panels(2).Text = "x=" & dian2.XStatusBar1.Panels(3).Text = "y=" & dian2.YEnd SubPrivate Sub Map1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)If Button = 2 ThenPopupMenu TANCHUEnd IfEnd SubPrivate Sub Map2_AfterTrackingLayerDraw(ByVal hDC As stdole.OLE_HANDLE)Dim sym As New MapObjects2.Symbolsym.OutlineColor = moRedsym.Size = 2sym.Style = moTransparentFillMap2.DrawShape Map1.Extent, symEnd SubPrivate Sub Map2_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) Map1.Extent = Map2.TrackRectangleEnd SubPrivate Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button) If Toolbar1.Buttons(1).V alue = tbrPressed ThenMap1.MousePointer = moPanflag = 1End IfIf Toolbar1.Buttons(2).Value = tbrPressed ThenMap1.MousePointer = moZoomInflag = 2End IfIf Toolbar1.Buttons(3).Value = tbrPressed ThenMap1.MousePointer = moZoomOutflag = 3End IfEnd SubPrivate Sub TUICHUXITONG_Click()EndEnd SubPrivate Sub TUICHUZHIZHENG_Click()Map1.MousePointer = moArrowToolbar1.Buttons(1).Value = tbrUnpressedToolbar1.Buttons(2).Value = tbrUnpressedToolbar1.Buttons(3).Value = tbrUnpressedflag = -1End SubPrivate Sub YUZAI_Click()On Error GoTo outi = InputBox("请输入图层索引号", "输入")yers.Remove Val(i)yers.Remove Val(i)out:End SubPrivate Sub YUZAIW_Click()On Error GoTo outyers.Clearyers.Clearlegend1.setMapSource Map1 legend1.LoadLegend True out:End Sub。

MapGis自动转换苍穹代码模板6.7

MapGis自动转换苍穹代码模板6.7
POINT,3120,51200000,YSDM,点状地形,
POINT,3121,51200000,YSDM,点状地形,
POINT,3122,51200000,YSDM,点状地形,
POINT,3123,51201000,YSDM,点状地形,
POINT,3124,51202000,YSDM,点状地形,
LINE,2210,42111001,YSDM,线状地形,
POINT,2211,42112100,YSDM,点状地形,
POINT,2212,42114100,YSDM,点状地形,
LINE,2220,42113030,YSDM,面状地形,
LINE,2230,42121000,YSDM,面状地形,
LINE,3230,52301000,YSDM,线状地形,
LINE,3231,52302000,YSDM,线状地形,
LINE,3232,52303000,YSDM,线状地形,
POINT,3242,52403000,YSDM,点状地形,
POINT,3243,52404000,YSDM,点状地形,
POINT,3147,51502000,YSDM,点状地形,
POINT,3160,51600000,YSDM,点状地形,
POINT,3170,51700000,YSDM,点状地形,
LINE,3180,51800001,YSDM,线状地形,
LINE,3181,51800000,YSDM,线状地形,
POINT,3134,51206000,YSDM,点状地形,
POINT,3135,51905000,YSDM,点状地形,
POINT,3136,51906000,YSDM,点状地形,

GIS系统线路代码简表

GIS系统线路代码简表
宝成线,"0057D,0057U",复线,668705,"成都,西安,"
渝怀线,0058S,单线,620140,"成都,广州,"
宝中线,0061S,单线,699645,"兰州,西安,"
符夹线,0063S,单线,86150,"上海,"
漳龙线,0067S,单线,372000,"南昌,广州,"
湘桂线,"0071D,0071U",复线,1020900,"南宁,广州,"
铁法线,0233S,单线,22550,"沈阳,"
于虎线,"0234D,0234U",复线,21350,"沈阳,"
苏抚线,"0235D,0235U",复线,53800,"沈阳,"
辽溪线,"0236D,0236U",复线,68510,"沈阳,"
溪田线,0237S,单线,74561,"沈阳,"
沈丹线,"0238D,0238U",复线,253341,"沈阳,"
南甘线,"0246D,0246U",复线,11360,"沈阳,"
旅顺线,0247S,单线,50200,"沈阳,"
大郑线,"0261D,0261U",复线,366999,"沈阳,"
高新线,0262S,单线,59059,"沈阳,"
新义线,0263S,单线,131297,"沈阳,"
北票线,0264S,单线,17015,"沈阳,"

地类编码对照表

地类编码对照表

地类编码对照表地类编码对照表是用于标识和分类地表覆盖类型的一种工具。

它将地表覆盖类型进行编码,并提供了对照表,使人们可以快速准确地理解每个编码所代表的地表特征。

地类编码对照表在地理信息系统(GIS)和土地利用规划等领域中被广泛使用。

地类编码对照表的设计和使用旨在统一和系统地描述和分类地表覆盖类型。

通过给每个地表覆盖类型分配一个唯一的编码,地类编码对照表使得不同用户在不同地理位置之间可以共享和交换地表覆盖信息。

这样,地表覆盖类型不同的地方在进行数据交流和分析时就可以得到一致和可比的结果。

地类编码对照表一般包括两个主要部分:编码和对照表。

编码通常由数字和字母组成,每个编码代表一种地表覆盖类型。

对照表则提供了每个编码所代表的地表特征的详细说明。

对照表中的信息可以包括地表覆盖类型的名称、定义、特征描述、典型的出现条件、相关示例等。

通过对照表,用户可以快速了解和理解每个地表覆盖类型所代表的含义和特征。

地类编码对照表的使用可以帮助用户更好地理解和分析地表覆盖数据。

例如,在一个土地利用规划项目中,可以使用地类编码对照表对不同地块的地表覆盖类型进行编码和分类。

这样,不同的地表覆盖类型就可以被统一标识和描述,便于进一步的数据分析和决策支持。

地类编码对照表的制定需要考虑到地理环境的多样性和变化性。

不同地区的地表覆盖类型可能会有差异,因此,在制定地类编码对照表时需要考虑到这些差异,以保证地表覆盖类型的描述和分类是准确和有效的。

地类编码对照表的设计还需要考虑到扩展性和更新性。

由于地表覆盖类型可能会随着时间的推移而发生变化,所以地类编码对照表应该具备扩展性和更新性,以便可以适应新的地表覆盖类型的出现和描述。

总之,地类编码对照表是一种用于标识和分类地表覆盖类型的工具。

它可以帮助用户统一和系统地描述和理解地表覆盖数据,便于数据交流和分析。

地类编码对照表的设计和使用需要考虑到地理环境的差异性和变化性,并具备扩展性和更新性。

通过使用地类编码对照表,可以更好地利用地表覆盖数据进行土地利用规划、资源管理、环境保护等工作,提高决策的准确性和效率。

基础地理信息要素分类与代码(文字版)

基础地理信息要素分类与代码(文字版)

基础地理信息要素分类与代码(文字版)100000定位基础110000测量控制点110100平面控制点110101大地原点110102三角点110103图根点110200高程控制点110201水准原点110202水准点110300卫星定位控制点110301卫星定位连续运行站点110302卫星定位等级点110400其他测量控制点110401重力点110402独立天文点119000测量控制点注记120000数学基础120100内图廓线120200坐标网线120300经线120400纬线120401北回归线200000水系210100常年河210101地面河流210102地下河段210103地下河段出入口210104消失河段210200时令河210300干涸河(干河床) 210301河道干河210302漫流干河219000河流注记220000沟渠220100运河220200干渠220201地面干渠220202高于地面干渠220300支渠220301地面支渠220302高于地面支渠220303地下渠220304地下渠出水口220400坎儿井220500渠首220600输水渡槽220700输水隧道220800倒虹吸220900涵洞221000干沟229000沟渠注记230000湖泊230100常年湖、塘230101湖泊230102池塘230200时令湖230300干涸湖239000湖泊注记240000水库240100库区240101水库240102建筑中水库240200溢洪道240300泄洪洞、出水口249000水库注记250000海洋要素250100海域250200海岸线250300干出线250400干出滩、滩涂250401沙滩250402沙砾滩、砾石滩250403岩石滩250404珊瑚滩250405淤泥滩250406沙泥滩250407红树林滩250408贝类养殖滩250409狭窄干出滩250410干出滩中河道250411潮水沟250500危险区250501危险岸K 250502危险海区250600礁石250601明礁250602暗礁250603干出礁250604适淹礁250700海岛259000海洋要素注记260000其他水系要素260100水系交汇处260200河、湖岛260300沙洲260400高水界260500岸滩260600水中滩260700泉260800水井260900地热井261000贮水池、水窖261100瀑布、跌水261200沼泽、湿地261201能通行261202不能通行261300流向261301河流流向261302沟渠流向261303潮汐流向261304海流流向269000其他水系要素注记270000水利及附属设施270100堤270101干堤270102一般堤270200闸270201水闸270202船闸270300扬水站270400行、蓄、滞洪区270500滚水坝270600拦水坝270700制水坝270800加固岸270801有防洪墙270802无防洪墙270900水利及附属设施注记300000居民地及设施310000居民地310100城镇、村庄310101首都310102特别行政区310103省级城市310104地级城市310105县级城镇310106乡、镇310107行政村310108自然村310109农林牧渔单位310200街区310300单幢房屋、普通房屋310301建成房屋310302建筑中房屋310400突出房屋310500高层房屋310600棚房310700破坏房屋310800架空房310900廊房311000其他房屋311001地面窑洞311002地下窑洞311003蒙古包、放牧点311100行政机构位置标识311101国务院311102省级政府311103地级政府311104县级政府311105乡级政府311106村委会319000居民地注记320000工矿及其设施320100工矿企业320101发电厂(站)320102水厂320103污水处理厂320200矿井320201竖井井口320202斜井井口320203平峒洞口320300露天采掘场320400乱掘地320500管道井(油、气) 320600盐井320700废弃矿井320800海上平台320900地质勘探设施320901探井320902探槽320903钻孔321000液、气贮存设备321100工业塔形、塔类建筑321101散热塔321102蒸馏塔321103瞭望塔321104水塔321105水塔烟囪321106烟囱321107烟道321108放空火炬321200盐田、盐场321300窑321400露天设备321500装卸设备321501传送带321502起重机321503吊车321504装卸漏斗321505滑槽321506地磅321600露天货栈329000工矿及其设施注记330000农业及其设施330100排灌设施330101抽水站330200饲养场330300水产养殖场330400温室、大棚330500粮仓(库)330600附属设施330601水磨房、水车330602风磨房、风车330603打谷场330604贮草场330605药浴池330606积肥池339000农业及其设施注记340000公共服务及其设施340100文教卫生340101学校340102医院340103馆340200商业设施340201宾馆、饭店340202超市340300休闲娱乐、景区340301游乐场340302公园340303陵园340304动物园340305植物园340306剧场、电影院340400体育340401露天体育场340402高尔夫球场340403体育馆340404游泳场、池340405跳伞塔340406露天舞台340500公共传媒与通信340501电视台340502电信局340503邮局340504电视发射塔340505移动通信塔340506微波塔340600环卫设施340601厕所340602垃圾台(场)340700殡葬设施340701公墓340702坟地340703独立大坟340704殡葬场所349000公共服务及其设施注记350000名胜古迹350100古迹、遗址350101烽火台350200碑、像、坊、褛、亭350201纪念碑、柱、墩350202北回归线标志塔350203牌楼、牌坊、彩门350204钟鼓褛、城褛、古关塞350205亭350206文物碑石350207旗杆 .350208塑像359000名胜古迹注记360000宗教设施360100庙宇360200清真寺360300教堂360400宝塔、经塔360500敖包、经堆369000宗教设施注记370000科学观测站370100科学观测台(站)370101气象站370102水文站370103地震站370104天文台370105环保监测站370200卫星地面站370300科学试验站379000科学观测站注记380000其他建筑物及其设施380100城墙、长城380101砖石城墙(完好)380102砖石&墙(破坏)380103土城墙380200垣栅380201围墙380202栅栏380203篱笆380204活树篱笆380205铁丝网、电网380300地下建筑物380301出入口380302天窗380303通风口380400建筑附属设施380401柱廊380402门顶380403阳台380404台阶380405室外楼梯380406院门380407门墩380408支柱、墩380500街道设施380501路灯380502照射灯380503岗亭、岗楼380504宣传橱窗、广告牌380505喷水池380506假石山380600避雷针389000其他建筑物及其设施注记400000交通410000铁路410100标准轨铁路410101单线标准轨410102复线标准轨410103建筑中铁路410200窄轨铁路410201单线窄轨410202复线窄轨410300车站及附属设施410301火车站410302机车转盘410303车挡410304信号灯柱410305站线410306水鹤410307站台419000铁路注记420000城际公路420100国道420101建成420102建筑中420200省道420201建成420202建筑中420300县道420301建成420302建筑中420400乡道420500专周公路420600匝道(连接道、交换道)420700公路控制点420701高速路人口420702高速路出口420703髙速公路临时停车点429000城际公路注记430000城市道路430100轨道交通430101地铁430102轻轨430103有轨电车430200快速路430300髙架路430400引道430500街道430501主干道430502次干道430503支线430600内部道路430700阶梯路439000城市道路注记440000乡村道路440100机耕路(大路)440200乡村路440300小路440400时令路440500山隘440600栈道449000乡村道路注记450000道路构造物及附属设施450100服务设施450101地铁站450102轻轨站450103长途汽车站450104加油(气)站450105停车场450106收费站450200门洞、下跨道450300车行桥450301单层桥450302双层桥450303并行桥450304引桥450400桥墩、柱450500人行桥450501过街天桥450502人行桥450503缆索桥450504级面桥、人行拱桥450505亭桥、廊桥450506溜索桥450507栈桥450600隧道450601火车隧道450602汽车隧道450700明峒450800地下人行通道450900道路交汇处451000公路标志451001中国公路零公里标志451002路标451003里程碑459000道路构造物及附属设施注记460000水运设施460100船码头460101水运港客运站460102固定顺岸码头460103固定堤坝码头460104栈桥式码头460105浮码头460106干船坞460200防波堤460300停泊场460400助航标志460401灯塔460402灯桩460403灯船460404浮标460405岸标、立标460406信号杆460407系船浮筒460408过江管线标460500航行险区460501沉船(露出)460502沉船(淹没)460503急流区域460504旋涡区域460600港口469000水运设施注记470000航道470100通航河段起迄点470200航海线479000航道注记480000空运设施480100机场489000空运设施注记490000其他交通设施490100缆车道490200简易轨道490300架空索道490301索道490302端点、转折点支架490400滑道490500渡口490501火车渡490502汽车渡490503人渡490504汽车徒涉场490505行人徒涉场490506跳墩490507漫水路面490508过河缆499000其他交通设施注记500000管线510000输电线510100高压输电线510101高压输电线(架空线) 510102高压输电线(地下线) 510103高压输电线(入地口) 510200配电线510201配电线(架空线) 510202配电线(地下线) 510203配电线(入地口) 510300附属设施510301电杆510302电线架510303电线架(铁塔)510304电缆标510305检修井孔510400变电设备510401变电站(所)510402变压器519000输电线注记520000通信线520100陆地通信线520101陆地通信线(地上) 520102陆地通信线(地下)520103陆地通信线(入地口) 520104电缆标520105检修井孔520200海底光缆529000通信线注记530000油、气、水输送主管道530100油管道530101油管道(地上管道)530102油管道(地下管道)530103油管道(出入口)530104油管道(架空管道)530200天然气主管道530201天然气主管道(地上管道) 530202天然气主管道(地下管道) 530203天然气主管道(出人口) 530204天然气主管道(架空管道) 530300水主管道530301水主管道(地上管道) 530302水主管道(地下管道) 530303水主管道(出人口)530304水主管道(架空管道) 539000油、气、水输送主管道注记540000城市管线540100不明管线541000电力线541100供电线541200照明线541300电车线542000电信线543000给水管线543001给水管线(地上管线) 543002给水管线(出人口)543003给水管线(架空管线) 543004给水管线(墩架)543005给水管线(检修井)543006水龙头543007消火栓544000排水管线544100雨水管线544101检修井544102雨水篦子544200污水管线544201检查井544300合流管线544301检查井545000燃气管线545100煤气管线545101煤气管线(地上管线) 545102地下管线(出人口)545103煤气管线(架空管线) 545104墩架545105检修井545200天然气管线545201天然气管线(地上管线)545202天然气管线(地下管线出入口) 545203天然气管线(架空管线) 545204墩架545205检修井545300液化气管线545301液化气管线(地上管线) 545302液化气管线(地下管线出入口) 545303液化气管线(架空管线) 545304墩架545305检修井546000热力管线546001热力管线(地上管线)546002热力管线(地下管线出人口) 546003热力管线(架空管线) 546004墩架546005检修井547000工业管线547001工业管线(地上管线)547002工业管线(地下管线出人口) 547003架空管线547004墩架547005检修井548000综合管廊548001检查井549000城市管线注记600000境界与政区610000国外地匡610100国外区域610200国界线619000国外地区注记620000国家行政区620100行政区域620200国界线620201已定界620202未定界620300界桩、界碑629000国家行政区注记630000省级行政区630100行政区域630200行政区界线630201已定界630202未定界630300界桩、界碑639000省级政区注记640000地级行政区640100行政区域640200行政区界线640201已定界640202未定界640300界桩、界碑649000地级政区注记650000县级行政区650100行政区域650200行政区界线650201已定界650202未定界650300界桩、界碑659000县级行政区注记660000乡级行政区660100行政区域660200行政区界线660201已定界660202未定界660300界桩、界碑669000乡级行政区注记670000其他区域670100自然、文化区670101自然、文化保护区域670102自然、文化保护区界670200特殊地区670201特殊地区区域670202特殊地区界线670300国有农场、林场、牧场区670301国有农场、林场、牧场区域670302国有农场、林场、牧场界线670400开发区、保税区670401开发区、保税区域670402开发区、保税界线670500村界670501已定界670502未定界670503界桩、界碑679000其他区域注记700000地貌710000等高线710100等高线710101首曲线710102计曲线710103间曲线710104助曲线710200草绘等高线710201首曲线710202计曲线710300雪山等高线710301首曲线710302计曲线710400示坡线719000等高线注记720000高程注记点720100高程点720200比高点720300特殊高程点730000水域等值线730100水下等高线730101首曲线730102计曲线730103间曲线730104当地平均海水面730200等深线739000水域等值线注记740000水下注记点740100水深点740200水下高程点740300干出高度点750000自然地貌7501峰、柱750101岩峰750102黄土柱750103独立石750104土堆750105石堆750200漏斗750201岩溶漏斗750202黄土漏斗750203坑穴750300山洞、溶洞750400火山口750500沟壑750501冲沟750502地裂缝750600陡崖(坎、岸)750601土质陡崖、土质有滩陡岸750602石质陡崖、石质有滩陡岸750603土质无滩陡岸750604石质无滩陡岸750700陡石山、露岩地750701陡石山750702露岩地750703岩墙750800沙地750801平沙地750802灌丛沙堆750803新月形沙丘750804垄状沙丘750805窝状沙地750806格状沙丘750807金子塔状沙丘750900雪山 .750901粒雪原750902冰川750903冰裂隙750904冰陡崖750905冰碛750906冰塔750907雪域范围线751000地质灾害地貌751001沙土崩崖751002石崩崖751003滑坡751004泥石流751005熔岩流759000自然地貌注记760000人工地貌760100斜坡760101未加固760102已加固760200田坎、路堑、沟堑、路堤760201未加固760202已加固760300垄760301石垄760302土垄769000人工地貌注记800000植被与土质810000农林用地810100地类界810200田埂810300耕地810301稻田810302旱地810303菜地810304水生作物地810305台田、条田810400园地810401果园810402桑园810403茶园810404橡胶园810405其他园地810500林地810501成林810502幼林810503灌木林810504竹林810505疏林810506迹地810507苗圃810508防火带810509零星树木810510行树810511独立树810512独立树丛810513特殊树810600天然草地810601高草地(芦苇地)810602草地810603半荒草地810604荒草地819000农林用地注记820000城市绿地820100人工绿地820200花圃花坛820300带状绿化树829000城市绿地注记830000土质830100盐碱地830200小草丘地830300裸土地830301龟裂地830302白板地830400石砾地830401沙砾地、戈壁滩830402石块地830403残丘地839000土质注记。

ArcGIS(拓扑编码、链码、游程长度编码)

ArcGIS(拓扑编码、链码、游程长度编码)

3、游程长度编码
• 游程编码结构
游程编码(Run Length Code)是对有块状地物 (多边形)的栅格数据进行压缩编码。
游程:栅格矩阵一行内相邻同值栅格的数量。游程 编码结构是在栅格数据矩阵中,逐行将相邻同值栅格 合并,并记录合并后栅格的值及合并栅格的长度。目 的是压缩栅格数据量,消除数据冗余。
3、游程长度编码
逐个记录各行(或列)代码发生变化的位置和相应代码。
02255555 22222555 22223355 00233355 00333353
00033333 00003333 00000333
沿列方向进行编码:( 1,0),
(2,2),(4,0);(1,2), (4,0);(1,2),(5,3), (6,0);(1,5),(2,2), (4,3),(7,0);(1,5), (2,2),(3,3),(8,0); (1,5),(3,3);(1,5), (6,3);(1,5),(5,3)。
1
24 25
26
1623ຫໍສະໝຸດ 29817
7
22 C(x24,y24),(x25,y25),(x26,y26),(x27,y27),(x28,y28 21 ),(x29,y29),(x30,y30) ,(x31,y31), (x24,y24)
6
20
3
5
18
19
4
D(x19,y19),(x20,y20),(x21,y21),(x22,y22),(x23,y23
02255555 22222555 22223355 00233355 00333353
00033333 00003333 00000333
沿行方向进行编码:( 0,1),
(2,2),(5,5);(2,5), (5,3);(2,4),(3,2), (5,2);(0,2),(2,1), (3,3),(5,2);(0,2), (3,4),(5,1),(3,1); (0,3),(3,5);(0,4), (3,4);(0,5),(3,3)。

ArcGIS Server 中画点、线、多边形、圆等的重要代码

ArcGIS Server 中画点、线、多边形、圆等的重要代码

public void ServerAction(ESRI.ArcGIS.ADF.Web.UI.WebCo ntrols.ToolEventArgs args){ESRI.ArcGIS.ADF.Web.UI.WebControls.Map adfMap = (ESRI.ArcGIS.ADF.Web.UI.WebControls.Map)args.Contro l;}1、点PointEventArgs pointEventArgs = (PointEventArgs)args; System.Drawing.Point screenPoint = pointEventArgs.ScreenPoint;//屏幕坐标转成地理坐标ESRI.ArcGIS.ADF.Web.Geometry.Point adfPoint = ESRI.ArcGIS.AD F.Web.Geometry.Point.ToMapPoint(screenPoint.X, screenPoint.Y, ad fMap.GetTransformationParams(ESRI.ArcGIS.ADF.Web.Geometry.Tr ansformationDirection.ToMap));2、线LineEventArgs lineEventArgs = (LineEventArgs)args;//屏幕点//屏幕坐标转成地理坐标ESRI.ArcGIS.ADF.Web.Geometry.Point adfPoint1 = ESRI.ArcGIS.A DF.Web.Geometry.Point.ToMapPoint(lineEventArgs.BeginPoint.X, lin eEventArgs.BeginPoint.Y, adfMap.GetTransformationParams(ESRI.A rcGIS.ADF.Web.Geometry.TransformationDirection.ToMap));//屏幕坐标转成地理坐标ESRI.ArcGIS.ADF.Web.Geometry.Point adfPoint2 = ESRI.ArcGIS.A DF.Web.Geometry.Point.ToMapPoint(lineEventArgs.EndPoint.X, line EventArgs.EndPoint.Y, adfMap.GetTransformationParams(ESRI.ArcG IS.ADF.Web.Geometry.TransformationDirection.ToMap));ESRI.ArcGIS.ADF.Web.Geometry.Path pa=new ESRI.ArcGIS.ADF. Web.Geometry.Path();pa.Points.Add(adfPoint1);pa.Points.Add(adfPoint2);ESRI.ArcGIS.ADF.Web.Geometry.Polyline Line = new ESRI.ArcGI S.ADF.Web.Geometry.Polyline();Line.Paths.Add(pa);3、多义线PolylineEventArgs lineEventArgs = (PolylineEventArgs)args;ESRI.ArcGIS.ADF.Web.Geometry.Path pa = new ESRI.ArcGIS.A DF.Web.Geometry.Path();for (int i = 0; i <= lineEventArgs.Vectors.Length - 1; i++){ ESRI.ArcGIS.ADF.Web.Geometry.Point point = ESRI.ArcGIS. ADF.Web.Geometry.Point.ToMapPoint(lineEventArgs.Vectors[i].X, li neEventArgs.Vectors[i].Y, adfMap.GetTransformationParams(ESRI.A rcGIS.ADF.Web.Geometry.TransformationDirection.ToMap));pa.Points.Add(point);}ESRI.ArcGIS.ADF.Web.Geometry.Polyline Line = new ESRI.ArcGIS. ADF.Web.Geometry.Polyline();Line.Paths.Add(pa);4、多边形PolygonEventArgs polygonEventArgs = (PolygonEventArgs)args;ESRI.ArcGIS.ADF.Web.Geometry.Ring points = new ESRI.ArcGIS. ADF.Web.Geometry.Ring();for (int i = 0; i <= polygonEventArgs.Vectors.Length - 1; i++) { ESRI.ArcGIS.ADF.Web.Geometry.Point point = ESRI.Arc GIS.ADF.Web.Geometry.Point.ToMapPoint(polygonEventArgs.Vector s[i].X, polygonEventArgs.Vectors[i].Y, adfMap.GetTransformationPa rams(ESRI.ArcGIS.ADF.Web.Geometry.TransformationDirection.ToM ap));points.Points.Add(point);}ESRI.ArcGIS.ADF.Web.Geometry.Polygon polygon = new ESRI. ArcGIS.ADF.Web.Geometry.Polygon();polygon.Rings.Add(points);5、圆CircleEventArgs circleEventArgs = (CircleEventArgs)args;ESRI.ArcGIS.ADF.Web.Geometry.PointCollection pc = new ESRI. ArcGIS.ADF.Web.Geometry.PointCollection();double degree;double rad = circleEventArgs.Radius;for (int i = 0; i < 359; i++){degree = i * (Math.PI / 180);double x = circleEventArgs.CenterPoint.X + Math.Cos(degree) * rad;double y = circleEventArgs.CenterPoint.Y + Math.Sin(degr ee) * rad;ESRI.ArcGIS.ADF.Web.Geometry.Point nPoint = ESRI.ArcGIS.A DF.Web.Geometry.Point.ToMapPoint((int)Math.Round(x),(int)Math.R ound(y), adfMap.GetTransformationParams(ESRI.ArcGIS.ADF.Web. Geometry.TransformationDirection.ToMap));pc.Add(nPoint);}ESRI.ArcGIS.ADF.Web.Geometry.Ring ring = new ESRI.ArcGIS. ADF.Web.Geometry.Ring();ring.Points = pc;ESRI.ArcGIS.ADF.Web.Geometry.RingCollection rings = new ESR I.ArcGIS.ADF.Web.Geometry.RingCollection();rings.Add(ring);ESRI.ArcGIS.ADF.Web.Geometry.Polygon polygon = new ESRI.A rcGIS.ADF.Web.Geometry.Polygon();polygon.Rings = rings;6、矩形RectangleEventArgs rectargs = (RectangleEventArgs)args;System.Drawing.Rectangle myrect = rectargs.ScreenExtent;//矩形左下定点坐标转换成地理坐标ESRI.ArcGIS.ADF.Web.Geometry.Point minpnt = ESRI.ArcGIS.ADF. Web.Geometry.Point.ToMapPoint(myrect.Left, myrect.Bottom, adfM ap.GetTransformationParams(ESRI.ArcGIS.ADF.Web.Geometry.Tran sformationDirection.ToMap));//矩形右上定点坐标转换成地理坐标ESRI.ArcGIS.ADF.Web.Geometry.Point maxpnt = ESRI.ArcGIS.ADF.Web.Geometry.Point.ToMapPoint(myrect.Right, myrect.Top, adfM ap.GetTransformationParams(ESRI.ArcGIS.ADF.Web.Geometry.Tran sformationDirection.ToMap))ESRI.ArcGIS.ADF.Web.Geometry.Envelope mappoly = new ESRI.A rcGIS.ADF.Web.Geometry.Envelope(minpnt, maxpnt);。

地理信息系统代码

地理信息系统代码

地理信息系统代码Form1.cs:private void axTOCControl1_OnMouseDown(object sender, ESRI.ArcGIS.Controls.ITOCControlEvents_OnMouseDownEve nt e){//鼠标单击事件—右键菜单的代码实现if (e.button == 2){IBasicMap map = null;ILayer layer = null;System.Object other = null;System.Object index = null;esriTOCControlItem item =esriTOCControlItem.esriTOCControlItemNone;axTOCControl1.HitTest(e.x, e.y, ref item, ref map, ref layer, ref other, ref index);if (item == esriTOCControlItem.esriTOCControlItemLayer){//选中layer的情况HitLayer = layer;contextMenuStrip1.Show(axTOCControl1, e.x, e.y);HitLayer = layer;}else if (item == esriTOCControlItem.esriTOCControlItemMap) {//选中Map的情况contextMenuStrip3.Show(axTOCControl1, e.x, e.y);HitMap = map as IMap;}}}private void删除ToolStripMenuItem_Click(object sender, EventArgs e) {if (SelectedLayer_TOC != null){axMapControl1.Map.DeleteLayer(SelectedLayer_TOC);axMapControl2.Map.DeleteLayer(SelectedLayer_TOC);SelectedLayer_TOC = null;}}private void添加数据ToolStripMenuItem_Click(object sender, EventArgs e){OpenFileDialog OpenShapeDlg = new OpenFileDialog();OpenShapeDlg.Filter = "shp files (*.shp)|*.shp";OpenShapeDlg.FilterIndex = 1;OpenShapeDlg.RestoreDirectory = true;if (OpenShapeDlg.ShowDialog() == DialogResult.OK){string strWorkspace =System.IO.Path.GetDirectoryName(OpenShapeDlg.FileName );string strLayerName =System.IO.Path.GetFileNameWithoutExtension(OpenShapeD lg.FileName);IWorkspaceFactory wsFactory = new ShapefileWorkspaceFactory();IWorkspace shpWorkspace = wsFactory.OpenFromFile(strWorkspace, 0);if (shpWorkspace != null){IEnumDataset shpDatasets =shpWorkspace.get_Datasets(esriDatasetType.esriDTFeatureC lass);shpDatasets.Reset();IDataset shpDataset = shpDatasets.Next();while (shpDataset != null){if (/doc/4b7118718.html, == strLayerName){IFeatureLayer newLayer = new FeatureLayerClass();newLayer.FeatureClass = shpDataset as IFeatureClass;/doc/4b7118718.html, = strLayerName;axMapControl1.Map.AddLayer(newLayer);axMapControl2.Map.AddLayer(newLayer);break;}shpDataset = shpDatasets.Next();}}}}private void打开属性表ToolStripMenuItem_Click(object sender, EventArgs e) {LayerAttrib AttribData = new LayerAttrib();AttribData.Show();AttribData.ShowFeatureLayerAttrib(HitLayer as IFeatureLayer);HitLayer = null;}}LayerAttrib.csusing System;using System.Collections.Generic;using/doc/4b7118718.html,ponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using ESRI.ArcGIS.Carto;using ESRI.ArcGIS.Geodatabase;namespace MyGISProgress{public partial class LayerAttrib : Form{public LayerAttrib(){InitializeComponent();}public void ShowFeatureLayerAttrib(IFeatureLayer SelectedLayer_TOC){ //属性表的显示实现函数if (SelectedLayer_TOC != null){axMapControlq.ClearLayers();axMapControlq.AddLayer(SelectedLayer_TOC);//创建一个表对象DataTable FeatureTable = new DataTable(SelectedLayer_/doc/4b7118718 .html,);IFeatureClass fcLayer = SelectedLayer_TOC.FeatureClass;int nFieldCount = fcLayer.Fields.FieldCount;for (int i = 0; i < nFieldCount; i++)//遍历循环{DataColumn Field = new DataColumn();Field.ColumnName = fcLayer.Fields.get_Field(i).Name;switch (fcLayer.Fields.get_Field(i).Type){//相关字段的值类型case esriFieldType.esriFieldTypeOID:Field.DataType = System.Type.GetType("System.String"); break;case esriFieldType.esriFieldTypeGeometry:Field.DataType = System.Type.GetType("System.String"); break;case esriFieldType.esriFieldTypeInteger:Field.DataType = System.Type.GetType("System.Int32");break;case esriFieldType.esriFieldTypeSingle:Field.DataType = System.Type.GetType("Syste.Int32");break;case esriFieldType.esriFieldTypeSmallInteger:Field.DataType = System.Type.GetType("System.Int32"); break;case esriFieldType.esriFieldTypeString:Field.DataType = System.Type.GetType("System.String");break;case esriFieldType.esriFieldTypeDouble:Field.DataType = System.Type.GetType("System.Double");break; }FeatureTable.Columns.Add(Field);}//将要显示的信息在dataGridView1中显示出来dataGridView1.DataSource = FeatureTable;}else{dataGridView1.Columns.Clear();}}}}。

基础地理信息数据分类与代码

基础地理信息数据分类与代码
主要堤
24041
内侧堤顶
24042
外侧堤顶「
24043
内侧堤坡脚线
24044
外侧堤坡脚线
24050
般堤
24060
水闸
24061
能通车的水闸
24062
不能通车的水闸
24070
滚水坝
24080
拦水坝
24081
内侧坡顶
24082
外侧坡顶
24083
内侧坝坡脚线
24084
外侧坝坡脚线
24090
防波堤、制水坝
24100
埋石图根点
20000
水系
21000
河流
21010
常年河
21011
单线常年河
21012
双线常年河左岸
21013
双线常年河右岸
21020
时令河
21021
单线时令河
21022
双线时令河左岸
21023
双线时令河右岸
21030
消失河段「
21031
单线消失河段
21032
双线消失河段左岸
21033
双线消失河段右岸
等高线
71010
实测等高线
71020
草绘等高线
72000
高程
72010
高程点
72020
特殊高程点
72021
最大洪水位咼程点
72022
最大潮位高程点
72023
溢洪道口底面咼程点
72024
坝顶高程点
72025
堤顶咼程点
72026
井口高程点
72027
水位点
72028
桥面咼程点

ARCGIS最短路径 VB代码

ARCGIS最短路径 VB代码

目录摘要 (4)Abstract (4)第一章绪论 (5)1.1选题背景及发展现状 (5)1.2选题目的及意义 (6)1.3研究内容 (6)第二章软件介绍 (7)2.1Microsoft Visual Basic软件介绍 (7)2.2ArcEngine软件介绍 (8)第三章网络分析基础 (10)3.1网络数据集的概念 (10)3.2网络数据集的建立 (10)3.2.1数据准备 (10)3.2.2工作空间的选择 (10)3.2.3设置网络数据源 (11)3.2.4连通性建模 (11)3.2.5定义网络属性并赋值 (11)3.2.6注意事项 (11)3.3程序编译环境 (12)3.3.2添加必要的控件 (12)3.3.3加载相关类库 (13)3.4最短路径分析原理 (14)3.4.1概述: (14)3.4.2Dijkstra算法求最短路径 (14)3.4.3A*(A Star)算法 (15)3.5相关类与接口 (18)3.5.1相关类说明 (18)3.5.2相关接口说明 (18)第四章最短路径分析的实现 (19)4.1程序初始化及打开工作空间并加载网络数据集 (19)4.1.2打开工作空间 (19)4.1.3加载网络数据集 (19)4.2创建网络分析上下文对象NAContext和网络分析决策对象NASlover (20)4.3加载位置点并创建最短路径图层..................错误!未定义书签。

14.3.1加载位置点.............................................错误!未定义书签。

14.3.2点击查询.................................................错误!未定义书签。

24.3.3名称查询.................................................错误!未定义书签。

局信息系统GIS数据库(控规类)

局信息系统GIS数据库(控规类)
2.1.30.规划控制线-轨道交通线(Control_Orbit_Line)15
2.1.31.规划控制线-轨道交通注记(Control_Orbit_Label)16
2.1.32.规划控制线-轨道交通线装饰(Control_Orbit_Adorn)16
2.1.33.规划控制线-文物保护面(Control_Relic_Area)16
2.1.50.规划控制线-装饰层(Control_Line_Adorn)22
2.1.51.规划控制线-其他控制面(Control_Line_OtherArea)22
2.1.52.规划控制线-问题面(Control_Problem_Area)22
2.2.设施库(附属设施)22
2.2.1.设施库(DeviceLib)22
附录3:控制性详细规划数据字典
(ESRI公司的SHP格式)
1.
1.1
NO
中文表名
英文表名
说明
1
控规地块
Control_LandUse_Block
2
地块注记
Control_LandUse_Label
3
地块装饰层
Control_LandUse_Adorn
1.2
NO
中文表名
英文表名
说明
1
道路中线
Control_Road_Center
2.1.2.土地利用控制规划-地块注记(Control_LandUse_Label)6
2.1.3.土地利用控制规划-地块装饰层(Control_LandUse_Adorn)7
2.1.4.道路工程规划-道路中线(Control_Road_Center)7
2.1.5.道路工程规划-道路中线注记(Control_Road_Center_Label)7

基础地理信息要素分类和代码

基础地理信息要素分类和代码
依比例尺突出房屋

resnt
310500
3105001
不依比例尺高层房屋
有向点
respt
310500
3105002
半依比例尺高层房屋
线
resnt
310500
3105003
依比例尺高层房屋

resnt
310600
3106001
不依比例尺棚房
有向点
respt
310600
3106003
依比例尺棚房

resnt
独立天文点

conpt
110900
1109001
测量控制点注记

anolk
120000
1200000
数学基础
120100
1201002
内图廓线
线
netln
120200
1202002
坐标网线
线
netln
200000
2000000
水系
210000
2100000
河流
210101
2101012
单线地面河流
线

respt
311106
3111061
村委会位置标识

respt
319102
3191021
省级政府驻地名称

annlk
319103
3191031
地级政府驻地名称

annlk
319104
3191041
县级政府驻地名称

annlk
319105
3191051
乡镇,国有农场、林场等名称

annlk

GIS地物要素编码表

GIS地物要素编码表

商业社会服务
3103
休闲娱乐场所
1300
文化艺术机构
1500
医疗机构
1700
观光景点
1600
乡 镇 政 府 以 上 驻 3104

自 然 村 及 住 宅 小 2204

交通设施
2000
商店超市
1400
餐饮
1100
宾馆住宿1200源自学校1510大厦
1901
单线河
210000
单线沟渠
220000
双线河流
210000
420101 420201 420301 420600
420801
420900
430200 430300 430400 430501 430502
植被
ROA_S
FAC_CL TRA_L
道路面
交通附属设施中心线 交通附属设施边线线
支线边线 内部道路边线 国道道路面 省道道路面 县道道路面 匝道(连接道、交 换道)面 高速公路高速公 路面 其他公路路面 快速路面 高架路路面 引道面 主干道面 次干道面 支线面 内部道路面 车行桥中心线 铁路桥中心线 栈桥(中心线) 火车隧道中心线 汽车隧道中心线 车行桥边线 栈桥边线 铁路桥边线 火车隧道边线 汽车隧道边线 停车场 依比例尺收费站 高速公路服务区 地铁站
410104 420101 420201 420301
420600
420801 420900 430200 430300 430400 430501 430502 430503 430600
小路
440300
国道路面边线 省道路面边线 县道路面边线 匝道(连接道、交 换道)路面边线 高速公路路面边 线 其他公路路面边 线 快速路路边线 高架路路边线 引道边线 主干道边线 次干道边线

arcgis地类编码表格

arcgis地类编码表格

ArcGIS地类编码表格
ArcGIS是一款广泛使用的地理信息系统软件,它提供了强大的分析和可视化工具,用于处理地理数据。

在地类编码方面,ArcGIS提供了一个功能强大的表格,用于对不同地类进行编码和分类。

这个表格通常包括以下列:
1.编码:这是地类的唯一标识符,用于区分不同类型的地类。

编码通常是
数字或字母的组合,可以唯一地表示一种地类。

2.地类名称:这是地类的具体名称,如森林、草地、城市等。

名称应该能
够清晰地表示该地类的特征和属性。

3.描述:这是对地类的详细描述,提供了关于该地类的更多信息。

描述可
以包括该地类的特点、功能、用途等。

4.编码说明:这是对地类编码的说明或解释,提供了关于编码的具体含义
和用途的信息。

这对于理解地类编码和分类非常重要。

使用这个表格,用户可以方便地对不同地类进行编码和分类,以更好地管理和分析地理数据。

通过使用ArcGIS的图表和可视化工具,用户还可以轻松地展示地类编码和分类的结果,并从中获取更多的信息。

总之,ArcGIS地类编码表格是一个非常有用的工具,可以帮助用户更好地管理
和分析地理数据。

通过使用这个表格,用户可以更加方便地进行地类编码和分类,从而更好地理解地理数据的属性和特征。

凯图系统代码表

凯图系统代码表
DLBM
地类代码
111
河流水面
DLBM
地类代码
112
湖泊水面
DLBM
地类代码
113
水库水面
DLBM
地类代码
114
坑塘水面
DLBM
地类代码
115
沿海滩涂
DLBM
地类代码
116
内陆滩涂
DLBM
地类代码
117
沟渠
DLBM
地类代码
118
水工建筑用地
DLBM
地类代码
119
冰川及永久积雪
DLBM
地类代码
121
空闲地
1
解析界址点
2
图解界址点
4
其他
DI_FWSX
DM(代码)
FWSX(房屋属性)
1

2

3

4
西
Pro_Administrate_Code:行政代码表
Project_Code
XZDM(行政代码)
XZMC(行政名称)
ZLDMBZ(座落代码备注)
XZDMJB(行政代码级别)
0001
320900
A县
1
1
0001
业务类型
13
面状地类层
Affair_Type
业务类型
14
集用界址点层
Affair_Type
业务类型
15
集用宗地界址线表
Affair_Type
业务类型
16
集用宗地层
Affair_Type
业务类型
17
建设用地层
Affair_Type
业务类型
21

gis线性0-100

gis线性0-100

gis线性0-100定位:介绍Linear Referencing背景;在ArcMap中关于Linear Referencing的结构和功能;以及ArcGIS Server中几个应用场景的实现。

注:有关更详细的操作可查看在线帮助,或搜索论坛。

什么是Linear ReferencingLinear Referencing(下文引用为LR)翻译过来是线性参考,在公路,管网等行业的GIS应用中时常提到。

LR是一种利用沿着可测量的线要素的相对方位来存储地理位置的方法。

比如下图中:下面线的长度一次标为0,10,20,30,40……,而沿着这条线,我们看到上面有:一个位于坐标12处的点;一个位于坐标10东侧4个坐标的点;一段起始坐标分别为18和26的线段;一段起始坐标为28,长度为12的线段。

为什么要用到LR技术?主要有两个原因:1、很多事件,像上边的例子一样,是通过沿着(曲)线的相对位置来记录的;2、要显示一条线上的多个属性集合时,由于各个属性在(曲)线上所对应的位置不同,同一数据源如果不做处理,很难达到要求。

使用LR技术可解决此问题。

以公路方面的一个应用场景为例说明。

我们要显示一条公路的4种不同属性:道路管辖情况、路面材料、路段限速情况和路况,假设该公路长100公里:1、前40公里为交警2大队管辖,后60公里为交警4大队管辖;2、30至70公里为水泥路面,其余为沥青路面;3、0-20公里的路段限速45km/h,20-40公里的路段限速35km/h,40-70公里路段限速45km/h,70-100公里路段限速55km/h;4、0-20公里路况一般,20-40公里路况很好,40-60公里路况很差,60-100公里路况很好。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
旅顺线,0247S,单线,50200,&quot;沈阳,&quot;
大郑线,&quot;0261D,0261U&quot;,复线,366999,&quot;沈阳,&quot;
高新线,0262S,单线,59059,&quot;沈阳,&quot;
津山线,&quot;0023D,0023U&quot;,复线,303126,&quot;沈阳,北京,&quot;
京包线,&quot;0028D,0028U&quot;,复线,789767,&quot;呼和浩特,北京,太原,&quot;
邯长线,0031S,单线,218700,&quot;郑州,北京,&quot;
营口线,0242S,单线,22003,&quot;沈阳,&quot;
田五线,0243S,单线,58342,&quot;沈阳,&quot;
白老线,0244S,单线,12351,&quot;沈阳,&quot;
金城线,0245S,单线,100169,&quot;沈阳,&quot;
南甘线,&quot;0246D,0246U&quot;,复线,11360,&quot;沈阳,&quot;
伊加线,0106S,单线,211633,&quot;哈尔滨,&quot;
牙林线,0107S,单线,437452,&quot;哈尔滨,&quot;
朝乌线,0108S,单线,75584,&quot;哈尔滨,&quot;
博林线,0109S,单线,125043,&quot;哈尔滨,&quot;
塔韩线,0110S,单线,116911,&quot;哈尔滨,&quot;
鹤岗线,0125S,单线,55826,&quot;哈尔滨,&quot;
鹤北线,0126S,单线,43057,&quot;哈尔滨,&quot;
佳富线,0127S,单线,73475,&quot;哈尔滨,&quot;
汤林线,0128S,单线,256333,&quot;哈尔滨,&quot;
翠峦线,0129S,单线,20900,&quot;哈尔滨,&quot;
龙烟线,0219S,单线,91200,&quot;沈阳,&quot;
沈盘线,0220S,单线,,&quot;沈阳,&quot;
沈大线,&quot;0231D,0231U&quot;,复线,400000,&quot;沈阳,&quot;
开源线,0232S,单线,64600,&quot;沈阳,&quot;
太焦线,&quot;0032D,0032U&quot;,复线,381670,&quot;郑州,太原,&quot;
南同蒲线,&quot;0033D,0033U&quot;,复线,498008,&quot;西安,太原,&quot;
侯西线,0034S,单线,287750,&quot;西安,太原,&quot;
南昆线,0082S,单线,796858,&quot;南宁,昆明,&quot;
成昆线,0085S,单线,1090000,&quot;昆明,成都,&quot;
兰新线,&quot;0086D,0086U&quot;,复线,2360497,&quot;乌鲁木齐,兰州,&quot;
太中线,&quot;0096D,0096U&quot;,复线,708621,&quot;兰州,西安,太原,&quot;
勃七线,0130S,单线,35993,&quot;哈尔滨,&quot;
林密线,&quot;0131D,0131U&quot;,复线,171000,&quot;哈尔滨,&quot;
密东线,0132S,单线,161368,&quot;哈尔滨,&quot;
恒山线,0133S,单线,12912,&quot;哈尔滨,&quot;
城鸡线,0134S,单线,99917,&quot;哈尔滨,&quot;
福前线,0135S,单线,226688,&quot;哈尔滨,&quot;
滨绥线,&quot;0151D,0151U&quot;,复线,552078,&quot;哈尔滨,&quot;
火龙沟,0153S,单线,41937,&quot;哈尔滨,&quot;
北黑线,0122S,单线,63500,&quot;哈尔滨,&quot;
绥佳线,&quot;0123D,0123U&quot;,复线,380500,&quot;哈尔滨,&quot;

冷线,0124S,单线,13200,&quot;哈尔滨,&quot;
漳龙线,0067S,单线,372000,&quot;南昌,广州,&quot;
湘桂线,&quot;0071D,0071U&quot;,复线,1020900,&quot;南宁,广州,&quot;
益湛线,0072S,单线,798685,&quot;南宁,广州,&quot;
黔桂线,0081S,单线,530451,&quot;南宁,成都,&quot;
京九线,&quot;0005D,0005U&quot;,复线,2309278,&quot;南昌,济南,郑州,上海,武汉,北京,广州,&quot;
宁西线,&quot;0006D,0006U&quot;,复线,932660,&quot;郑州,上海,西安,武汉,&quot;
京哈线,&quot;0007D,0007U&quot;,复线,1248000,&quot;沈阳,北京,哈尔滨,&quot;
通让线,0014S,单线,420120,&quot;沈阳,哈尔滨,&quot;
平齐线,&quot;0015D,0015U&quot;,复线,571400,&quot;沈阳,哈尔滨,&quot;
京通线,0021S,单线,804765,&quot;沈阳,北京,&quot;
锦承线,0022S,单线,417770,&quot;沈阳,北京,&quot;
武九线,&quot;0046D,0046U&quot;,复线,241795,&quot;南昌,武汉,&quot;
麻武线,0047S,单线,79936,&quot;武汉,&quot;
襄渝线,&quot;0056D,0056U&quot;,复线,824568,&quot;成都,西安,武汉,&quot;
伊阿线,0181S,单线,185250,&quot;哈尔滨,&quot;
沈吉线,&quot;0201D,0201U&quot;,复线,440190,&quot;沈阳,&quot;
长图线,&quot;0202D,0202U&quot;,复线,529393,&quot;沈阳,&quot;
长白线,0203S,单线,329214,&quot;沈阳,&quot;
宝成线,&quot;0057D,0057U&quot;,复线,668705,&quot;成都,西安,&quot;
渝怀,0058S,单线,620140,&quot;成都,广州,&quot;
宝中线,0061S,单线,699645,&quot;兰州,西安,&quot;
符夹线,0063S,单线,86150,&quot;上海,&quot;
陶舒线,0154S,单线,55000,&quot;沈阳,&quot;
图牡货,0172S,单线,2712,&quot;哈尔滨,&quot;
滨绥货,0173S,单线,6099,&quot;哈尔滨,&quot;
京哈货物,0174S,单线,1590,&quot;哈尔滨,&quot;
牡佳货,&quot;0175D,0175U&quot;,复线,3152,&quot;哈尔滨,&quot;
朝开线,0208S,单线,58357,&quot;沈阳,&quot;
和龙线,0209S,单线,51420,&quot;沈阳,&quot;
龙舒线,0210S,单线,84850,&quot;沈阳,&quot;
龙丰线,0211S,单线,22560,&quot;沈阳,&quot;
烟白线,0212S,单线,115500,&quot;沈阳,&quot;
伊敏线,0111S,单线,76505,&quot;哈尔滨,&quot;
滨绥宽,0115S,单线,5985,&quot;哈尔滨,&quot;
相关文档
最新文档