python - How to load mapinfo file into geopandas -
i suspect trivial question answer how load mapinfo mid/mif files geopandas?
while it's trivial load , manipulate .shp files, can't work out code use:
here's few examples of data i'm trying play with: http://www.stoke.gov.uk/ccm/content/business/general/open-geospatial-consortium-data-catalogue.en
cylpaths = geopandas.geodataframe.from_file(path)
i tried test geometry, shows:
cylpaths.crs out[15]: {u'ellps': u'airy', u'k': 0.9996012717, u'lat_0': 49, u'lon_0': -2, u'no_defs': true, u'proj': u'tmerc', u'towgs84': u'375,-111,431,-0,-0,-0,0', u'units': u'm', u'x_0': 400000, u'y_0': -100000}
but when try preview data, empty dataframe:
cylpaths out[16]: int64index([], dtype='int64') empty geodataframe
i'm bit lost in working out need next.
Comments
Post a Comment