Does anyone know how to write a table with x,y values to a feature class in model builder?

1636
6
Jump to solution
07-20-2017 05:00 PM
GregSnelling
New Contributor III

At the end of my model, I'd like to output a gdb feature class from an input gdb table containing the coordinates.  The Make XY Event Layer (Data Management) does not seem to work in my model.  I'm sure there's multiple ways to do this.

0 Kudos
1 Solution

Accepted Solutions
RhettZufelt
MVP Frequent Contributor

The Event Layer is an in memory dataset.  You just choose the Event Layer as an input to the Feature Class to Feature Class tool.

View solution in original post

6 Replies
RhettZufelt
MVP Frequent Contributor

The Event Layer is an in memory dataset.  You just choose the Event Layer as an input to the Feature Class to Feature Class tool.

GregSnelling
New Contributor III

Oh, I see. It seems so simple now.  Just like a feature layer or a table view, it's stored temporarily in memory and has not yet been written to the drive.  Thank you Rhett!

JayantaPoddar
MVP Esteemed Contributor

Just use Convert Coordinate Notation—Help | ArcGIS Desktop in the model builder. Use the appropriate coordinate_format.



Think Location
GregSnelling
New Contributor III

I had a feeling there were multiple methods.  I totally spaced the event "layer" is in memory similar to table views and feature layers. I'll try out the Convert Notation Tool as well. Thanks for your help Jayanta!

RhettZufelt
MVP Frequent Contributor

Was not aware of this tool.  Have some uses for it in the future.  However, it appears as if this only supports a select few Coordinate systems?

I may be missing something, but I don't see a way to use this to convert a table in say State Plane to a Feature class in State Plane.  Would be nice if I'm just missing something here and could do this in one step.

R_

0 Kudos
curtvprice
MVP Esteemed Contributor

No, this is a two step process. The Create Coordinate Notation tool is very handy for getting the XYs you need in the table if they are not in the proper format (for example, you have DDMMSS.ss data that you need to convert to geographic (lat/lon) x,y to create points). I remember putting in enhancement requests for such a tool for ARC/INFO back in the early 1990s, it's really useful that it finally showed up in ArcGIS!