Select to view content in your preferred language

Looking for best approach for importing and re-projecting points

1358
1
05-09-2011 11:57 PM
JessB
by
Emerging Contributor
Hello,

I'm hoping to put together a python script that reads xml files and creates new points in an existing feature class. The xml has the point data in lat / long (NAD83); however, the target feature class is NAD27 state plane oregon north.

Am I correct in saying that there isn't really a way to re-project individual point geometries ... and that I'd need to create a featureset (or feature class, this is 9.3) in memory to call the project tool, then read possibly append that point data to the target fc?

Thanks in advance,

JB
Tags (2)
0 Kudos
1 Reply
deleted-user-1T_bOHag6M8d
Deactivated User
Hello,

I'm hoping to put together a python script that reads xml files and creates new points in an existing feature class. The xml has the point data in lat / long (NAD83); however, the target feature class is NAD27 state plane oregon north.

Am I correct in saying that there isn't really a way to re-project individual point geometries ... and that I'd need to create a featureset (or feature class, this is 9.3) in memory to call the project tool, then read possibly append that point data to the target fc?

Thanks in advance,

JB


If you are using an InsertCursor to append the data, you can define the spatial reference of the cursor which should transform the geometry.

http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Setting_a_cursor_s_spatial_reference/0...
0 Kudos