Skip to content

Commit

Permalink
Change wkt to polygon
Browse files Browse the repository at this point in the history
  • Loading branch information
awarde96 committed Sep 18, 2024
1 parent 8a4b3ad commit 17476ba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions covjsonkit/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"shapefile": covjsonkit.encoder.Shapefile.Shapefile,
"frame": covjsonkit.encoder.Frame.Frame,
"path": covjsonkit.encoder.Path.Path,
"wkt": covjsonkit.encoder.Wkt.Wkt,
"polygon": covjsonkit.encoder.Wkt.Wkt,
}
features_decoder = {
"pointseries": covjsonkit.decoder.TimeSeries.TimeSeries,
Expand All @@ -35,7 +35,7 @@
"shapefile": covjsonkit.decoder.Shapefile.Shapefile,
"frame": covjsonkit.decoder.Frame.Frame,
"path": covjsonkit.decoder.Path.Path,
"wkt": covjsonkit.decoder.Wkt.Wkt,
"polygon": covjsonkit.decoder.Wkt.Wkt,
}


Expand Down
2 changes: 1 addition & 1 deletion covjsonkit/encoder/encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, type, domaintype):
self.domaintype = DomainType.point_series
elif domaintype == "multipoint":
self.domaintype = DomainType.multi_point
elif domaintype == "wkt":
elif domaintype == "polygon":
self.domaintype = DomainType.multi_point
elif domaintype == "boundingbox":
self.domaintype = DomainType.multi_point
Expand Down
2 changes: 1 addition & 1 deletion covjsonkit/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.21"
__version__ = "0.0.22"

0 comments on commit 17476ba

Please sign in to comment.