Skip to content

Commit eb27dd6

Browse files
authored
Update README.md
1 parent 02be955 commit eb27dd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,10 @@ This function always returns a list in the form `[[X, Y, 'UID'], ...]`.
232232
>>> my_prefix
233233
[[16.776031, -3.005612, 'm:XS:97389:67626:1']]
234234
# Create UIDs from a CSV file
235-
>>> grid_from_csv = pyutm.Grid('my_points.csv', column=['LON', 'LAT'])
235+
>>> grid_from_csv = pyutm.Grid('my_points.csv', columns=['LON', 'LAT'])
236236
# Add prefixes to the UIDs using values in a column of the input CSV
237237
# and write the UIDs to a new CSV with a custom column name
238-
>>> grid_from_csv.write_refs('my_uids.csv', column='MY_UIDS', prefix_column='MY_PREFIXES')
238+
>>> grid_from_csv.write_uids('my_uids.csv', column='MY_UIDS', prefix_column='MY_PREFIXES')
239239
# Create UIDs from a shapefile
240240
>>> grid_from_shp = pyutm.Grid('my_points.shp')
241241
# Decrease the precision and write the UIDs to a new shapefile.

0 commit comments

Comments
 (0)