Results 1 to 3 of 3

Thread: python methods for shapefiles?

  1. #1
    Join Date
    Mar 2007
    Beans
    313

    python methods for shapefiles?

    Hi!

    I would like to learn how to read shape-files from within python scripts, so that I can grab the coordinates (e.g. of country polygons) for plotting and some manipulation (e.g. with shapely). I have read that "fiona" is a good package, and it looks neat, but doesn't exist in the Ubuntu repositories. I can install myself, but before I go too far with this I wonder if there are better alternatives for Ubuntu?

    Mainly I am keen to plot spatial data above coastline maps of different pafrts of the World, and prefer not to use "mapping" packages such as basemap, GMT, cartopy, etc - but all coastline maps seem to come as shapefiles.

    Thanks for any tips.

  2. #2
    Join Date
    May 2007
    Location
    North Carolina, USA
    Beans
    114
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: python methods for shapefiles?

    Synaptic shows python-pyshp, described as read/write support for ESRI shapefile format.

  3. #3
    Join Date
    Mar 2007
    Beans
    313

    Re: python methods for shapefiles?

    Thanks, I'll check it out too.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •