rpc_mapproject: Rewrite transform part