use of com.revolsys.geometry.cs.SingleParameterName in project com.revolsys.open by revolsys.
the class EsriCoordinateSystems method readParameters.
private static Map<ParameterName, ParameterValue> readParameters(final ChannelReader reader) {
final byte parameterCount = reader.getByte();
final Map<ParameterName, ParameterValue> parameters = new LinkedHashMap<>();
for (int i = 0; i < parameterCount; i++) {
final String name = reader.getStringUtf8ByteCount();
final String value = reader.getStringUtf8ByteCount();
final ParameterName parameterName = new SingleParameterName(name);
final ParameterValue parameterValue = new ParameterValueBigDecimal(value);
parameters.put(parameterName, parameterValue);
}
return parameters;
}
Aggregations