AnsweredAssumed Answered

ArcPy for .ecw Upadte Projection

Question asked by behClevest on Jun 9, 2016
Latest reply on Jun 13, 2016 by GSCUser85

I have a .ecw file which is in defined in NAD_1983_UTM_Zone_10N but I need to re-project it to WGS 1984 Web Mercator

I find following code in ESRI website

import arcpy
arcpy.env.workspace = r"C:/Workspace"
arcpy.ProjectRaster_management("image.tif", "reproject.tif", "World_Mercator.prj",\
                               "BILINEAR", "5", "NAD_1983_To_WGS_1984_5", "#", "#")
snapping_pnt = "1942602 304176"


arcpy.ProjectRaster_management("nosr.tif", "project.tif", "World_Mercator.prj", "BILINEAR",\
                               "5", "NAD_1983_To_WGS_1984_6", snapping_pnt,\
                               "NAD_1983_StatePlane_Washington_North.prj")

 

but not sure if it works for .ecw file too? I am not also sure to what to put in "snapping_pnt"?

Outcomes