Spatial reference arcpy. 5) pnt_geometry = arcpy .
Spatial reference arcpy 同时还可以通过SpatialReference对象的name属性检测要素是否具有空间参考信息: import arcpy arcpy. spatialReference unit = sr. SpatialReference(4326) # Get CoastlineL and CulturalFeaturesA layers coastlinel Creating a spatial reference. In the case where a predefined transformation needs to be applied in the reverse direction, it is returned as a forward composite transformation containing one The Spatial Grid 1, 2, and 3 parameters are used to compute a spatial index and only apply to file geodatabases and certain workgroup and enterprise geodatabase feature classes. name)) arcpy. (However, separate issue, arcpy. workspace = "c:/base/base. ListFeatureClasses # Loop through the list for fc in feature_classes: # Create the spatial reference object spatial_ref = arcpy. 0086, -26160897. dataType in ['RasterLayer','FeatureLayer']: SRID = arcpy. ListFeatureClasses # Loop through the list # for fc in fcs: # Create the spatial reference object # sr = arcpy. Aug 9, 2024 · if arcpy. I needed to then set the spatial reference of the coordinates. e. Define a SpatialReference object to pass as the second argument in the from_featureclass function, so calling the method can also project (or transform) output GeoDataFrame to your desired spatial reference. gdb" fc = "River" #数据 spatial_ref = arcpy. At wits end, I tried copying in the system path to the prj I wanted as the default value on the parameters tab. SpatialReference(102007) >>> sr. spatialReference #通过数据集获取当前空间参考信息. Aug 29, 2013 · if you want to spell out the name of the Spatial reference for feature class fc, use: # Get spatial reference of the feature class spatialRef = arcpy. You can get your dataset's spatial reference with: sr = arcpy. outputCoordinateSystem = sr #So does this crs = arcpy. SpatialReference Mar 10, 2015 · Been stuck on this for a while this afternoon. gdb/Wetlands" spatial_ref = arcpy. SpatialReference # print the spatial reference print spatialRef. ListSpatialReferences(spatial_reference_type="GCS") for sr_name in srs: print(sr_name) ListSpatialReferences example 2 Print the central meridians and names of UTM zones in New Zealand. A Cursor object that can hand out row objects. basename (outFC), "POLYLINE", template) # Access spatial reference of template to define spatial # reference of geometries spatial_reference = arcpy. Create a new feature class for the polygons with a defined spatial reference. Describe (dataset). Dec 9, 2013 · Hi, I want to change the spatial reference linear unit for geometry calculations. name == "Unknown": print fc import arcpy from arcpy import env # Set the workspace environment # env. Jul 8, 2016 · With Arcpy you can construct 3D and M-aware geometries. GetParameterAsText(1) factoryCode = arcpy. When the cursor projects the features from one spatial reference to another, if the spatial references do not share the same datum, an appropriate datum transformation should be specified. PointGeometry(point,df. This code should appear just after you create the obsPoint object and assign its X and Y properties (line 88). Each part of the spatial reference has a number of properties (especially the coordinate system) that defines what map projection options are used to define horizontal coordinates. env. topographic Trace Network arcpy. not a projected spatial reference), I want to change it to a appropriate spatial reference. name or simply: spatialRefName = arcpy. SpatialReference(32145) # A list of features and coordinate pairs feature_info = [[[1, 2], [2, 4], [3, 7]], [[6, 8], [5, 7], [7, 2], [9, 5]]] # A list that will contain the Polygon objects features = [] # Create Polygon objects from an array of points for feature in feature_info: array = arcpy. PointGeometry(point, spatial_ref) features import arcpy # Set the workspace environment arcpy. spatialReference # Open an insert cursor for the new feature class cur = arcpy. Array([arcpy. da. path. sfa Territory Design arcpy. aprx) in the Python window. gdb" # Get a list of the feature classes in the input folder feature_classes = arcpy. To prepare the data to be used in a network, you would need to repeat this process for every feature class in the geodatabase: check the coordinate system and decide whether you need to run the Project tool. Finally, I want to change the MAP's spatial reference (WGS84) to another, which I get from another layer. The tolerance values are actually not good if the data is using a geographic coordinate system. The module name "arcpy" is always referred to as "arcpy," not "ARCPY" or "Arcpy". At ArcGIS 10. The variable names featureClass, desc, and spatialRef that the programmer assigned are short, but intuitive. For more information, see Geographic datum transformations and ListTransformations. import arcpy # Set the workspace environment arcpy. gdb" # Set the XYTolerance environment setting arcpy. When the geometry object and the destination spatial reference do not have a common datum, specify a transformation_name parameter value. GetParameterAsText(0) outputName = arcpy. So, I grabbed the spatial reference from my point file, and inserted it into both of my geometry objects when using the searchCursor. Aug 18, 2020 · Or, I could create a feature from the raster and then use arcpy. ListFeatureClasses() # Loop through the list # for fc in fcs: # Create the spatial reference object # sr = arcpy. spatialReference # If the spatial Nov 28, 2022 · spatialRef = arcpy. Similarly, "Describe" is capitalized in arcpy. g. CreateFeatureclass_management(sys. Describe(lyr). For the Python side of your question, Python classes can emulate container objects by implementing certain special methods: 3. AsShape(gj,False). CreateFeatureclass_management(inputWorkspace, outputName, "POLYLINE", spatial_reference=spatialRef) Jan 7, 2025 · Esri’s Python site package (called arcpy) can help automate a process to read in location information, such as geographic coordinates, and turn each location into a feature in a geodatabase feature class table. management. If either spatial reference is unknown the coordinates will not be changed. Point(*pt) point_geometry = arcpy. For a full list of supported spatial reference IDs and their corresponding definition strings, see Using spatial references. The rest have no spatial reference listed, and I don't see anywhere to click to add this information. Describe(fc). When using ArcGIS APIs, coordinate conversions for geographic data with different spatial references are typically made for you automatically. workspace = r"C:\data\Redlands" # create a spatial reference object to be used as output coordinate system out_sr = arcpy. When the Output Coordinate System environment is different from the input coordinate system, the input is projected to the output coordinate system during tool operation. Is there something I'm not doing in the script? import arcpy # Set the workspace environment arcpy. Its properties are dynamic, meaning that depending on the data type described, different describe properties will be available for use. The SpatialReference object supports equal (==) and not equal (!=) operators for comparing spatial references. outputCoordinateSystem = crs import arcpy # Set the workspace environment setting arcpy. The script can be modified to use loop expressions to iterate between all existing feature classes in a file geodatabase. The SEDF integrates with Esri's ArcPy site-package as well as the open source pyshp, shapely and fiona packages. The default tolerance and resolution values for the associated coordinate system are used. If that's true, that's a shame. getPart(),arcpy. Jun 27, 2022 · In ArcGIS Pro, it is possible to create a spatial reference list of the layers available on the map via ArcPy. PCSCode is implicit because it uses the data type of the layer to infer whether the describe object has a spatial reference before calling a spatial reference property. ListFeatureClasses() # Loop through the list for fc in feature_classes: # Create the spatial reference object spatial_ref = arcpy. stpm Spatial Analyst arcpy. env. da. So is "print". E. spatialReference # If the spatial The length units is the same as the spatial reference. Point(*coords I am using ArcGIS 10. Apr 25, 2020 · As an alternative, the feature class spatial reference can be retrieved by using the ArcPy function, arcpy. 5, 45. SpatialReference("Sinusoidal (Africa)"), which you then use as the spatial reference parameter. AddMessage("\tMasking coastline and bridges") # Subtype field used in where clause to access bridges in CulturalFeaturesA subtype_fld = arcpy. Jun 10, 2020 · I am working with a geometry object projected in EPSG 6455 but would like to add its extent to a feature class that is in EPSG 4326. spatial_ref = arcpy. Polygon(arcpy. def maskCoastlineConflicts(prod_db, desktop_fldr): arcpy. 0451], [1, 1154177. Many predefined spatial references have already been defined and are available for use. A SpatialReference object can also be accessed from existing datasets using the Describe spatialReference property. Any advice welcome, thanks! Define a spatial reference object before using this tool, such as sr = arcpy. CreateSpatialReference_management("NAD 1983 Jun 26, 2017 · The problem would appear to be that the point has no spatial reference to start from try pointGeometry=arcpy. ListDatasets() Returns a list of feature classes arcpy May 25, 2022 · dataset = "c:/data/landbase. # Each coordinate entry is semicolon delimited in the format of ID;X;Y import arcpy import os # List of coordinates (ID, X, Y) coords_list = [ [1, -61845879. Nov 13, 2015 · As in the above question/answers, you can get the spatial reference using arcpy. The arcpy InsertCursor object adds new records into an attribute table. Clients can associate their own authority names with factory codes that are currently associated with the EPSG or ESRI authority names, because only the WKID is used to create the spatial reference. The ArcPy package features a raster module for working with raster imagery. GetParameter(0) arcpy. It is required to have this property saved within the web map. SpatialReference(32145) # A list of coordinate pairs feature_info = [[1, 2], [3, 5], [7, 3]] # A list to hold the PointGeometry objects features = [] # For each coordinate pair, create a PointGeometry object for pt in feature_info: point = arcpy. CreateSpatialReference_management("NAD 1983 import arcpy # input data is in NAD 1983 UTM Zone 11N coordinate system input_features = r"C:/data/Redlands. Deletes the spatial index from a shapefile or file geodatabase, mobile geodatabase, or an enterprise geodatabase feature class. I have been writing a script tool which loads some data from a table in a db. CreateFeatureclass(workSpace, polylineFC, geometryType, template, has_m, has_z, spatialRef) Once I set the coordinate system in the map properties, it works fine. as_arcpy: returns the class as an arcpy SpatialReference object; as_shapely: returns a shapely geometry object Jun 29, 2022 · Use the SpatialReference or CoordinateSystem objects directly (i. spatialReference sr. A spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT). Jul 11, 2015 · Hey DenaliHardtail. The FC should already have a spatial reference - try arcpy. SpatialReference(4326) pnt = arcpy. Map or arcpy. spatialReference case sensitivity is applied in the code. Python Extent Calculations. Originally, the numbers I was getting were too large - millions of feet apart. You can create a spatial reference with a set coordinate system, spatial domains, and precision. centroid b. extent: returns the extent of the geometry as a tuple containing (xmin, ymin, xmax, ymax). Spatial indexes are used by ArcGIS to quickly locate features that match a spatial query. (dataset, {where_clause}, {spatial_reference}, {fields}, {sort_fields}) The SearchCursor function establishes a Sep 26, 2019 · One of them has spatial reference information if you go into properties and it works correctly. Describe(dataset). 1 much new ArcPy functionality became available. Describe() and the spatialReference ArcPy class. workspace = "C:/base/base. We’ll use it to reference a raster dataset on disk and access some of its file properties. According to Dan you could use something like that: desc = arcpy. For a description of how the default output coordinate system is determined, see Spatial reference and geoprocessing. SpatialReference(4326) #Create the shapefile arcpy. Most of the other answers were all posted when ArcGIS 10. Sep 24, 2017 · You should be able to get this info from your dataset's spatial reference. spatialReference # If the spatial Sep 17, 2015 · SR = arcpy. The individual attributes of a geoprocessing spatial reference object are available here. spatial_reference = arcpy. SpatialReference('NAD 1983 StatePlane California V FIPS 0405 (US Feb 18, 2020 · You can use one of these, or join several of them together if you need more information about the spatial reference. Dec 22, 2015 · My problem so far has to do with spatial references I think. The centroid of a dataframe can be retrieved using the centroid property. If the dataframe does not meet the criteria (e. 3511], [1, -62051091. GetParameter(1) arcpy. The spatial domains and precision of the output spatial reference can be further modified using the XY Domain, Z Domain, M Domain, Template XYDomains, and Grow XYDomain By Percentage parameters. import arcpy import numpy myArray = arcpy. Point(-75. 8272, -25134838. This projection will not affect the input. Eg, spatial_ref = arcpy. 0 was the latest software. >>> df. prj" spatialRef = arcpy. Then initiate an insert cursor for your new shapefile and a search cursor on your table. Summary. GetParameter instead of GetParameterAsText) import arcpy #This works sr = arcpy. spatial. Describes a data element and returns a Describe object with multiple properties, such as data type, fields, indexes, and many others. GetParameter(0) # Display the Spatial Reference properties arcpy. linearUnitName = "Foot" cursor = arcpy. 96791, 46073695. # Create a new line feature class using a text file of coordinates. It is very similar to creating 2D geometries, but there are a view things to bear in mind. wmx Returns a list of datasets arcpy. 1, and want to create a new raster based on two preexisting rasters. Is it possible to do it using arcpy and ArcGIS Pro? The code is: Aug 22, 2019 · The Spatial Enabled DataFrame solves this problem because it is an in-memory object that can read, write and manipulate geospatial data. workspace = "C:/base/base. Usage The data in the asset package tables will be copied as they represent the schema of the utility network. Depending on the project's file format, the workflows described below are applicable. workspace = r"C:\data\Redlands" # create a spatial reference object to be used as output coordinate system out_sr It can also be the empty string if you want the default authority name associated with the new spatial reference. CreateFeatureclass_management(output_location, polygon_name, "POLYGON", spatial_reference=spatial_reference) Add a field for street names. STEP 1: Downloading the data Open […]. 5) pnt_geometry = arcpy Jun 22, 2022 · Does arcpy support updating the spatial reference information of the map itself? I understand how to update this information for individual layers, but I'm looking for a way to update the spatial reference information that I would normally update under the map's Properties page. CreateFeatureclass_management (os. Each layer has a source reference, and many sources have a defined SpatialReference, but custom SRs might not have an equivalent EPSG factory code. shp","POLYGON",spatial_reference=SR) coordList = [[[Xmax,Ymax], [Xmin,Ymax], [Xmin The spatial namespace can be accessed using the . factoryCode)) Sep 2, 2015 · Hello, I am currently attempting to create a Python script tool that takes a user-specified GPX file (GPS data), and converts this data into ArcGIS features, which need to be in a specific coordinate system. SpatialReference(4326) # SRID 4326 for geographic coordinates. Nov 27, 2017 · A "layer" doesn't have a coordinate system, per se, since it's the map canvas that defines the common spatial reference. use arcpy. This means the ArcGIS API for Python SEDF can use either of these geometry engines to provide Oct 10, 2018 · As Darren points out, nearly all geoprocessing tools return Result—Help | ArcGIS Desktop objects, which explains the ArcGIS/ArcPy side of your question. MapFrame. Geographic datasets, such as feature classes, coverages, and rasters, have a spatial reference that defines a dataset's coordinate system, x,y domain, m-domain, and z-domain. It is not often practical to keep all details of a spatial reference inside a Python script. AddFieldDelimiters(prod_db, "FCSubtype") # Get subtype of Bridge bridge = "5" # Define spatial reference sr = arcpy. A spatial reference is composed of the following: A coordinate system; x,y resolution and, optionally, m- and z-resolution and domain; x,y tolerances and, optionally, m- and z-tolerances; A spatial reference affects geoprocessing and should be evaluated before performing import arcpy # Create a spatial reference from a wkid spatial_ref = arcpy. In a function library of mine, I then integrate this into a workflow, set-up to handle the comparison of 2 datasets. The new spatial reference system passed to the method defines the output coordinate system. shp" # Get the input workspace, the output name for the new feature class # and path to an input projection file # inputWorkspace = arcpy. un Workflow Manager arcpy. I'm running on the ArcGIS Pro free trial, so I'm wondering if the free trial has this limitation or if there is another place to add/revise this for May 5, 2022 · In this tutorial, we’ll use the Catalog pane and the ArcPy package to access raster data properties inside ArcGIS Pro. XYTolerance = 2. I understand that there is a 'GPX to Features' Conversion tool within ArcToolbox, but the a Thanks Dan - that's what I thought; map and map frame don't seem to have any concept of spatial reference, even though from the help: "A Map in ArcGIS Pro represents a collection of tabular and symbolized geographic layers and also persists information like coordinate system, default views of the data, and various other metadata. Thanks for your help! # This script reprojects a shapefile in Redlands folder # from NAD 1983 UTM Zone 11N # to NAD 1983 StatePlane California V FIPS 0405 (US Feet) # import system modules import arcpy try: # set the workspace environment arcpy. CalculateUTMZone_cartography and use the Spatial Reference Object stored as a field value to project each raster. CreateSpatialReference_management("NAD 1983 import arcpy # Set the workspace environment arcpy. projectAs. Specify the Python script to run a project file (. Grab the array from geometry made from it and create a new geometry with a spatial reference. AddMessage("Name is: {0}". Describe. tn Utility Network arcpy. import arcpy # Create a spatial reference from a wkid spatial_ref = arcpy. type)) arcpy. shp") # Create a new empty feature class arcpy. arcpy. : a. Apr 12, 2023 · I want to find out the current spatial reference of the dataframe to create a feature class with an appropriate spatial reference for accurate calculation. The plot() method can be used to draw the data on a web map. CalculateUTMZone_cartography calculates the UTM for the features I've tested as "Southern Zones" and in WGS 84, though all of the Oct 25, 2022 · 空间参考类是arcpy下面的一级类,用于定义空间参考的各类信息,主要是坐标信息。 空间参考Spatial Reference与坐标系最大的区别,在于空间参考除了定义坐标系以外,还要定义一系列地理信息属性,诸如数值精度、容差、阈值等。 # This script reprojects a shapefile in Redlands folder # from NAD 1983 UTM Zone 11N # to NAD 1983 StatePlane California V FIPS 0405 (US Feet) # import system modules import arcpy try: # set the workspace environment arcpy. spatialReference) before . Then I do some processes. According to bixb0012, looks like it's not possible. 5 # Calculate the default spatial grid index, divide in half, then # set the spatial grid 1 environment setting grid_index = arcpy. srs = arcpy. CalculateDefaultGridIndex_management("roads")[0 Jul 31, 2012 · You can set a default spatial reference for a spatial reference parameter two different ways on the parameters tab of the script properties window. format(spatial_ref. Yeah, the spatial reference is specified in the feature class or geometry object, not in the da. Examples // set the spatial reference of a view to WebMercator using wkid const view = new SceneView ({ container : "viewDiv" , map : map, spatialReference : { wkid : 3857 } }); Creates a new file geodatabase which models the asset package schema in the user-specified spatial reference. Describe (template). Usage notes. import arcpy # Get the spatial reference from the tool dialog. An older build of ArcGIS certainly wouldn't reflect newer EPSG values. sr = arcpy. projectAs(). SearchCursor(fc, ["SHAPE@"], "", sr) import arcpy # Set the workspace environment arcpy. workspace = "c:/base/base. import arcpy inputWorkspace = "c:/temp" outputName = "rivers. stats Standard Feature Analysis arcpy. import arcpy from arcpy import env # Set the workspace environment # env. When I hit enter it replaced the path value with the actual contents of the prj file. The geom namespace enables spatial operations on a given Oct 31, 2016 · Rebecca Strauch, GISP & Dan_Patterson, sorry I meant change the spatial reference for either an arcpy. May 7, 2015 · Yes, you can use the arcpy shape method . gdb" # Get a list of the feature classes in the input folder # fcs = arcpy. The rest of the code looks fine but doesn't appear to do much, I assume you're exporting xValue2 and yValue2 to a file or using them in some other way. Jul 17, 2018 · True that the spatial reference is high precision versus the original "basic" precision. This can be tricky but should work great! projectAs (spatial_reference, {transformation_name}) Projects a geometry and optionally applies a geotransformation. AddMessage("Type is: {0}". Using spatial references. Ascending and descending order for each field is denoted by A and D. aPoly = arcpy. Any particular vertical coordinate system may be used with different horizontal coordinate systems. workspace = "c:/St_Johns/data. SpatialReference Feb 24, 2016 · Also, <geoprocessing spatial reference object object at 0x0D2CE830> is just because ESRI failed to define a good repr (the function on Python objects that is called to get a string when the object is fed into print). 8598, 44431999. path. name Dec 8, 2022 · 空间参考类是arcpy下面的一级类,用于定义空间参考的各类信息,主要是坐标信息。空间参考Spatial Reference与坐标系最大的区别,在于空间参考除了定义坐标系以外,还要定义一系列地理信息属性,诸如数值精度、容差、阈值等。 arcpy. If they are different, the extents will be projected to match. spatialReference. The RasterToNumPyArray has a good example which I want to adapt. A spatial reference may or may not have a VCS set. shp" prjFile = "c:/projections/North America Equidistant Conic. 7507], [2 Nov 19, 2020 · import arcpy # Spatial reference set to GCS_WGS_1984 spatial_reference = arcpy. Jul 3, 2019 · To project, the geometry needs to have a spatial reference, and not have an UnknownCoordinateSystem. I know you can pass the sr object in cursor, so I tried this: I read from the document that linearUnitName is both readable and writable. Fields used to sort the rows in the cursor. Nov 21, 2024 · Define the spatial reference. SpatialReference(2193)) Check the spatial reference: aPoly. So, in my script I had : SR = arcpy. GetParameterAsText(1) And in the tool properties, this is set to a Coordina The terms coordinate system and spatial reference are not interchangeable. mp. plot() The geom namespace. td Topographic Production arcpy. If the Spatial Reference and Spatial Reference Template parameters are both set, the Spatial Reference parameter will take priority. projectAs (spatial_reference, {transformation_name}) Projects a geometry from one spatial reference to another. – ArcPy function to return parameter as an object. Name import arcpy # Get the list of spatial references and print it. 0968, 45047635. Wu Teshieng, you probably want the coordinate system's "projected horizon" but I don't think that's exposed in arcpy. Note: This parameter is optional, but providing a value is recommended. . path[0], "temp. " Jan 17, 2025 · The Project tools runs, and the projected feature class is added to the active map. Creating a 3D point and point geometry Take a look at the script below: import arcpy import os # create spatial reference (WGS_1984_Web_Mercator_Auxil import arcpy inputWorkspace = "c:/temp" outputName = "rivers. By using a projection file, factory code, or spatial reference name as an argument to the SpatialReference class, you can quickly complete the properties of a spatial reference and use the object as input to a geoprocessing tool. This wkid from my help files. spatialReference # If the spatial reference is unknown # if sr. spatialReference # If the spatial The Template XYDomains parameter does not have to be in the same coordinate system as that specified in Spatial Reference or Spatial Reference Template. Describe(inLine). SpatialReference(28356) # this example is MGA94 Zone 56 (Brisbane, Sydney, Newcastle) change to match your data tempShape = os. My point file is in UTM, and my polygon file is in state plane. spatialReference # If the spatial Define a spatial reference object before using this tool, such as sr = arcpy. GetParameterAsText(2) # Use a code as input to the SpatialReference class # sr = arcpy. Here's what I've got so far (please note that using ZLAS is in no way an endorsement of ZLAS as Jun 8, 2018 · Since you're going from a table to a shapefile you'll have to create a new shapefile and add each field individually. 4861], [1, -3976119. cursor row. AddMessage("Factory code is: {0}". "import" is all lower-case. shp" # create a spatial reference object for the output coordinate system out_coordinate_system = arcpy. name 'NZGD_2000_New_Zealand_Transverse_Mercator' Regards Every returned geographic transformation is a forward transformation meaning that it can be used as-is to project from the input spatial reference to the output spatial reference. SpatialReference(prjFile) # Run CreateFeatureclass using the spatial reference object arcpy. dirname (outFC), os. SpatialReference('Hawaii_Albers_Equal_Area_Conic') Traceback (most recent call last): # errors out here, but then replace the "_" with a space File "<pyshell#23>", line 1, in <module> The fields to be included in the cursor. It will be hard to come up with a Python-based workaround for that limitation. The Z- and measure values are not changed by the ProjectAs method. shp" # output data output_feature_class = r"C:/data/Redlands_Project. 9101], [2, 17365918. Add the following code to create the input spatial reference and then migrate our observation point to an ArcPy point geometry object, which can accept a spatial reference as a property. join(sys. This post will guide you through the steps to do this. it uses the extent object to make a geometry object, project it, then get the extent seems to contradict the projectAs in the help though if the source and destination spatial references are known and correct Jan 7, 2016 · The variable 'gj' now has GeoJSON in it. spatialReference # If the spatial import arcpy # Set the workspace environment arcpy. spatialReference spatialRefName = spatial_ref. Project_management() wants a feature class as input and output. sa Spatial Statistics arcpy. spatial accessor pattern. May 16, 2011 · assuming you are using python & the arcpy module. Dec 19, 2024 · You might want to have a look at this link. name or you can use the Define Projection tool to specify a spatial reference at the FC level. Apr 27, 2016 · This name vs wkid to specify the sr is very odd. name u'Hawaii_Albers_Equal_Area_Conic' >>> sr = arcpy. By default, all fields are included. May 11, 2023 · I am loading an aprx from a template, which is in WGS84 spatial reference. Describe("original_raster") SR = desc. The ListTransformations function can be used to provide a list of valid datum transformations between two spatial references. linearUnitName To answer your second question, calculating area in some unit other than what your spatial reference uses will not modify the underlying data. # This script reprojects a shapefile in Redlands folder # from NAD 1983 UTM Zone 11N # to NAD 1983 StatePlane California V FIPS 0405 (US Feet) # import system modules import arcpy try: # set the workspace environment arcpy. Note: this requires arcpy to work. kfefy hom yipbob nfj lmcxt ynwyd naflrsaar rnb pzrdpqg sort gdb kpso nbzdze fxdkb eonvq