Skip to content

Commit

Permalink
Merge pull request #6 from iamtekson/dev
Browse files Browse the repository at this point in the history
classification style, max value not visualization solved: close #5
  • Loading branch information
iamtekson committed Jun 8, 2022
2 parents bed4fc5 + 12d72b6 commit 3230702
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pysld/classifiedStyle.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,11 @@ def classified_style(self):
try:
lower_limit = self.classes[i]
heigher_limit = self.classes[i + 1]

# In last set of rule, need to increase the value by 0.1 so that it will be visualize in system. #5
if i == self.number_of_class:
heigher_limit = self.classes[i+1] + 0.1

rule += self.classified_rule_generator(
lower_limit, heigher_limit, color)

Expand Down

0 comments on commit 3230702

Please sign in to comment.