Need to read a shp inside python notebook

I need to read a shapefile in my python notebook to help in my analysis.

I could do it with basemap (need the file locally) or with cartopy online reader.

The first one I would need the file locally. Is it possible to do so?

The second one raises me this error: OSError: [Errno 30] Read-only file system: '/home/yls/.local'

How can I read shapefile inputs to help me with the data I processed in modeanalytics?

1reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Hi Leticia Portella - thanks for writing in and apologies for the delayed response. 

    While the integrated notebook environment cannot host files directly, you use the Python Requests library to access files hosted elsewhere on the internet and download their contents into your notebook session for use in your analysis.

    Hope this helps - please let us know if you have additional questions.

    Reply Like
Like1 Follow
  • Status Answered
  • 10 mths agoLast active
  • 1Replies
  • 723Views
  • 3 Following