Error Failed To Alter Spatial Reference
Early Adopter Program ArcGIS Ideas Esri Support Services ArcGIS Blogs ArcGIS Code Sharing Product Life Cycles Manage Cases Request Case Start Chat Back to results Print Share Is This Content Helpful? Search on GeoNet Submit to ArcGIS Ideas Error: Failed to alter spatial reference. The dataset already has a projection defined. Error Message Defining the spatial reference of a raster dataset, not already defined, using the Define Projection tool returns the error: "Failed to alter spatial reference.The dataset already has a projection defined. Failed to execute." Cause The image is being used by ArcMap. An AUX file is created for an image when it is added to ArcMap. The Define Projection tool reads the AUX file and returns the error even though the AUX file does not contain a projection definition. Solution or Workaround There are six options to work around this issue.Use the ArcToolbox Define Projection tool when the image is not being used by ArcMap.Use the ArcToolbox Define Projection tool in ArcCatalog.Use the ArcToolbox Define Projection tool, but instead of selecting the input dataset from the drop-down list, use the Browse button on the tool to navigate to the file.Use ArcCatalog to open up the layer properties and edit the spatial reference of the file.If errors are received during the execution of a geoprocessing script make sure the file is not in use by ArcMap/ArcCatalog.Verify that the file is not set to Read Only. Created: 5/5/2016 Last Modified: 5/5/2016 Article ID: 000007940 Software: ArcGIS - ArcEditor 10, 9.0, 9.1, 9.2, 9.3, 9.3.1 ArcGIS - ArcInfo 9.0, 9.1, 9.2 ArcGIS - ArcView 9.0, 9.1, 9.2, 9.3, 9.3.1 Is This Content Helpful? Is This Content Helpful? Yes No We're glad to know this article was helpful. How can we make this better? Submit Contact our Support Team Request Ca
without it enabled. Please turn JavaScript back on and reload this page.All Places > GIS > DiscussionsLog in to create and rate content, and to follow, bookmark, and share content with other members.Failed to alter the spatial reference. Layer not foundDiscussion created by bsu on Jan 25, 2011Latest reply on Oct 17, 2014 by rianc Like • Show 0 Likes0 Comment • 4Hello!I'm trying to modify the coordinate system of a featureclass but I recieved the error; "Failed to alter the spatial reference. Layer not found." I saw a similar problem posted on here before but the solution provided was not suffient http://support.esri.com/technical-article/000007940 enough to solve the problem.I've tried to change it through ArcToolbox and Properties of featureclass (from ArcCatalog). I've even made sure no one locking this featureclass. I'm running out of work around ideas to solve this problem. I am using ArcGIS 9.3.1, ArcSDE 9.1I hope you can help me out.Thank you in advance.BSUOutcomesVisibility: GIS674 ViewsLast modified on Jan 25, 2011 12:22 AMTags:gisContent tagged with gisdesktopContent https://geonet.esri.com/thread/20675 tagged with desktopThis content has been marked as final. Show 4 comments4 RepliesNameEmail AddressWebsite AddressName(Required)Email Address(Required, will not be published)Website AddressMKennedy-esristaff Jan 25, 2011 9:06 AMHello!I'm trying to modify the coordinate system of a featureclass but I recieved the error; "Failed to alter the spatial reference. Layer not found." I saw a similar problem posted on here before but the solution provided was not suffient enough to solve the problem.I've tried to change it through ArcToolbox and Properties of featureclass (from ArcCatalog). I've even made sure no one locking this featureclass. I'm running out of work around ideas to solve this problem. I am using ArcGIS 9.3.1, ArcSDE 9.1I hope you can help me out.Thank you in advance.BSU I don't know if this is the problem, but it's possible that the coordinate system you want to use isn't supported in version 9.1. Can you tell me which one you want to use?MelitaLike • Show 0 Likes0 Actions pjhopkin Feb 12, 2013 3:50 AMI have the same problem in Arc10...the spatial reference is supported and is easy to pick from the list. ESRI...please fix this!Like • Show 0 Likes0 Actions MKennedy-esristaff Feb 12,
Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn http://gis.stackexchange.com/questions/19904/defining-multiple-projections-inside-a-file-gdb-error-000289-failed-to-alter-sp more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Geographic Information Systems Questions Tags Users Badges Unanswered Ask Question _ Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are error failed voted up and rise to the top Defining multiple projections inside a file gdb [error 000289 failed to alter spatial reference]? up vote 2 down vote favorite I am importing multiple shapefiles into a filegdb in ArcGIS 10, and using the following code to define the projection of the feature once imported, to the .prj of the original .shp file. Here is my code: for spatial in SpatialRefList: del gp import error failed to arcpy as gp print 'DEFINING PROJECTION' print 'FEATURECLASS = ' + str(featureclass) print 'PROJECTION = ' + str(prjfile) time.sleep(1) try: gp.DefineProjection_management(featureclass, prjfile) except: traceback.print_exc() time.sleep(2) However the code is throwing up error 000289 - failed to alter spatial reference. arcpy arcgis-10.0 coordinate-system file-geodatabase share|improve this question edited Jul 4 '15 at 5:47 PolyGeo♦ 39.1k1357143 asked Feb 7 '12 at 12:56 Alex Oulton 131119 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted GDBs are just like a file tree structure. Feature Datasets can only contain feature classes in one spatial reference. However there is another object called a feature dataset that will allow you to seperate and assign different references per feature dataset. esri help feature dataset esri hellp creating feature dataset (code) share|improve this answer edited Feb 7 '12 at 18:12 answered Feb 7 '12 at 13:10 Brad Nesom 15.9k22760 thanks for the link, you cleared up my confusion as to why each featureclass didn't just act in the same way as a shapefile. I am in fact using feature datasets (one per country) in my file gdb structure - however I was trying to change each featureclass's sp ref individually. Cheers Again I'll amend my code to set each featuredatasets prj