Skip to content

Commit 72b6667

Browse files
committed
Remove 'expanded' + add 'definition' and 'description'
1 parent 687b2c7 commit 72b6667

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/mapnik_projection.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,10 @@ void export_projection ()
106106
.def ("params", make_function(&projection::params,
107107
return_value_policy<copy_const_reference>()),
108108
"Returns the PROJ string for this projection.\n")
109-
.def ("expanded",&projection::expanded,
110-
"normalize PROJ definition by expanding epsg:XXXX syntax\n")
109+
.def ("definition",&projection::definition,
110+
"Return projection definition\n")
111+
.def ("description", &projection::description,
112+
"Returns projection description")
111113
.add_property ("geographic", &projection::is_geographic,
112114
"This property is True if the projection is a geographic projection\n"
113115
"(i.e. it uses lon/lat coordinates)\n")

0 commit comments

Comments
 (0)