Permalink
Browse files

Revert "+ fix parameters names to be more css-ish"

This reverts commit 5c5c4fb.
  • Loading branch information...
1 parent be5a2c1 commit 083ff236b7e8576376b60181156f885bfa633e2a @springmeyer springmeyer committed Sep 26, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 plugins/input/raster/raster_datasource.cpp
View
8 plugins/input/raster/raster_datasource.cpp
@@ -62,8 +62,8 @@ raster_datasource::raster_datasource(parameters const& params, bool bind)
filename_ = *file;
multi_tiles_ = *params_.get<bool>("multi", false);
- tile_size_ = *params_.get<unsigned>("tile-size", 256);
- tile_stride_ = *params_.get<unsigned>("tile-stride", 1);
+ tile_size_ = *params_.get<unsigned>("tile_size", 256);
+ tile_stride_ = *params_.get<unsigned>("tile_stride", 1);
format_ = *params_.get<std::string>("format","tiff");
@@ -100,8 +100,8 @@ void raster_datasource::bind() const
if (multi_tiles_)
{
- boost::optional<unsigned> x_width = params_.get<unsigned>("x-width");
- boost::optional<unsigned> y_width = params_.get<unsigned>("y-width");
+ boost::optional<unsigned> x_width = params_.get<unsigned>("x_width");
+ boost::optional<unsigned> y_width = params_.get<unsigned>("y_width");
if (! x_width)
{

0 comments on commit 083ff23

Please sign in to comment.