[Python]Reprojecting points in memory, instead of temporary storing them in FC

460
2
04-21-2010 01:24 AM
Jan_ToreKyrdalen
New Contributor II
I was wondering if anyone knows a way of reprojecting points without first having to store them in a feature class, reprojecting them to another feature class and then reading them back into memory.

Creating the featureclasses takes alot of time when we are talking alot of rasters.

I get the points from code like this:
dsc = gp.describe(raster)
point_UL = dsc.extent.UpperLeft


point_UL_proj = # Insert magic here #
0 Kudos
2 Replies
JonathanBaarda
New Contributor
not sure if this would help, but you can write output to memory using "in_memory\featureclassname". It's not possible to edit this feature class but you can read from it.
0 Kudos
Jan_ToreKyrdalen
New Contributor II
That was actualy exactly what I was looking for! And it did help some, but since
Project_managment()
cant return a Feature class in memory, it only got me halfway.
0 Kudos