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

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.

主站蜘蛛池模板: 都兰县| 罗城| 新和县| 托克逊县| 南丰县| 邵阳县| 大足县| 桃江县| 云浮市| 定南县| 随州市| 邵东县| 成武县| 广丰县| 本溪市| 台北市| 海丰县| 舞钢市| 宜兴市| 彭水| 奉节县| 文水县| 宁波市| 共和县| 灵宝市| 奎屯市| 大悟县| 木兰县| 吉隆县| 乌兰察布市| 庄浪县| 安吉县| 炉霍县| 呼图壁县| 广州市| 道真| 集安市| 和顺县| 孙吴县| 苍南县| 古丈县|