Skip to content

Commit

Permalink
Update advance_use.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtekson committed Nov 10, 2022
1 parent dd2490d commit 8900162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/advance_use.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ The following code will first convert all the ``.rst`` data format inside ``C:\U
# geo.create_workspace('geonode')
for rst in rst_files:
file_name = os.path.basename(file_name)
file_name = os.path.basename(rst_files)
src = gdal.Open(rst)
tiff = r'C:\Users\tek\Desktop\try\{}'.format(file_name)
gdal.Translate(tiff, src)
geo.create_coveragestore(lyr_name=file_name, path=tiff, workspace='geonode') #, overwrite=True
geo.create_coveragestore(layer_name=file_name, path=tiff, workspace='geonode') #, overwrite=True

0 comments on commit 8900162

Please sign in to comment.