Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/m/a/mapnik-utils-HEAD/trunk/nik2img/mapnik_utils/projection.py   mapnik-utils(Download)
        self.method, self.proj = self.get_proj(self.srs)
        try:
            mapnik.Projection.__init__(self,self.proj)
        except RuntimeError, E:
            proj = None
            if proj:
                self.srid = self.srs
                mapnik.Projection.__init__(self,proj)
            else:
                raise RuntimeError('Sorry, that projection was not found.\nMapnik error: "%s"' % E)

src/n/i/nik2img-0.8.0/mapnik_utils/projection.py   nik2img(Download)
        self.method, self.proj = self.get_proj(self.srs)
        try:
            mapnik.Projection.__init__(self,self.proj)
        except RuntimeError, E:
            proj = None
            if proj:
                self.srid = self.srs
                mapnik.Projection.__init__(self,proj)
            else:
                raise RuntimeError('Sorry, that projection was not found.\nMapnik error: "%s"' % E)