예제 #1
0
파일: srs.py 프로젝트: JMassapina/lettuce
 def to_esri(self):
     "Morphs this SpatialReference to ESRI's format."
     capi.morph_to_esri(self.ptr)
예제 #2
0
"""
예제 #3
0
 def to_esri(self):
     "Morphs this SpatialReference to ESRI's format."
     capi.morph_to_esri(self.ptr)
예제 #4
0
    def from_esri(self):
        "Morph this SpatialReference from ESRI's format to EPSG."
>>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435
        capi.morph_from_esri(self.ptr)

    def identify_epsg(self):
        """
        This method inspects the WKT of this SpatialReference, and will
        add EPSG authority nodes where an EPSG identifier is applicable.
        """
        capi.identify_epsg(self.ptr)

    def to_esri(self):
<<<<<<< HEAD
        "Morphs this SpatialReference to ESRI's format."
        capi.morph_to_esri(self.ptr)

    def validate(self):
        "Checks to see if the given spatial reference is valid."
=======
        "Morph this SpatialReference to ESRI's format."
        capi.morph_to_esri(self.ptr)

    def validate(self):
        "Check to see if the given spatial reference is valid."
>>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435
        capi.srs_validate(self.ptr)

    # #### Name & SRID properties ####
    @property
    def name(self):