GenericMappingTools / gmtserver-admin

Cache data and script for managing the GMT data server
GNU Lesser General Public License v3.0
7 stars 3 forks source link

Add a sample shapefile to cache #142

Closed seisman closed 2 years ago

seisman commented 2 years ago

Address https://github.com/GenericMappingTools/pygmt/pull/1695#issuecomment-1007630986.

This PR adds a shapefile to the GMT cache, so that it can be used in PyGMT tests (https://github.com/GenericMappingTools/pygmt/pull/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