Skip to content

Commit

Permalink
#123 fix issue with S1_Sinks.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
webgisdeveloper committed Apr 20, 2021
1 parent a8961ca commit 6ba20bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simccs_maptool/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def _transform_file(self, input_file, dataset_type, content_type):

def _transform_text_file(self, input_file):
# assume the delimiter is "tab"
rawdata = pd.read_csv(input_file, sep="\t")
rawdata = pd.read_csv(input_file, sep="\t",index_col=False)
# convert to a geopandas object
geodata = gpd.GeoDataFrame(
rawdata, geometry=gpd.points_from_xy(rawdata.LON, rawdata.LAT)
Expand Down

0 comments on commit 6ba20bc

Please sign in to comment.