Commit e4ae576 1 parent 9bf2692 commit e4ae576 Copy full SHA for e4ae576
File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -29,17 +29,14 @@ jobs:
29
29
30
30
- name : Convert SHP to GeoJSON
31
31
run : |
32
- ogr2ogr -select admin,iso_a3 -f geojson ne_110m_admin_0_countries .geojson ne_110m_admin_0_countries/ne_110m_admin_0_countries.shp
32
+ ogr2ogr -select admin,iso_a3 -f geojson world-110m .geojson ne_110m_admin_0_countries/ne_110m_admin_0_countries.shp
33
33
34
34
- name : Output file
35
- run : echo "GeoJSON file created:"
36
-
37
- - name : Format file
38
35
run : |
39
- cat ne_110m_admin_0_countries.geojson | sed 's/"admin": /"name": /g' | sed 's/"iso_a3": /"ISO3166-1-Alpha-3": /g' > ne_110m_admin_0_countries .geojson
36
+ echo "GeoJSON file created: world-110m .geojson"
40
37
41
38
- name : Upload build artifact
42
39
uses : actions/upload-artifact@v2
43
40
with :
44
- name : geojson-output
45
- path : ne_110m_admin_0_countries .geojson
41
+ name : world-110m.geojson
42
+ path : world-110m .geojson
You can’t perform that action at this time.
0 commit comments