Example #1
0
 def elevation_profile(self):
     if not self.geom:
         return []
     return elevation_profile(self.geom, maxitems=settings.PROFILE_MAXSIZE)
Example #2
0
 def get_elevation_profile(self):
     """
     Extract elevation profile from path.
     """
     return elevation_profile(self.geom, maxitems=settings.PROFILE_MAXSIZE)