Commit 2ff37bd7 authored by Kris Vanneste's avatar Kris Vanneste
Browse files

Added get_srs method to GisData.

git-svn-id: 40b490c5-b4d9-47cb-8714-9bef99b524d5
parent 37469311
......@@ -91,6 +91,17 @@ class GisData(BasemapData):
return read_gis_file_attributes(self.filespec)
def get_srs(self):
Read spatial reference system
instance of :class:`ogr.SpatialReferenceSystem`
from mapping.geotools.read_gis import read_gis_file_srs
return read_gis_file_srs(self.filespec)
def get_data(self, point_value_colnames=None, line_value_colnames=None,
polygon_value_colnames=None, layer_num=None, out_srs=WGS84):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment