I figured it out... with all of your help. I had the coordtrans =
osr.CoordinateTransformation switched. I wanted to input lat/lon (WGS84) and
transform it to lcc (source) and I also had to set the source prj to lcc. I
think you all said this stuff already, just took me a little while. Thanks
for a
deadpickle wrote:
Not much of a response going on here. In order to change the shapefile
projection from geographic to projected do I need to reopen the file,
get each feature, and transform the points individually? If so what
calls do I need to invoke?
On Mar 1, 12:54 pm, Jamie Lahowetz wrote:
Thanks for the response. I'm sorry I'm really new to this and am not sure
where to transform the line geometry, I know it should be before
layer.CreateFeature(feature) but after I add the points to the geometry. Is
it before or after feature.SetGeometry(line)? And is the right way to call
the trans
Jamie, Try transforming the line geometry before adding it to the feature.
That should do it.
chris
On Mon, Mar 1, 2010 at 4:24 PM, deadpickle wrote:
> Not much of a response going on here. In order to change the shapefile
> projection from geographic to projected do I need to reopen the file,
Not much of a response going on here. In order to change the shapefile
projection from geographic to projected do I need to reopen the file,
get each feature, and transform the points individually? If so what
calls do I need to invoke?
On Mar 1, 12:54 pm, Jamie Lahowetz wrote:
> I'm new to GDAL a