Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

Spatial Reference arcpy

SpatialReference ({item}, {vcs}, text)
Comment

Spatial Reference arcpy

sr = arcpy.SpatialReference("c:/coordsystems/NAD 1983.prj")
Comment

Spatial Reference arcpy

sr = arcpy.SpatialReference("Hawaii Albers Equal Area Conic")
Comment

Spatial Reference arcpy

# The Spatial Reference factory code of 32145 represents: 
# NAD 1983 StatePlane Vermont FIPS 4400 (Meters)

sr = arcpy.SpatialReference(32145)
Comment

Spatial Reference arcpy

# The following string is the WKT for the 
# Geographic Coordinate system "WGS 1984" (factory code=4326)
wkt = "GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],
              PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],
              VERTCS['WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],
              PARAMETER['Vertical_Shift',0.0],PARAMETER['Direction',1.0],UNIT['Meter',1.0]];
              -400 -400 1000000000;-100000 10000;-100000 10000;8.98315284119522E-09;
              0.001;0.001;IsHighPrecision"

sr = arcpy.SpatialReference(text=wkt)
Comment

PREVIOUS NEXT
Code Example
Python :: Python Program to Find sum Factorial of Number Using Recursion 
Python :: for 2d data compute standard deviation at each x 
Python :: coreurls.py' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import. 
Python :: python specify multiple possible types 
Python :: rscript convert r to python script 
Python :: if boolean func 
Python :: how to send message to specific channel discord/py 
Python :: openCV error [WARN:0] terminating async callback 
Python :: comment on inclut date et heure en python svp 
Python :: how to identify set list and tuple in python 
Python :: index operator in python without input 
Python :: python with statement local variables 
Python :: find number of x greater than threshold in list python 
Python :: or without file pythonmodules.txt 
Python :: How to know position on Kivy 
Python :: python exception vs error 
Python :: select randomly from list in loop 
Python :: np random choice given distribution 
Python :: type operator in python 
Python :: Python logging comma to dot 
Python :: skit learn decision 
Python :: load training data python from coco 
Python :: call for a last number in series python 
Python :: exec inside def is not working in python 
Python :: if list is null python apply any function site:stackoverflow.com 
Python :: how to select the shortest item in a python list 
Python :: python fibonacci sequence while loop 
Python :: display full length jupyter 
Python :: csv.DictReader Skip Lines 
Python :: python time.sleep slow 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =