Skip to content

Commit

Permalink
Merge pull request #1745 from tfardet/natural-earth-files
Browse files Browse the repository at this point in the history
IO - Add .prj and .cpg to NaturalEarth unzipped files
  • Loading branch information
greglucas authored Mar 12, 2021
2 parents 8b106fe + 6d787b0 commit 2a5c843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cartopy/io/shapereader.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def zip_file_contents(self, format_dict):
natural earth zip file.
"""
for ext in ['.shp', '.dbf', '.shx']:
for ext in ['.shp', '.dbf', '.shx', '.prj', '.cpg']:
yield ('ne_{resolution}_{name}'
'{extension}'.format(extension=ext, **format_dict))

Expand Down

0 comments on commit 2a5c843

Please sign in to comment.