Skip to content

Commit

Permalink
I changed SRID for INP file from 4326 to UTM coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin IGARASHI committed Oct 4, 2020
1 parent 48fec1d commit 2af1219
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '2'
services:
python:
image: wasac/postgis2epanet:v2.0.0
image: wasac/postgis2epanet:v2.0.1
# build: .
environment:
- db_user=postgres
Expand Down
4 changes: 2 additions & 2 deletions epanet/coordinates.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def create_header_coordinates(f):
def add_coordinate(self, f):
f.writelines(" {0}\t{1}\t{2}\n"
.format("{0}\t".format(self.id).expandtabs(20),
"{0}\t".format(self.lon).expandtabs(16),
"{0}\t".format(self.lat).expandtabs(16)))
"{0}\t".format(self.lon_utm).expandtabs(16),
"{0}\t".format(self.lat_utm).expandtabs(16)))

def __init__(self, wss_id):
super().__init__("junctions", wss_id)
Expand Down

0 comments on commit 2af1219

Please sign in to comment.