官术网_书友最值得收藏!

How to do it...

  1. Start ArcGIS Pro and open the Plot XY from Table.aprx project located in C:\Student\ArcGISProCookbook\Chapter2\.
  2. In the Catalog pane, expand the Databases folder.
  3. Expand the Trippville_GIS database so you can see the contents.
  4. You should see a Crimes_2014 database table. Right-click the table and select Add to Current Map:
  1. The Crimes_2014 table should appear in the Contents pane. Right-click the table and click Open.

Question: What fields do you see in the table?

Answer:

You should see six different fields. Most important are the two at the end, Lat and Long. These are the coordinates that identify the location of each crime. You will now use those to create points in your map that show the location.

  1. Close the table by clicking the small X in the tab at the top if the table.
  2. Right-click the table in the Contents pane and select Display XY Data:
  1. The Geoprocessing pane should open with the Make XY Event Layer tool. It should automatically populate with the required variables. Verify that yours looks like the following image. If it does, click Run. If not, make the appropriate adjustments:
  1. A new layer named Crimes_2014_Layer should appear in the Contents pane. If it does, close the Geoprocessing pane.

If the Spatial Reference is not set to GCS_WGS_1984, click the small globe to set it correctly. You will need to go to Geographic Coordinate System and World.

The US GPS system reports positions using the WGS 1984 geographic coordinate system. You will learn more about coordinate systems and how they work in ArcGIS Pro later in this book.

  1. Right-click on Crimes_2014_Layer in the Contents pane. Select Attribute Table.
  2. Compare what you see in the attribute table to what you saw when you opened the Crimes_2014 table. They should be the same, with one exception.

Question: What is the one exception?

Answer

  1. Save your project and close ArcGIS Pro.

The layer you created is still linked to the original table. So, if the table changes, so does the layer. This same process works with spreadsheets, CSV files, and text files, as long as they are formatted similarly. The coordinates do not have to be latitude and longitude. They can be in any real-world coordinate system, such as State Plane, UTM, or WGS 84 Web Mercator Auxiliary Sphere, as long as you know what it is.

主站蜘蛛池模板: 锡林浩特市| 昌图县| 马尔康县| 铜陵市| 南召县| 平邑县| 孟津县| 九台市| 徐汇区| 吉林省| 昔阳县| 四子王旗| 山东省| 大连市| 卢湾区| 和田市| 临海市| 师宗县| 寿光市| 汉中市| 泗阳县| 叶城县| 乌拉特后旗| 蓝田县| 贵德县| 龙江县| 杭锦旗| 桂阳县| 华池县| 玉环县| 饶平县| 澄迈县| 昌吉市| 利津县| 荣成市| 井研县| 西安市| 靖西县| 威宁| 八宿县| 饶平县|