Skip to content

Add a sample shapefile to cache - #142

Merged
seisman merged 1 commit into
masterfrom
cache-shapefile
Feb 27, 2022
Merged

seisman merged 1 commit into
masterfrom
cache-shapefile

Conversation

@seisman

@seisman seisman commented Feb 26, 2022 •

Copy link
Copy Markdown
Member

Address GenericMappingTools/pygmt#1695 (comment).

This PR adds a shapefile to the GMT cache, so that it can be used in PyGMT tests (GenericMappingTools/pygmt#1695) and can also be used to speed up GMT's test (https://github.com/GenericMappingTools/gmt/blob/master/test/psxy/categorical.sh).

The shapefile is generated by the following command:

test_data=`gmt which -Gl @RidgeTest.gmt`
ogr2ogr -f "ESRI Shapefile" RidgeTest.shp $test_data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants