I'm trying to use the XY Event Layer tool to convert lat/longs in a csv file to a grid of points in ArcMap 10.0. What I'm getting are the points all in a straight (or curved) line. I've tried specifying different projections, but have only succeeded in getting a curved line instead of a straight one. What I want is a grid of points covering the US that I can then convert to a raster.
Ohhh sorry, I misinterpreted what you were saying. Why don't you use the Create Fishnet tool instead? ArcMap is just placing points in relation to where the coordinates are for those points. The fishnet tool will create a grid, and you can choose to have a template extent, (the boundary of the United States), and choose to create label points. I'm not sure how you need your grid to look or lay on the map, but the fishnet tool is what you should probably use.
So those points that you have in your table are the points you'd like in your grid. How did you generate them? The values are decimal degrees, and using the Display XY function places them where they should go.
The lat/long values in your txt file don't form grids. If you need grids to cover certain area, Create Fishnet tool is good to use. Here is an exercise you can try to create a grid for the US:
- Run the Create Fishnet tool using the parameter values shown in the attachment. Your should get a line and a point outputs. These output will have "Unknown" coordinate systems. - Run the Define Projection tool (Data Management toolbox - Projection toolset) on the line or point output and use "GCS_North_American_1983" or a desired projection as the Coordinate System. You should get the grid lines and points as shown in the attachment.
Hope that helps you to understand the Create Fishnet tool. You can then play with the parameters to get exactly what you neet.