Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1514 from mapnik/conv_simplify
Conv simplify
- Loading branch information
Showing
20 changed files
with
622 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#ifndef MAPNIK_SIMPLIFY_HPP | ||
#define MAPNIK_SIMPLIFY_HPP | ||
|
||
#include <mapnik/debug.hpp> | ||
|
||
// Boost | ||
#include <boost/optional.hpp> | ||
|
||
namespace mapnik | ||
{ | ||
|
||
enum simplify_algorithm_e | ||
{ | ||
radial_distance = 0, | ||
douglas_peucker, | ||
visvalingam_whyatt, | ||
zhao_saalfeld | ||
}; | ||
|
||
MAPNIK_DECL boost::optional<simplify_algorithm_e> simplify_algorithm_from_string(std::string const& name); | ||
MAPNIK_DECL boost::optional<std::string> simplify_algorithm_to_string(simplify_algorithm_e algorithm); | ||
|
||
} | ||
|
||
#endif // MAPNIK_SIMPLIFY_HPP |
Oops, something went wrong.