52North / IlwisCore

Integrated Land and Water Information System (ILWIS) is a remote sensing and GIS software. ILWIS Core is the functional center of ilwis4..
http://52north.org/communities/ilwis/
35 stars 13 forks source link

inconsistent resource properties setting/accessing #50

Closed ridoo closed 10 years ago

ridoo commented 10 years ago

When adding a new property to a resource the key is set as is. When accessing the value the key is transformed to lower characters. This results in not finding a parameter by

resource.addProperty("myProperty", "value");
resource.hasProperty("myProperty"); // returns false
resource.hasProperty("myproperty"); // returns true

Transforming the key to lower characters would fix this issue.