arcgis中系统如何生产正确的比例尺

arcgis中系统如何生产正确的比例尺,第1张

ArcMap可以用Export Map菜单来将地图输出成其他格式的图片;当需要将悔滑地图在某个特定比例尺下输出时,输出前需要进行配置如下:

1、将数据框的比例尺设置为固定比例尺,如设置为1:20000.

2、切换到Layout视图下;将要输蔽前码出成图片的范围缩放到Layout视图里,Layout中显示的范围和之后得到的图片范围是一致的。

3、添加标题宏哪、指北针、比例尺、图例等要素。

4、添加标题

5、添加指北针

6、添加比例尺

7、添加图例

8、导出打印图片

/// 比例尺

/// <闹信/summary>

/// <param name="sender"液槐轮></param>

/// <param name="e"></param>

private void btnScaleBar_Click(object sender, EventArgs e)

{

AddScalebar(axPageLayoutControl1.PageLayout, axPageLayoutControl1.ActiveView.FocusMap)

}

public void AddScalebar(IPageLayout pageLayout, IMap map)

{

if (pageLayout == null || map == null)

{

return

}

IEnvelope envelope = new EnvelopeClass()

envelope.PutCoords(1, 1, 15, 2.5)// Specify the location and size of the scalebar

IUID uid = new UIDClass()

uid.Value = "esriCarto.AlternatingScaleBar"

// Create a Surround. Set the geometry of the MapSurroundFrame to give it a location

// Activate it and add it to the PageLayout's graphics container

IGraphicsContainer graphicsContainer = pageLayout as IGraphicsContainer// Dynamic Cast

IActiveView activeView = pageLayout as IActiveView// Dynamic Cast

IFrameElement frameElement = graphicsContainer.FindFrame(map)

IMapFrame mapFrame = frameElement as IMapFrame// Dynamic Cast

IMapSurroundFrame mapSurroundFrame = mapFrame.CreateSurroundFrame(uid as UID, null)// Dynamic Cast

IElement element = mapSurroundFrame as IElement//明并 Dynamic Cast

element.Geometry = envelope

element.Activate(activeView.ScreenDisplay)

graphicsContainer.AddElement(element, 0)

IMapSurround mapSurround = mapSurroundFrame.MapSurround

IScaleBar markerScaleBar = ((IScaleBar)(mapSurround))

markerScaleBar.LabelPosition = esriVertPosEnum.esriBelow

markerScaleBar.UseMapSettings()

}

#endregion

1、在arcmap导入地图以后,点击Insert中的Legend来添加图例。

2、下一步,可以点击Insert中的Scale Bar来添加比例尺。

3、这个时候,需要点击Insert中的North Arrow来添加指北针。

4、为了出图,就得点击File中的Export Map。

5、这样一来通简槐过设置图示配咐孙的像素大小培链并点击保存,即可实现arcmap制图了。


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/bake/11979931.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-20
下一篇 2023-05-20

发表评论

登录后才能评论

评论列表(0条)

保存