Exemple #1
0
 def from_esri(self):
     "Morphs this SpatialReference from ESRI's format to EPSG."
     capi.morph_from_esri(self.ptr)
Exemple #2
0
"""
Exemple #3
0
 def from_esri(self):
     "Morphs this SpatialReference from ESRI's format to EPSG."
     capi.morph_from_esri(self.ptr)
Exemple #4
0
=======
        "Return the authority name for the given string target node."
        return capi.get_auth_name(self.ptr, force_bytes(target))

    def auth_code(self, target):
        "Return the authority code for the given string target node."
        return capi.get_auth_code(self.ptr, force_bytes(target))

    def clone(self):
        "Return a clone of this SpatialReference object."
        return SpatialReference(capi.clone_srs(self.ptr))

    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."