Skip to content

Commit 2a5c843

Browse files
authored
Merge pull request #1745 from tfardet/natural-earth-files
IO - Add .prj and .cpg to NaturalEarth unzipped files
2 parents 8b106fe + 6d787b0 commit 2a5c843

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cartopy/io/shapereader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def zip_file_contents(self, format_dict):
316316
natural earth zip file.
317317
318318
"""
319-
for ext in ['.shp', '.dbf', '.shx']:
319+
for ext in ['.shp', '.dbf', '.shx', '.prj', '.cpg']:
320320
yield ('ne_{resolution}_{name}'
321321
'{extension}'.format(extension=ext, **format_dict))
322322

0 commit comments

Comments
 (0)